On Unix, getUserDownloadDir() now returns the result of xdg-user-dir DOWNLOAD. If executing the command failed, it then returns the content of XDG_DOWNLOAD_DIR environment variable as a fallback. #145
It does not affect end-user environments (I think), but it could affect some environments like automated testing on a docker, etc..
On GitHub Actions, for example, I had to run xdg-user-dirs-update before executing the tests (see 0b0eace ).
Full Changelog: appdirs-1.4.0...appdirs-1.5.0