Xdg-base-dirs

Latest version: v6.0.2

Safety actively analyzes 683322 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

6.0.2

What's Changed
* Use GitHub's alert syntax for rename warning by srstevenson in https://github.com/srstevenson/xdg-base-dirs/pull/184
* Bump ruff from 0.0.290 to 0.0.291 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/185
* Bump poethepoet from 0.22.1 to 0.23.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/186
* Bump ruff from 0.0.291 to 0.0.292 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/187
* Bump poethepoet from 0.23.0 to 0.24.1 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/189
* Bump ruff from 0.0.292 to 0.1.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/191
* Bump mypy from 1.5.1 to 1.6.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/190
* Bump black from 23.9.1 to 23.10.1 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/192
* Bump mypy from 1.6.0 to 1.6.1 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/193
* Bump ruff from 0.1.0 to 0.1.1 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/194
* Bump ruff from 0.1.1 to 0.1.3 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/195
* Bump pytest from 7.4.2 to 7.4.3 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/196
* Bump poethepoet from 0.24.1 to 0.24.2 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/197
* Bump ruff from 0.1.3 to 0.1.4 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/198
* Bump mypy from 1.6.1 to 1.7.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/202
* Bump black from 23.10.1 to 23.11.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/199
* Bump poethepoet from 0.24.2 to 0.24.3 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/200
* Bump ruff from 0.1.4 to 0.1.5 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/201
* Migrate from Black to Ruff for formatting by srstevenson in https://github.com/srstevenson/xdg-base-dirs/pull/203
* Test with Python 3.12 in CI by srstevenson in https://github.com/srstevenson/xdg-base-dirs/pull/204
* Bump mypy from 1.7.0 to 1.7.1 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/205
* Bump ruff from 0.1.6 to 0.1.7 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/206
* Bump actions/setup-python from 4 to 5 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/207
* Bump actions/stale from 8 to 9 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/208
* Bump ruff from 0.1.7 to 0.1.8 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/210
* Bump mypy from 1.7.1 to 1.8.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/211
* Bump ruff from 0.1.8 to 0.1.9 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/212
* Bump pytest from 7.4.3 to 7.4.4 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/213
* Change Dependabot update interval to monthly by srstevenson in https://github.com/srstevenson/xdg-base-dirs/pull/214
* Bump ruff from 0.1.9 to 0.1.11 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/215
* Bump codecov/codecov-action from 3.1.4 to 4.0.1 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/216
* Bump ruff from 0.1.11 to 0.2.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/218
* Bump pytest from 7.4.4 to 8.0.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/217
* Bump codecov/codecov-action from 4.0.1 to 4.1.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/219
* Bump pytest from 8.0.0 to 8.0.2 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/220
* Bump ruff from 0.2.0 to 0.3.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/222
* Bump poethepoet from 0.24.4 to 0.25.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/221
* Update Ruff configuration by srstevenson in https://github.com/srstevenson/xdg-base-dirs/pull/223
* Check ` type: ignore` directives include error code by srstevenson in https://github.com/srstevenson/xdg-base-dirs/pull/224
* Bump mypy from 1.8.0 to 1.9.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/225
* Bump pytest from 8.0.2 to 8.1.1 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/227
* Bump pytest-cov from 4.1.0 to 5.0.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/226
* Bump ruff from 0.3.0 to 0.3.5 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/228
* Bump codecov/codecov-action from 4.1.0 to 4.1.1 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/229
* Bump codecov/codecov-action from 4.1.1 to 4.3.1 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/230
* Bump ruff from 0.3.5 to 0.4.2 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/231
* Bump mypy from 1.9.0 to 1.10.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/232
* Bump pytest from 8.1.1 to 8.2.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/233
* Bump poethepoet from 0.25.0 to 0.26.1 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/234
* Bump ruff from 0.4.2 to 0.4.7 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/235
* Bump pytest from 8.2.0 to 8.2.1 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/236
* Bump codecov/codecov-action from 4.3.1 to 4.4.1 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/237
* Bump codecov/codecov-action from 4.4.1 to 4.5.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/238
* Bump ruff from 0.4.7 to 0.5.5 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/239
* Bump pytest from 8.2.1 to 8.3.2 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/242
* Bump mypy from 1.10.0 to 1.11.1 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/241
* Bump poethepoet from 0.26.1 to 0.27.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/240
* Bump poethepoet from 0.27.0 to 0.28.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/243
* Bump mypy from 1.11.1 to 1.11.2 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/244
* Bump ruff from 0.5.5 to 0.6.3 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/245
* Bump codecov/codecov-action from 4.5.0 to 4.6.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/246
* Add Python 3.13 to CI by srstevenson in https://github.com/srstevenson/xdg-base-dirs/pull/250
* Bump pytest from 8.3.2 to 8.3.3 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/247
* Bump poethepoet from 0.28.0 to 0.29.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/248
* Bump ruff from 0.6.3 to 0.7.0 by dependabot in https://github.com/srstevenson/xdg-base-dirs/pull/251
* Update README and remove badges without cache invalidation by srstevenson in https://github.com/srstevenson/xdg-base-dirs/pull/252
* Document required Python version by srstevenson in https://github.com/srstevenson/xdg-base-dirs/pull/253
* Remove include statement for py.typed by srstevenson in https://github.com/srstevenson/xdg-base-dirs/pull/254
* Bump version to 6.0.2 by srstevenson in https://github.com/srstevenson/xdg-base-dirs/pull/255


**Full Changelog**: https://github.com/srstevenson/xdg-base-dirs/compare/6.0.1...6.0.2

6.0.1

This patch release no longer installs the `LICENSE` file into the `site-packages` directory.

6.0.0

This major release renames `xdg` to `xdg-base-dirs` due to an import collision with [PyXDG](https://pypi.org/project/pyxdg/). If you used `xdg` prior to the rename, update by changing the dependency name from `xdg` to `xdg-base-dirs` and the import from `xdg` to `xdg_base_dirs`. Python 3.10 or later is required by `xdg-base-dirs`.

5.1.1

This patch release moves to using [`pathlib.Path.home()`](https://docs.python.org/3/library/pathlib.html#pathlib.Path.home) to get the home directory.

5.1.0

This minor release implements version 0.8 of the XDG Base Directory Specification, released on 8th May 2021. Specifically, it adds a `xdg_state_home` function which returns a path to a directory suitable for storing application state, such as undo history or window layout.

5.0.2

This patch release fixes an issue with relative paths. Prior to this release, `xdg` would use paths defined by the relevant environment variables even if they were relative paths, which is not permitted by the specification:

> All paths set in these environment variables must be absolute. If an implementation encounters a relative path in any of these variables it should consider the path invalid and ignore it.

Now only absolute paths are accepted, and relative paths are ignored.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.