Skip to content

Commit c97bc0c

Browse files
committed
chore: Release 2.13.0
1 parent d9783a1 commit c97bc0c

27 files changed

+45
-26
lines changed

CHANGELOG.md

+45
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
1+
Release v2.13.0 (2024-03-27)
2+
----------------------------
3+
4+
### Features & Improvements
5+
6+
- Add option to exclude group(s) when running ```pdm sync/install -G:all``` by adding flag ```--without group1,group2,...``` [#2258](https://github.com/pdm-project/pdm/issues/2258)
7+
- Default to log to user home and make logs directory configurable. [#2398](https://github.com/pdm-project/pdm/issues/2398)
8+
- Add an option `keep_going` to continue on errors for composite scripts and return the last failing exit code. [#2582](https://github.com/pdm-project/pdm/issues/2582)
9+
- Add an option `working_dir` for PDM's scripts to set the current working directory. [#2620](https://github.com/pdm-project/pdm/issues/2620)
10+
- Allow updating specific sub-dependencies (i.e., transitive dependencies) in the lock file. [#2628](https://github.com/pdm-project/pdm/issues/2628)
11+
- Add `--config-setting` option to `add/install/sync/update/remove/export` commands, the config settings dictionary will be shared by all packages. [#2636](https://github.com/pdm-project/pdm/issues/2636)
12+
- Cache the decompressed contents of wheels for faster access. [#2660](https://github.com/pdm-project/pdm/issues/2660)
13+
- Add configuration for timeout for network requests. [#2680](https://github.com/pdm-project/pdm/issues/2680)
14+
- Reuse the request sesison within the environment. [#2697](https://github.com/pdm-project/pdm/issues/2697)
15+
- Caches can be disabled by using the `--no-cache` option or setting the `PDM_NO_CACHE` environment variable. [#2702](https://github.com/pdm-project/pdm/issues/2702)
16+
- Switch to `httpx.Client` for HTTP requests, drop `requests` dependency. [#2709](https://github.com/pdm-project/pdm/issues/2709)
17+
- We have timemachine now! You can exclude packages published newer than a certain date via `pdm lock --exclude-newer=<date>`, allowing reproduction of resolutions regardless of new package releases. [#2712](https://github.com/pdm-project/pdm/issues/2712)
18+
- Add command `pdm outdated` to check the outdated packages and list the latest versions. [#2718](https://github.com/pdm-project/pdm/issues/2718)
19+
- When `python.use_venv` is on, always try to create a virtualenv when using `pdm use` to switch the Python interpreter. [#2720](https://github.com/pdm-project/pdm/issues/2720)
20+
- Support installing Pythons from [python-build-standalone](https://github.com/indygreg/python-build-standalone). Add command group `pdm python` to manage Python installations. And `pdm use` can automatically install the Python interpreter if it's not found. [#2721](https://github.com/pdm-project/pdm/issues/2721)
21+
- Supports custom distribution files path via `-d/--dest` option for `pdm publish`. [#2723](https://github.com/pdm-project/pdm/issues/2723)
22+
23+
### Bug Fixes
24+
25+
- Don't modify TOML tables that are not related to PDM. [#2666](https://github.com/pdm-project/pdm/issues/2666)
26+
- Made `--without` imply `--with :all`. [#2670](https://github.com/pdm-project/pdm/issues/2670)
27+
- Expand user path for `venv.location` and other path-like config values. [#2672](https://github.com/pdm-project/pdm/issues/2672)
28+
- Give a default version when it's missing in `pyproject.toml` when parsing candidate's metadata. [#2677](https://github.com/pdm-project/pdm/issues/2677)
29+
- Fix the issue that ANSI codes are shown in the output of `pdm --help` on Windows. [#2678](https://github.com/pdm-project/pdm/issues/2678)
30+
- Don't show empty configuration sections in `pdm config`. [#2683](https://github.com/pdm-project/pdm/issues/2683)
31+
32+
### Documentation
33+
34+
- Document the difference between `[tool.pdm.scripts]` and `[project.scripts]` [#2121](https://github.com/pdm-project/pdm/issues/2121)
35+
36+
### Removals and Deprecations
37+
38+
- Remove the support of `pth` cache method. And `symlink` cache method now behaves the same as `symlink_individual` cache method. [#2660](https://github.com/pdm-project/pdm/issues/2660)
39+
- Remove `pdm.models.environment` module deprecated before. Also remove the renamed members from `pdm.environments`. [#2710](https://github.com/pdm-project/pdm/issues/2710)
40+
41+
### Miscellany
42+
43+
- Delete `setup.cfg`, move tool configurations under it to `pyproject.toml` [#2703](https://github.com/pdm-project/pdm/issues/2703)
44+
45+
146
Release v2.12.4 (2024-02-26)
247
----------------------------
348

news/2121.doc.md

-1
This file was deleted.

news/2258.feature.md

-1
This file was deleted.

news/2398.feature.md

-1
This file was deleted.

news/2582.feature.md

-1
This file was deleted.

news/2620.feature.md

-1
This file was deleted.

news/2628.feature.md

-1
This file was deleted.

news/2636.feature.md

-1
This file was deleted.

news/2660.feature.md

-1
This file was deleted.

news/2660.removal.md

-1
This file was deleted.

news/2666.bugfix.md

-1
This file was deleted.

news/2670.bugfix.md

-1
This file was deleted.

news/2672.bugfix.md

-1
This file was deleted.

news/2677.bugfix.md

-1
This file was deleted.

news/2678.bugfix.md

-1
This file was deleted.

news/2680.feature.md

-1
This file was deleted.

news/2683.bugfix.md

-1
This file was deleted.

news/2697.feature.md

-1
This file was deleted.

news/2702.feature.md

-1
This file was deleted.

news/2703.misc.md

-1
This file was deleted.

news/2709.feature.md

-1
This file was deleted.

news/2710.removal.md

-1
This file was deleted.

news/2712.feature.md

-1
This file was deleted.

news/2718.feature.md

-1
This file was deleted.

news/2720.feature.md

-1
This file was deleted.

news/2721.feature.md

-1
This file was deleted.

news/2723.feature.md

-1
This file was deleted.

0 commit comments

Comments
 (0)