Features
- Give
user_preference_diranduser_preference_paththe same arguments asuser_config_dir. The functions were introduced in 4.10.0 without arguments, so they could only return the unscoped base directory even though the property they wrap appends the app name and version. #491 #531 by @gaborbernat and @dylanpulver. - Give
user_applications_dir,user_applications_path,site_applications_dirandsite_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. #534 by @gaborbernat.
Bug fixes
- Make
site_applications_pathreturn the first entry whenmultipath=True, matchingsite_data_path. On Unix and macOS it passed the whole$XDG_DATA_DIRSlist toPath, giving one unusable path such as/first/applications:/second/applications. #532 by @tunglambk and @gaborbernat.
Documentation
- 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. #533 by @gaborbernat.
New Contributors
- @dylanpulver made their first contribution in #531
- @tunglambk made their first contribution in #532