Releases: pdm-project/pdm
Releases · pdm-project/pdm
v1.12.4
Features & Improvements
- Remember the last selection in
use
command to save the human effort.
And introduce an-i
option to ignored that remembered value. #846
Bug Fixes
v1.12.3
Features & Improvements
- Support setting Python path in global configuration. #842
Bug Fixes
- Lowercase the package names in the lock file make it more stable. #836
- Show the packages to be updated in dry run mode of
pdm update
even if--no-sync
is passed. #837 - Improve the robustness of update check code. #841
- Fix a bug that export result has environment markers that don't apply for all requirements. #843
v1.12.2
Features & Improvements
- Allow changing the installation linking method by
feature.install_cache_method
config. #822
Bug Fixes
v1.12.1
v1.12.0
Features & Improvements
- Add
lock --refresh
to update the hash stored with the lock file without updating the pinned versions. #642 - Support resolution overriding in the
[tool.pdm.overrides]
table. #790 - Add support for signals for basic operations, now including
post_init
,pre_lock
,post_lock
,pre_install
andpost_install
. #798 - Add
install --check
to check if the lock file is up to date. #810 - Use symlinks to cache installed packages when it is supported by the file system. #814
Bug Fixes
- Fix a bug that candidates from urls are rejected by the
allow_prereleases
setting.
Now non-named requirements are resolved earlier than pinned requirements. #799
Improved Documentation
- Add a new doc page: API reference. #802
Dependencies
- Switch back from
atoml
totomlkit
as the style-preserving TOML parser. The latter has supported TOML v1.0.0. #809
Miscellany
- Cache the latest version of PDM for one week to reduce the request frequency. #800
v1.11.3
v1.11.2
Bug Fixes
- Fix the resolution order to reduce the loop number to find a conflict. #781
- Patch the functions in
sysconfig
to return the PEP 582 scheme inpdm run
. #784 - Fix a bug that causes
editables
not found error
Dependencies
- Remove the upper bound of version constraints for most dependencies, except for some zero-versioned ones. #787
v1.11.1
Features & Improvements
- Support
--pre/--prelease
option forpdm add
andpdm update
. It will allow prereleases to be pinned. #774 - Improve the error message when python is found but not meeting the python requirement. #777
Bug Fixes
- Fix a bug that
git+https
candidates cannot be resolved. #771 - Fix an infinite resolution loop by resolving the top-level packages first. Also deduplicate the lines from the same requirement in the error output. #776
Miscellany
- Fix the install script to use a zipapp of virtualenv when it isn't installed. #780
v1.11.0
Features & Improvements
- Move
version
from[project]
table to[tool.pdm]
table, deleteclassifiers
fromdynamic
, and warn usage about the deprecated usages. #748 - Add support for Conda environments in addition to Python virtual environments. #749
- Add support for saving only the lower bound
x >= VERSION
when adding dependencies. #752 - Improve the error message when resolution fails. #754
Bug Fixes
- Switch to self-implemented
pdm list --freeze
to fix a bug due to Pip's API change. #533 - Fix an infinite loop issue when resolving candidates with incompatible
requires-python
. #744 - Fix the python finder to support pyenv-win. #745
- Fix the ANSI color output for Windows cmd and Powershell terminals. #753
Removals and Deprecations
- Remove
-s/--section
option from all previously supported commands. Use-G/--group
instead. #756