All Versions
133
Latest Version
Avg Release Cycle
10 days
Latest Release
511 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v2.2.1 Changes
November 03, 2022 -
v2.2.0 Changes
October 31, 2022๐ Features & Improvements
- โ Add
venv.prompt
configuration to allow customizing prompt when a virtualenv is activated #1332 - ๐ Allow the use of custom CA certificates per publish repository using
ca_certs
or from the command line viapdm publish --ca-certs <path> ...
. #1392 - โก๏ธ Rename the
plugin
command toself
, and it can not only manage plugins but also all dependencies. Add a subcommandself update
to update PDM itself. #1406 - ๐ Allow
pdm init
to receive a Python path or version via--python
option. #1412 - โ Add a default value for
requires-python
when importing from other formats. #1426 - ๐ Use
pdm
instead ofpip
to resolve and install build requirements. So that PDM configurations can control the process. #1429 - Customizable color theme via
pdm config
command. #1450 - ๐ A new
pdm lock --check
flag to validate whether the lock is up to date. #1459 - โ Add both option and config item to ship
pip
when creating a new venv. #1463 - โ Issue warning and skip the requirement if it has the same name as the current project. #1466
- โจ Enhance the
pdm list
command with new formats:--csv,--markdown
and add options--fields,--sort
to control the output contents. Users can also includelicenses
in the--fields
option to display the package licenses. #1469 - ๐ A new pre-commit hook to run
pdm lock --check
in pre-commit. #1471
๐ Bug Fixes
- ๐ Fix the issue that relative paths don't work well with
--project
argument. #1220 - ๐ฆ It is now possible to refer to a package from outside the project with relative paths in dependencies. #1381
- ๐ Ensure
pypi.[ca,client]_cert[s]
config items are passed to distribution builder install steps to allow for custom PyPI index sources with self signed certificates. #1396 - ๐ Fix a crash issue when depending on editable packages with extras. #1401
- Do not save the python path when using non-interactive mode in
pdm init
. #1410 - ๐ Fix the matching of
python*
command inpdm run
. #1414 - ๐ Show the Python path, instead of the real executable, in the Python selection menu. #1418
- ๐ Fix the HTTP client of package publishment to prompt for password and read PDM configurations correctly. #1430
- Ignore the unknown fields when constructing a requirement object. #1445
- ๐ Fix a bug of unrelated candidates being fetched if the requirement is matching wildcard versions(e.g.
==1.*
). #1465 - ๐ Use
importlib-metadata
from PyPI for Python < 3.10. #1467
๐ Documentation
- โก๏ธ Clarify the difference between a library and an application. Update the guide of multi-stage docker build. #1371
๐ Removals and Deprecations
- โ Remove all top-level imports, users should import from the submodules instead. #1404
- โ Remove the usages of old config names deprecated since 2.0. #1422
- โ Remove the deprecated color functions, use rich's console markup instead. #1452
- โ Add
-
v2.1.5 Changes
October 05, 2022๐ Bug Fixes
- ๐ Ensure
pypi.[ca,client]_cert[s]
config items are passed to distribution builder install steps to allow for custom PyPI index sources with self signed certificates. #1396 - ๐ Fix a crash issue when depending on editable packages with extras. #1401
- Do not save the python path when using non-interactive mode in
pdm init
. #1410 - ๐ Restrict importlib-metadata (<5.0.0) for Python <3.8 #1411
- ๐ Ensure
-
v2.1.4 Changes
September 17, 2022๐ Bug Fixes
- ๐ Fix a lock failure when depending on self with URL requirements. #1347
- Ensure list to concatenate args for composite scripts. #1359
- ๐ Fix an error in
pdm lock --refresh
if some packages has URLs. #1361 - ๐ Fix unnecessary package downloads and VCS clones for certain commands. #1370
- ๐ Fix a conversion error when converting a list of conditional dependencies from a Poetry format. #1383
๐ Documentation
- โ Adds a section to the docs on how to correctly work with PDM and version control systems. #1364
-
v2.1.3 Changes
August 30, 2022๐ Features & Improvements
- ๐ฆ When adding a package to (or removing from) a group, enhance the formatting of the group name in the printed message. #1329
๐ Bug Fixes
- ๐ Fix a bug of missing hashes for packages with
file://
links the first time they are added. #1325 - ๐ฆ Ignore invalid values of
data-requires-python
when parsing package links. #1334 - ๐ Leave an incomplete project metadata if PDM fails to parse the project files, but emit a warning. #1337
- ๐ Fix the bug that
editables
package isn't installed for self package. #1344 - ๐ Fix a decoding error for non-ASCII characters in package description when publishing it. #1345
๐ Documentation
- ๐ Clarify documentation explaining
setup-script
,run-setuptools
, andis-purelib
. #1327
-
v2.1.2 Changes
August 15, 2022๐ Bug Fixes
- ๐ Fix a bug that dependencies from different versions of the same package override each other. #1307
- Forward SIGTERM to child processes in
pdm run
. #1312 - ๐ Fix errors when running on FIPS 140-2 enabled systems using Python 3.9 and newer. #1313
- ๐ Fix the build failure when the subprocess outputs with non-UTF8 characters. #1319
- โก๏ธ Delay the trigger of
post_lock
foradd
andupdate
operations, to ensure thepyproject.toml
is updated before the hook is run. #1320
-
v2.1.1 Changes
August 05, 2022๐ Features & Improvements
- โ Add a env_file.override option that allows the user to specify that the env_file should override any existing environment variables. This is not the default as the environment the code runs it should take precedence. #1299
๐ Bug Fixes
- ๐ Fix a bug that unnamed requirements can't override the old ones in either
add
orupdate
command. #1287 - Support mutual TLS to private repositories via pypi.client_cert and pypi.client_key config options. #1290
- Set a minimum version for the
packaging
dependency to ensure thatpackaging.utils.parse_wheel_filename
is available. #1293 - ๐ Fix a bug that checking for PDM update creates a venv. #1301
- ๐ Prefer compatible packages when fetching metadata. #1302
-
v2.1.0 Changes
July 29, 2022๐ Features & Improvements
- ๐ Allow the use of custom CA certificates using the
pypi.ca_certs
config entry. #1240 - โ Add
pdm export
to available pre-commit hooks. #1279
๐ Bug Fixes
- ๐ Skip incompatible requirements when installing build dependencies. #1264
- ๐ Fix a crash when pdm tries to publish a package with non-ASCII characters in the metadata. #1270
- ๐ Try to read the lock file even if the lock version is incompatible. #1273
- ๐ For packages that are only available as source distribution, the
summary
field inpdm.lock
contains thedescription
from the package'spyproject.toml
. #1274 - ๐ฆ Do not crash when calling
pdm show
for a package that is only available as source distribution. #1276 - ๐ Fix a bug that completion scripts are interpreted as rich markups. #1283
Dependencies
- โ Remove the dependency of
pip
. #1268
๐ Removals and Deprecations
- ๐ Deprecate the top-level imports from
pdm
module, it will be removed in the future. #1282
- ๐ Allow the use of custom CA certificates using the
-
v2.0.3 Changes
July 22, 2022๐ Bug Fixes
- ๐ Support Conda environments when detecting the project environment. #1253
- ๐ Fix the interpreter resolution to first try
python
executable in thePATH
. #1255 - ๐ Stabilize sorting of URLs in
metadata.files
inpdm.lock
. #1256 - ๐ Don't expand credentials in the file URLs in the
[metada.files]
table of the lock file. #1259
-
v2.0.2 Changes
July 20, 2022๐ Features & Improvements
env_file
variables no longer override existing environment variables. #1235- ๐ฆ Support referencing other optional groups in optional-dependencies with
<this_package_name>[group1, group2]
#1241
๐ Bug Fixes
- 0๏ธโฃ Respect
requires-python
when creating the default venv. #1237