Skip to content

Commit 03804cf

Browse files
committed
chore: Release 2.12.0
1 parent a8c320f commit 03804cf

17 files changed

+29
-16
lines changed

CHANGELOG.md

+29
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
Release v2.12.0 (2024-01-17)
2+
----------------------------
3+
4+
### Features & Improvements
5+
6+
- Allow excluding packages from the lockfile via `tool.pdm.resolution.excludes` setting, the dependencies will also be skipped. [#1316](https://github.com/pdm-project/pdm/issues/1316)
7+
- Rename `--no-lock` option to `--frozen-lockfile`. [#2496](https://github.com/pdm-project/pdm/issues/2496)
8+
- Add `--no-hashes` as the recommended option name in favor of `--without-hashes` for `pdm export` command. [#2497](https://github.com/pdm-project/pdm/issues/2497)
9+
- Add `--no-markers` to `export` command to exclude markers from the output. [#2497](https://github.com/pdm-project/pdm/issues/2497)
10+
- Allow initializing a project without extra project files, with a new builtin template "minimal". Run it with `pdm init minimal`. [#2543](https://github.com/pdm-project/pdm/issues/2543)
11+
- Change the warning category emitted by `deprecated_warning()` to `PDMDeprecationWarning`. [#2547](https://github.com/pdm-project/pdm/issues/2547)
12+
- Prereleases will be allowed if a prerelease version is pinned in the lockfile. This can be disabled by passing `--stable` option. [#2552](https://github.com/pdm-project/pdm/issues/2552)
13+
- Change `tracked_names` argument to keyword-only. Move `allow_prereleases` setting to `tool.pdm.resolution` table. [#2552](https://github.com/pdm-project/pdm/issues/2552)
14+
- Rename the `preferred_pins` argument of provider classes to `locked_candidates`, and deprecate the old name. [#2552](https://github.com/pdm-project/pdm/issues/2552)
15+
- Rename the `package-type` field under `tool.pdm` settings table to `distribution` to make it more clear. [#2564](https://github.com/pdm-project/pdm/issues/2564)
16+
17+
### Bug Fixes
18+
19+
- `tool.pdm.resolution` settings won't be honored when installing dependencies into the build environment. [#1316](https://github.com/pdm-project/pdm/issues/1316)
20+
- Fixed pdm list output containing full license text in some cases [#2538](https://github.com/pdm-project/pdm/issues/2538)
21+
- Fix the environment variable substitution for `cmd` scripts. [#2542](https://github.com/pdm-project/pdm/issues/2542)
22+
- Allow normal extension modules in wheel tags when the python is debug build. [#2548](https://github.com/pdm-project/pdm/issues/2548)
23+
- Don't use pypi.org when pypi.url is set. [#2560](https://github.com/pdm-project/pdm/issues/2560)
24+
25+
### Removals and Deprecations
26+
27+
- Remove deprecated methods from `Project`. Remove deprecated helper functions from `actions.py`. [#2547](https://github.com/pdm-project/pdm/issues/2547)
28+
29+
130
Release v2.11.2 (2024-01-02)
231
----------------------------
332

news/1316.bugfix.md

-1
This file was deleted.

news/1316.feature.md

-1
This file was deleted.

news/2496.feature.md

-1
This file was deleted.

news/2497.feature.1.md

-1
This file was deleted.

news/2497.feature.2.md

-1
This file was deleted.

news/2538.bugfix.md

-1
This file was deleted.

news/2542.bugfix.md

-1
This file was deleted.

news/2543.feature.md

-1
This file was deleted.

news/2547.feature.md

-1
This file was deleted.

news/2547.removal.md

-1
This file was deleted.

news/2548.bugfix.md

-1
This file was deleted.

news/2552.feature.1.md

-1
This file was deleted.

news/2552.feature.2.md

-1
This file was deleted.

news/2552.feature.3.md

-1
This file was deleted.

news/2560.bugfix.md

-1
This file was deleted.

news/2564.feature.md

-1
This file was deleted.

0 commit comments

Comments
 (0)