---
title: "platformdirs 4.14.8 Breaking Changes on PyPI | Since.dev"
description: "What each platformdirs release removed, renamed or changed: 87 breaking changes in 19 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/platformdirs
last_updated: 2026-12-04
---

# platformdirs breaking changes

platformdirs 4.14.8 (November 20, 2026) is its newest release with breaking changes. The first: Signature changed platformdirs.PlatformDirs. Every breaking API change we have recorded in platformdirs on PyPI: 87 breaking changes in 19 versions. Below, its 19 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.14.9`, released November 27, 2026. [Source repository](https://github.com/tox-dev/platformdirs)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [3.0.0](#v-3-0-0) to [4.14.8](#v-4-14-8): 84 breaking changes in 18 versions.

## platformdirs 4.14.8 breaking changes

platformdirs 4.14.8, released November 20, 2026: 1 breaking change.

- **Signature changed** `platformdirs.PlatformDirs`  

Was PlatformDirs; now class Unix(XDGMixin, \_UnixDefaults). [pypi.org](https://pypi.org/project/platformdirs/4.14.8/)

## platformdirs 4.14.6 breaking changes

platformdirs 4.14.6, released November 17, 2026: 20 breaking changes.

- **Signature changed** `platformdirs.user_desktop_dir`  

Was def user_desktop_dir(\*, ensure_exists: bool = False) -> str; now def user_desktop_dir(\*, ensure_exists: bool = False, use_site_for_root: bool = False) -> str. [pypi.org](https://pypi.org/project/platformdirs/4.14.6/)
- **Signature changed** `platformdirs.user_desktop_path`  

Was def user_desktop_path(\*, ensure_exists: bool = False) -> Path; now def user_desktop_path(\*, ensure_exists: bool = False, use_site_for_root: bool = False) -> Path. [pypi.org](https://pypi.org/project/platformdirs/4.14.6/)
- **Signature changed** `platformdirs.user_documents_dir`  

Was def user_documents_dir(\*, ensure_exists: bool = False) -> str; now def user_documents_dir(\*, ensure_exists: bool = False, use_site_for_root: bool = False) -> str. [pypi.org](https://pypi.org/project/platformdirs/4.14.6/)
- **Signature changed** `platformdirs.user_documents_path`  

Was def user_documents_path(\*, ensure_exists: bool = False) -> Path; now def user_documents_path(\*, ensure_exists: bool = False, use_site_for_root: bool = False) -> Path. [pypi.org](https://pypi.org/project/platformdirs/4.14.6/)
- **Signature changed** `platformdirs.user_downloads_dir`  

Was def user_downloads_dir(\*, ensure_exists: bool = False) -> str; now def user_downloads_dir(\*, ensure_exists: bool = False, use_site_for_root: bool = False) -> str. [pypi.org](https://pypi.org/project/platformdirs/4.14.6/)
- **Signature changed** `platformdirs.user_downloads_path`  

Was def user_downloads_path(\*, ensure_exists: bool = False) -> Path; now def user_downloads_path(\*, ensure_exists: bool = False, use_site_for_root: bool = False) -> Path. [pypi.org](https://pypi.org/project/platformdirs/4.14.6/)
- **Signature changed** `platformdirs.user_fonts_dir`  

Was def user_fonts_dir() -> str; now def user_fonts_dir(\*, use_site_for_root: bool = False) -> str. [pypi.org](https://pypi.org/project/platformdirs/4.14.6/)
- **Signature changed** `platformdirs.user_fonts_path`  

Was def user_fonts_path() -> Path; now def user_fonts_path(\*, use_site_for_root: bool = False) -> Path. [pypi.org](https://pypi.org/project/platformdirs/4.14.6/)
- **Signature changed** `platformdirs.user_music_dir`  

Was def user_music_dir(\*, ensure_exists: bool = False) -> str; now def user_music_dir(\*, ensure_exists: bool = False, use_site_for_root: bool = False) -> str. [pypi.org](https://pypi.org/project/platformdirs/4.14.6/)
- **Signature changed** `platformdirs.user_music_path`  

Was def user_music_path(\*, ensure_exists: bool = False) -> Path; now def user_music_path(\*, ensure_exists: bool = False, use_site_for_root: bool = False) -> Path. [pypi.org](https://pypi.org/project/platformdirs/4.14.6/)

And 10 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## platformdirs 4.14.3 breaking changes

platformdirs 4.14.3, released November 1, 2026: 1 breaking change.

- **Behavior changed**  

Absolute XDG directory values now keep trailing whitespace rather than resolving to a different directory. Code that relied on the old trimmed path may now resolve a different directory. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.14.3)

## platformdirs 4.14.0 breaking changes

platformdirs 4.14.0, released October 28, 2026: 21 breaking changes.

- **Behavior changed** `site_data_dir`  

With multipath=True, appname or version containing os.pathsep now raises ValueError instead of returning a string that splits outside the site base. Callers passing such values must change them. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.14.0)
- **Behavior changed** `user_documents_dir`  

User directories are no longer resolved against the working directory when HOME is relative. The home comes from the password database, or RuntimeError is raised. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.14.0)
- **Behavior changed** `user_runtime_dir`  

user_runtime_dir now refuses a symlink as XDG_RUNTIME_DIR when the value ends with / or /. instead of following it. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.14.0)
- **Signature changed** `platformdirs.user_desktop_dir`  

Was def user_desktop_dir() -> str; now def user_desktop_dir(\*, ensure_exists: bool = False) -> str. [pypi.org](https://pypi.org/project/platformdirs/4.14.0/)
- **Signature changed** `platformdirs.user_desktop_path`  

Was def user_desktop_path() -> Path; now def user_desktop_path(\*, ensure_exists: bool = False) -> Path. [pypi.org](https://pypi.org/project/platformdirs/4.14.0/)
- **Signature changed** `platformdirs.user_documents_dir`  

Was def user_documents_dir() -> str; now def user_documents_dir(\*, ensure_exists: bool = False) -> str. [pypi.org](https://pypi.org/project/platformdirs/4.14.0/)
- **Signature changed** `platformdirs.user_documents_path`  

Was def user_documents_path() -> Path; now def user_documents_path(\*, ensure_exists: bool = False) -> Path. [pypi.org](https://pypi.org/project/platformdirs/4.14.0/)
- **Signature changed** `platformdirs.user_downloads_dir`  

Was def user_downloads_dir() -> str; now def user_downloads_dir(\*, ensure_exists: bool = False) -> str. [pypi.org](https://pypi.org/project/platformdirs/4.14.0/)
- **Signature changed** `platformdirs.user_downloads_path`  

Was def user_downloads_path() -> Path; now def user_downloads_path(\*, ensure_exists: bool = False) -> Path. [pypi.org](https://pypi.org/project/platformdirs/4.14.0/)
- **Signature changed** `platformdirs.user_music_dir`  

Was def user_music_dir() -> str; now def user_music_dir(\*, ensure_exists: bool = False) -> str. [pypi.org](https://pypi.org/project/platformdirs/4.14.0/)

And 11 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## platformdirs 4.13.4 breaking changes

platformdirs 4.13.4, released October 17, 2026: 2 breaking changes.

- **Behavior changed**  

On Windows, the Projects directory lookup now raises RuntimeError when the home directory cannot be resolved, instead of returning a path rooted at a literal \~. Code that relied on that path must handle the exception. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.13.4)
- **Behavior changed**  

On iOS, directory lookups now raise RuntimeError when the home directory cannot be resolved, instead of returning paths rooted at a literal \~. Code that relied on those paths must handle the exception. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.13.4)

## platformdirs 4.12.4 breaking changes

platformdirs 4.12.4, released October 7, 2026: 1 breaking change.

- **Signature changed** `platformdirs.testing.isolated_dirs`  

Was def isolated_dirs(root: str | os.PathLike\[str\]) -> Iterator\[Path\]; now def isolated_dirs(root: str | os.PathLike\[str\]) -> Generator\[Path, None, None\]. [pypi.org](https://pypi.org/project/platformdirs/4.12.4/)

## Older versions

13 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### platformdirs 4.12.0 breaking changes

platformdirs 4.12.0, released September 26, 2026: 6 breaking changes.

- **Behavior changed**  

On iOS, directories now follow the app container layout, such as \~/Library/Application Support for data, which changes where existing code finds its files. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.12.0)
- **Behavior changed** `ensure_exists`  

On POSIX platforms, ensure_exists now creates missing user app directories and their parents with mode 0700. Code that relies on the previous permissions must be checked. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.12.0)

And 4 more in this version.

### platformdirs 4.11.15 breaking changes

platformdirs 4.11.15, released September 26, 2026: 2 breaking changes.

- **Behavior changed**  

Android shared-storage directories now sit under the current user's /storage/emulated/\<user id> rather than user 0's. Code that expects the user 0 path will see a different location. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.11.15)
- **Behavior changed**  

Android video and five non-standard media folders now resolve to Movies and Documents instead of their previous locations. Code that depends on the old paths must be updated. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.11.15)

### platformdirs 4.11.14 breaking changes

platformdirs 4.11.14, released September 25, 2026: 8 breaking changes.

- **Behavior changed**  

The Unix runtime-\<uid> temporary fallback is created with mode 0700 and is rejected if another user owns it. Code relying on looser permissions or other owners must adapt. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.11.14)
- **Behavior changed** `appauthor`  

Setting appauthor after construction now raises when the value leaves the base directory. Code that sets such values must be changed. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.11.14)

And 6 more in this version.

### platformdirs 4.11.11 breaking changes

platformdirs 4.11.11, released September 19, 2026: 1 breaking change.

- **Behavior changed**  

Values for appname, appauthor and version that leave the platform base directory now raise ValueError instead of being accepted. Code passing such values must change them to plain names. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.11.11)

### platformdirs 4.11.9 breaking changes

platformdirs 4.11.9, released September 16, 2026: 4 breaking changes.

- **Behavior changed** `Android`  

When the app folder cannot be found, Android directories now raise RuntimeError rather than TypeError, so code catching TypeError must catch RuntimeError instead. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.11.9)
- **Behavior changed** `user_documents_dir`  

Parsing of user-dirs.dirs now returns the unescaped quoted value and ignores text after the closing quote, so code that relied on the old raw values may see different paths. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.11.9)

And 2 more in this version.

### platformdirs 4.11.8 breaking changes

platformdirs 4.11.8, released September 8, 2026: 1 breaking change.

- **Behavior changed**  

Relative entries in XDG_DATA_DIRS and XDG_CONFIG_DIRS are skipped, so code that relied on a relative path there will now get the fallback directory instead. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.11.8)

### platformdirs 4.11.6 breaking changes

platformdirs 4.11.6, released September 1, 2026: 2 breaking changes.

- **Signature changed** `platformdirs.user_bin_dir`  

Was def user_bin_dir() -> str; now def user_bin_dir(\*, use_site_for_root: bool = False) -> str. [pypi.org](https://pypi.org/project/platformdirs/4.11.6/)
- **Signature changed** `platformdirs.user_bin_path`  

Was def user_bin_path() -> Path; now def user_bin_path(\*, use_site_for_root: bool = False) -> Path. [pypi.org](https://pypi.org/project/platformdirs/4.11.6/)

### platformdirs 4.11.5 breaking changes

platformdirs 4.11.5, released August 27, 2026: 6 breaking changes.

- **Signature changed** `platformdirs.site_applications_dir`  

Was def site_applications_dir(multipath: bool = False, ensure_exists: bool = False) -> str; now def site_applications_dir(multipath: bool = False, ensure_exists: bool = False, \*, appname: str | None = None, appauthor: str | Literal\[False\]... [pypi.org](https://pypi.org/project/platformdirs/4.11.5/)
- **Signature changed** `platformdirs.site_applications_path`  

Was def site_applications_path(multipath: bool = False, ensure_exists: bool = False) -> Path; now def site_applications_path(multipath: bool = False, ensure_exists: bool = False, \*, appname: str | None = None, appauthor: str |... [pypi.org](https://pypi.org/project/platformdirs/4.11.5/)

And 4 more in this version.

### platformdirs 4.11.2 breaking changes

platformdirs 4.11.2, released August 10, 2026: 1 breaking change.

- **Behavior changed** `iter_cache_dirs`  

With multipath set on macOS, iter_cache_dirs now yields each entry separately instead of one os.pathsep-joined string. Code that split or parsed the joined string must be updated. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.11.2)

### platformdirs 4.10.0 breaking changes

platformdirs 4.10.0, released May 28, 2026: 1 breaking change.

- **Behavior changed** `site_config_path`  

With multipath set, site_config_path on macOS now returns only the first path instead of all of them. Code that relied on the full list must be updated. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.10.0)

### platformdirs 4.9.6 breaking changes

platformdirs 4.9.6, released April 9, 2026: 5 breaking changes.

- **Signature changed** `platformdirs.__version_info__`  

Was \_\_version_tuple\_\_: VERSION_TUPLE; now \_\_version_tuple\_\_: tuple\[int | str, ...\]. [pypi.org](https://pypi.org/project/platformdirs/4.9.6/)
- **Signature changed** `platformdirs.version.__commit_id__`  

Was \_\_commit_id\_\_: COMMIT_ID; now \_\_commit_id\_\_: str | None. [pypi.org](https://pypi.org/project/platformdirs/4.9.6/)

And 3 more in this version.

### platformdirs 4.0.0 breaking changes

platformdirs 4.0.0, released November 10, 2023: 1 breaking change.

- **Behavior changed** `site_cache_dir`  

On UNIX, site_cache_dir reverts to /var/cache instead of /var/tmp as in 3.11.0. Code that depends on the /var/tmp path must be updated. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/4.0.0)

### platformdirs 3.0.0 breaking changes

platformdirs 3.0.0, released February 6, 2023: 3 breaking changes.

- **Behavior changed** `site_config_dir`  

On macOS, site_config_dir now resolves under \*/Library/Application Support to mirror the data dirs. Code that relied on the old location must be updated. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/3.0.0)
- **Behavior changed** `user_config_dir`  

On macOS, user_config_dir now resolves under \*/Library/Application Support to mirror the data dirs. Code that relied on the old config location must be updated. [github.com](https://github.com/tox-dev/platformdirs/releases/tag/3.0.0)

And 1 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
