All Versions
133
Latest Version
Avg Release Cycle
10 days
Latest Release
511 days ago

Changelog History
Page 1

  • v2.2.1 Changes

    November 03, 2022

    ๐Ÿ”‹ Features & Improvements

    • Make sitecustomize.py respect the PDM_PROJECT_MAX_DEPTH environment variable #1471

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fix the comparison of python_version in the environment marker. When the version contains only one digit, the result was incorrect. #1484
  • 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 via pdm publish --ca-certs <path> .... #1392
    • โšก๏ธ Rename the plugin command to self, and it can not only manage plugins but also all dependencies. Add a subcommand self 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 of pip 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 include licenses 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 in pdm 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
  • 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
  • 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, and is-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 for add and update operations, to ensure the pyproject.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 or update 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 that packaging.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 in pdm.lock contains the description from the package's pyproject.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
  • 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 the PATH. #1255
    • ๐Ÿ“‡ Stabilize sorting of URLs in metadata.files in pdm.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