Features & Improvements
- Support
pre_*
andpost_*
scripts for task composition. Pre- and Post- scripts forinit
,build
,install
andlock
will be run if present. #789 - Support
--config/-c
option to specify another global configuration file. #883 - Packages with extras require no longer inherit the dependencies from the same package without extras. It is because the package without extras are returned as one of the dependencies. This change won't break the existing lock files nor dependency cache. #892
- Support version ranges in
[tool.pdm.overrides]
table. #909 - Rename config
use_venv
topython.use_venv
;
rename configfeature.install_cache
toinstall.cache
;
rename configfeature.install_cache_method
toinstall.cache_method
;
rename configparallel_install
toinstall.parallel
. #914
Bug Fixes
- Fix a bug that file URLs or VCS URLs don't work in
[tool.pdm.overrides]
table. #861 - Fix a bug of identifier mismatch for URL requirements without an explicit name. #901
- No
requires-python
should be produced if ANY(*
) is given. #917 - Fix a bug that
pdm.lock
gets created when--dry-run
is passed topdm add
. #918
Improved Documentation
- The default editable backend becomes
path
. #904
Removals and Deprecations
- Stop auto-migrating projects from PDM 0.x format. #912