Sourced from platformdirs's releases.
4.11.1
What's Changed
- Let the non-ctypes resolvers find the desktop folder by
@​darrenhuaiin tox-dev/platformdirs#519New Contributors
@​darrenhuaimade their first contribution in tox-dev/platformdirs#519Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.11.0...4.11.1
Sourced from platformdirs's changelog.
########### Changelog ###########
.. towncrier-draft-entries:: Unreleased
.. towncrier release notes start
4.11.2 (2026-08-10)
- Stop :meth:
~platformdirs.PlatformDirs.iter_cache_dirs, :meth:~platformdirs.PlatformDirs.iter_state_dirs, :meth:~platformdirs.PlatformDirs.iter_log_dirsand :meth:~platformdirs.PlatformDirs.iter_runtime_dirsyielding the same directory twice on Unix whenuse_site_for_rootis active - :pr:469fixed this for the config and data iterators only. On macOS, :meth:~platformdirs.PlatformDirs.iter_cache_dirsnow yields the Homebrew and/Library/Cachesentries separately rather than oneos.pathsep-joined string whenmultipathis set. :pr:520
4.11.1 (2026-08-07)
- Fix :func:
~platformdirs.user_desktop_diron Windows builds withoutctypes.CSIDL_DESKTOPDIRECTORYappeared only in the ctypes lookup table, so the registry and environment variable resolvers raisedValueErrorfor it. :pr:519
4.11.0 (2026-07-21)
- Declare support for Python 3.15 and run the test suite against it, currently in beta. :pr:
512
4.10.1 (2026-07-18)
- Stop leaking memory on repeated Windows folder lookups.
get_win_folder_via_ctypesdefined a freshctypesstructure on every call, and each one registered a pointer type that was never released; the resolver is now built once and reused. :pr:507
4.10.0 (2026-05-28)
- Add :func:
~platformdirs.user_publicshare_dir, :func:~platformdirs.user_templates_dir, :func:~platformdirs.user_fonts_dir, and :func:~platformdirs.user_preference_dir:pr:491- Add :func:
~platformdirs.user_projects_dirbacked by$XDG_PROJECTS_DIR:pr:490- Return only the first path from :func:
~platformdirs.site_config_pathon macOS whenmultipathis set :pr:488- by :user:lphuc2250gma
... (truncated)
a9f2ba9
Release 4.11.130a9549
Let the non-ctypes resolvers find the desktop folder (#519)cc97359
build(deps): bump pypa/gh-action-pypi-publish from 1.14.1 to 1.14.2 in
the al...328e15d
[pre-commit.ci] pre-commit autoupdate (#517)76fd346
build(deps): bump astral-sh/setup-uv from 8.3.2 to 9.0.0 in the all
group (#516)13a531d
[pre-commit.ci] pre-commit autoupdate (#515)070777b
build(deps): bump pypa/gh-action-pypi-publish from 1.14.0 to 1.14.1 in
the al...5d09cb0
build(deps): bump actions/checkout from 7.0.0 to 7.0.1 in the all group
(#513)