Repository navigation
Immutable
release. Only release title and notes can be modified.
Bug fixes
- Check Unix runtime directory parents, including sticky directories and symlink targets. Recheck the path after creating a missing XDG runtime directory (#738) by @gaborbernat.
- Check symlinks and entries in shared parents when creating POSIX user directories. Shared sticky directories must belong to root or the caller. Support system-owned Android paths and group-writable container homes (#741) by @gaborbernat.
- Check the parents of the temporary Unix runtime directory. A lookup accepts an existing group-writable fallback. File searches skip it until
ensure_existsrepairs its permissions. Raise an error if no safe temporary base is available (#744) by @gaborbernat. - Create deeply nested directories without reaching Python's recursion limit (#733) by @gaborbernat.
- Ignore Windows UNC folder overrides with a missing server or share, or with
.or..as either name (#724) by @mansur-akhmadi and @gaborbernat. - Keep the newest active
isolated_dirs()root when overlapping contexts close out of order (#729) by @gaborbernat. - On macOS, validate the XDG runtime directory and its parents for both user and site paths. File placement and search use the native fallback when the override is unusable (#745) by @gaborbernat.
- Read Unix media settings from a trusted
user-dirs.dirsfile, including under a group-writable~/.config. Create configured media directories with mode0775subject to the umask (#740) by @gaborbernat. - Root can look up existing service-owned Unix site directories. Creating directories or placing files requires a root-owned path. Group-writable ancestors are allowed. New directories use mode
0755subject to the umask (#742) by @gaborbernat. - Use root's password database home for Unix media and fonts when root redirection is active and
HOMEis unset, empty or relative (#730) by @gaborbernat. - Use the same Unix site runtime fallback for lookup and creation when the XDG override fails validation. With root redirection,
site_runtime_dircreates a missingXDG_RUNTIME_DIRwith mode0700whenensure_exists=True. Find runtime files in valid fallbacks and in directories selected by root redirection or test isolation (#745) by @gaborbernat.
Performance
- Defer imports on Python 3.15 to reduce startup work (#722) by @gaborbernat.
New Contributors
- @mansur-akhmadi made their first contribution in #724