PDM v1.13.0 Release Notes

Release Date: 2022-02-18 // over 2 years ago
  • ๐Ÿ”‹ Features & Improvements

    • Support pre_* and post_* scripts for task composition. Pre- and Post- scripts for init, build, install and lock 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 to python.use_venv; rename config feature.install_cache to install.cache; rename config feature.install_cache_method to install.cache_method; rename config parallel_install to install.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 to pdm add. #918

    ๐Ÿ‘Œ Improved Documentation

    • 0๏ธโƒฃ The default editable backend becomes path. #904

    ๐Ÿ—„ Removals and Deprecations

    • Stop auto-migrating projects from PDM 0.x format. #912

    ๐Ÿ”จ Refactor

    • โš  Rename ExtrasError to ExtrasWarning for better understanding. Improve the warning message. #892
    • Extract the environment related code from Candidate into a new class PreparedCandidate. Candidate no longer holds an Environment instance. #920