PDM v1.8.0 Release Notes

Release Date: 2021-08-16 // over 2 years ago
  • ๐Ÿ”‹ Features & Improvements

    • โž• Added a new mode --json to the list command which outputs the dependency graph as a JSON document. #583
    • โž• Add a new config feature.install_cache. When it is turned on, wheels will be installed into a centralized package repo and create .pth files under project packages directory to link to the cached package. #589

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fix env vars in source URLs not being expanded in all cases. #570
    • ๐Ÿ›  Fix the weird output of pdm show. #580
    • Prefer ~/.pyenv/shims/python3 as the pyenv interpreter. #590
    • ๐Ÿ›  Fix a bug that installing will download candidates that do not match the locked hashes. #596

    ๐Ÿ‘Œ Improved Documentation

    • โž• Added instructions to the Contributing section for creating news fragments #573

    ๐Ÿ—„ Removals and Deprecations

    • ๐Ÿ—„ Deprecate -s/--section option in favor of -G/--group. #591

    ๐Ÿ”จ Refactor

    • Switch to a self-implemented version of uninstaller. #586
    • pdm/installers/installers.py is renamed to pdm/installers/manager.py to be more accurate. The Installer class under that file is renamed to InstallerManager and is exposed in the pdm.core.Core object for overriding. The new pdm/installers/installers.py contains some installation implementations. #589
    • ๐Ÿ“‡ Switch from pkg_resources.Distribution to the implementation of importlib.metadata. #592