cdf488f
Merge pull request #4107
from github/update-v4.37.9-920ba7cd17243f38
Update changelog for v4.37.9920ba7c
Merge pull request #4106
from github/update-bundle/codeql-bundle-v2.26.4ecfa6e1
Add changelog noteadcdf4a
Update default bundle to codeql-bundle-v2.26.4486fec2
Merge pull request #4099
from github/update-supported-enterprise-server-versions134624c
Merge pull request #4101
from github/dependabot/npm_and_yarn/npm-minor-457d82...ff43db8
Merge pull request #4103
from github/mergeback/v4.37.8-to-main-db488dde4605e03
Rebuild099c869
Update changelog and version after v4.37.8Sourced from platformdirs's releases.
4.11.5
What's Changed
- docs: fix the iterator order claim in api.rst by
@gaborbernatin tox-dev/platformdirs#533- fix: return one site applications path for multipath by
@tunglambkin tox-dev/platformdirs#532- fix: accept app arguments in the applications functions by
@gaborbernatin tox-dev/platformdirs#534- refactor: keyword-only booleans on the applications functions by
@gaborbernatin tox-dev/platformdirs#535- fix: accept app arguments in user_preference_dir by
@dylanpulverin tox-dev/platformdirs#531New Contributors
@tunglambkmade their first contribution in tox-dev/platformdirs#532@dylanpulvermade their first contribution in tox-dev/platformdirs#531Full Changelog: https://github.com/tox-dev/platformdirs/compare/4.11.4...4.11.5
Sourced from platformdirs's changelog.
########### Changelog ###########
.. towncrier-draft-entries:: Unreleased
.. towncrier release notes start
4.11.5 (2026-08-27)
- Give :func:
~platformdirs.user_preference_dirand :func:~platformdirs.user_preference_paththe same arguments as :func:~platformdirs.user_config_dir. Added without arguments in :pr:491, they could only return the unscoped base directory even though the property they wrap appends the app name and version. :pr:531- Make :func:
~platformdirs.site_applications_pathreturn the first entry whenmultipath=True, matching :func:~platformdirs.site_data_path. On Unix and macOS it passed the whole$XDG_DATA_DIRSlist to :class:~pathlib.Path, giving one unusable path such as/first/applications:/second/applications. :pr:532- Give :func:
~platformdirs.user_applications_dir, :func:~platformdirs.user_applications_path, :func:~platformdirs.site_applications_dirand :func:~platformdirs.site_applications_paththe app arguments. Android scopes both applications directories to the app, so without them the functions could only return the unscoped base directory there. On the two site functions they are keyword-only, keepingmultipathfirst positional as it has been since 4.9.0; the two user functions take their boolean options keyword-only. :pr:534- Correct the ordering note on the iterator methods.
use_site_for_rootdrops the user directory entirely, so the iterators are documented as yielding the most specific directory first rather than always yielding the user one. :pr:533
4.11.4 (2026-08-24)
- Stop the
iter_*_dirsmethods yielding the same directory twice when a site directory resolves to its user equivalent - :pr:520covered only Unix withuse_site_for_root. It also hit :meth:~platformdirs.PlatformDirs.iter_runtime_dirson Unix with$XDG_RUNTIME_DIRset, on Windows and macOS, and all six iterators on Android. :pr:524- Fix the config merging example in the how-to guide.
iter_config_pathsyields the user directory first, so theconfig.updateloop let the site defaults override the user's config instead of the other way round. :pr:529
4.11.3 (2026-08-13)
python -m platformdirsnow lists :func:~platformdirs.user_desktop_dir, which was missing from the properties it prints. :pr:523- Stop :func:
~platformdirs.site_data_dir, :func:~platformdirs.site_config_dirand :func:~platformdirs.site_applications_dirraisingIndexErroron Unix and macOS when$XDG_DATA_DIRSor$XDG_CONFIG_DIRSholds only separators and whitespace, such as":". These values now fall back to the platform defaults, and each entry is stripped of surrounding whitespace. :pr:523
4.11.2 (2026-08-10)
... (truncated)
bd77b0d
Release 4.11.52a3ab96
fix: accept app arguments in user_preference_dir (#531)56a9bc7
refactor: keyword-only booleans on the applications functions (#535)8147f77
fix: accept app arguments in the applications functions (#534)8ea7338
fix: return one site applications path for multipath (#532)4d4279f
docs: fix the iterator order claim in api.rst (#533)babf239
[pre-commit.ci] pre-commit autoupdate (#530)