send2trash breaking changes
send2trash 2.0.0 (December 31, 2025) is its newest release with breaking changes, 16 of them. The first: Send2Trash 2.0.0 drops support for Python 2. Every breaking API change we have recorded in send2trash on PyPI: 16 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.2.0, released November 12, 2026. Source repository
Its 2.0.0 release drops Python 2. Python end of life dates.
send2trash 2.0.0 breaking changes
- Removed
Python 2 is no longer supported in this release. Code running on Python 2 must stay on 1.8.3 or move to Python 3. github.com - Removed
send2trash.compat
send2trash.compat was removed in Send2Trash 2.0.0 pypi.org - Removed
send2trash.exceptions.PY3
send2trash.exceptions.PY3 was removed in Send2Trash 2.0.0 pypi.org - Removed
send2trash.mac.legacy.binary_type
send2trash.mac.legacy.binary_type was removed in Send2Trash 2.0.0 pypi.org - Removed
send2trash.mac.modern.text_type
send2trash.mac.modern.text_type was removed in Send2Trash 2.0.0 pypi.org - Removed
send2trash.plat_other.environb
send2trash.plat_other.environb was removed in Send2Trash 2.0.0 pypi.org - Removed
send2trash.plat_other.fsdecode
send2trash.plat_other.fsdecode was removed in Send2Trash 2.0.0 pypi.org - Removed
send2trash.plat_other.fsencode
send2trash.plat_other.fsencode was removed in Send2Trash 2.0.0 pypi.org - Removed
send2trash.plat_other.text_type
send2trash.plat_other.text_type was removed in Send2Trash 2.0.0 pypi.org - Removed
send2trash.util.binary_type
send2trash.util.binary_type was removed in Send2Trash 2.0.0 pypi.org - Removed
send2trash.util.iterable_type
send2trash.util.iterable_type was removed in Send2Trash 2.0.0 pypi.org - Removed
send2trash.util.text_type
send2trash.util.text_type was removed in Send2Trash 2.0.0 pypi.org - Removed
send2trash.win.legacy.text_type
send2trash.win.legacy.text_type was removed in Send2Trash 2.0.0 pypi.org - Removed
send2trash.win.modern.text_type
send2trash.win.modern.text_type was removed in Send2Trash 2.0.0 pypi.org - Signature changed
send2trash.plat_other.check_create
Was def check_create(dir); now def check_create(folder). pypi.org - Signature changed
send2trash.TrashPermissionError
Was class TrashPermissionError(_permission_error); now class TrashPermissionError(PermissionError). pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.