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

Changelog History
Page 2

  • v2.0.1 Changes

    July 17, 2022

    πŸ› Bug Fixes

    • Write lockfile before calling 'post_lock' hook #1224
    • Suppress errors when cache dir isn't accessible. #1226
    • Don't save python path for venv commands. #1230
  • v2.0.0 Changes

    July 15, 2022

    πŸ› Bug Fixes

    • πŸ›  Fix a bug that the running env overrides the PEP 582 PYTHONPATH. #1211
    • βž• Add pwsh as an alias of powershell for shell completion. #1216
    • πŸ›  Fixed a bug with zsh completion regarding --pep582 flag. #1218
    • πŸ›  Fix a bug of requirement checking under non-isolated mode. #1219
    • πŸ›  Fix a bug when removing packages, TOML document might become invalid. #1221
  • v2.0.0.b2 Changes

    July 08, 2022

    πŸ’₯ Breaking Changes

    • πŸ”’ Store file URLs instead of filenames in the lock file, bump lock version to 4.0. #1203

    πŸ”‹ Features & Improvements

    • πŸ”§ Read site-wide configuration, which serves as the lowest-priority layer. This layer will be read-only in the CLI. #1200
    • πŸ”’ Get package links from the urls stored in the lock file. #1204

    πŸ› Bug Fixes

    • πŸ›  Fix a bug that the host pip(installed with pdm) may not be compatible with the project python. #1196
    • ⚑️ Update unearth to fix a bug that install links with weak hashes are skipped. This often happens on self-hosted PyPI servers. #1202
  • v2.0.0.b1 Changes

    July 02, 2022

    πŸ”‹ Features & Improvements

    • ↔ Integrate pdm venv commands into the main program. Make PEP 582 an opt-in feature. #1162
    • Add config global_project.fallback_verbose defaulting to True. When set to False disables message Project is not found, fallback to the global project #1188
    • βž• Add --only-keep option to pdm sync to keep only selected packages. Originally requested at #398. #1191

    πŸ› Bug Fixes

    • πŸ›  Fix a bug that requirement extras and underlying are resolved to the different version #1173
    • ⚑️ Update unearth to 0.4.1 to skip the wheels with invalid version parts. #1178
    • Fix reading PDM_RESOLVE_MAX_ROUNDS environment variable (was spelled …ROUDNS before). #1180
    • Deduplicate the list of found Python versions. #1182
    • 🌲 Use the normal stream handler for logging, to fix some display issues under non-tty environments. #1184

    πŸ—„ Removals and Deprecations

    • βœ‚ Remove the useless --no-clean option from pdm sync command. #1191
  • v2.0.0.a1 Changes

    June 29, 2022

    πŸ’₯ Breaking Changes

    • ⚠ Editable dependencies in the [project] table is not allowed, according to PEP 621. They are however still allowed in the [tool.pdm.dev-dependencies] table. PDM will emit a warning when it finds editable dependencies in the [project] table, or will abort when you try to add them into the [project] table via CLI. #1083
    • πŸ”§ Now the paths to the global configurations and global project are calculated according to platform standards. #1161

    πŸ”‹ Features & Improvements

    • βž• Add support for importing from a setup.py project. #1062
    • πŸ’» Switch the UI backend to rich. #1091
    • πŸ‘Œ Improved the terminal UI and logging. Disable live progress under verbose mode. The logger levels can be controlled by the -v option. #1096
    • ⚑️ Use unearth to replace pip's PackageFinder and related data models. PDM no longer relies on pip internals, which are unstable across updates. #1096
    • Lazily load the candidates returned by find_matches() to speed up the resolution. #1098
    • βž• Add a new command publish to PDM since it is required for so many people and it will make the workflow easier. #1107
    • βž• Add a composite script kind allowing to run multiple defined scripts in a single command as well as reusing scripts but overriding env or env_file. #1117
    • βž• Add a new execution option --skip to opt-out some scripts and hooks from any execution (both scripts and PDM commands). #1127
    • Add the pre/post_publish, pre/post_run and pre/post_script hooks as well as an extensive lifecycle and hooks documentation. #1147
    • Shorter scripts listing, especially for multilines and composite scripts. #1151
    • πŸ— Build configurations have been moved to [tool.pdm.build], according to pdm-pep517 1.0.0. At the same time, warnings will be shown against old usages. #1153
    • πŸ‘Œ Improve the lock speed by parallelizing the hash fetching. #1154
    • πŸ“‡ Retrieve the candidate metadata by parsing the pyproject.toml rather than building it. #1156
    • ⚑️ Update the format converters to support the new [tool.pdm.build] table. #1157
    • πŸ”Œ Scripts are now available as root command if they don't conflict with any builtin or plugin-contributed command. #1159
    • βž• Add a post_use hook triggered after successfully switching Python version. #1163
    • βž• Add project configuration respect-source-order under [tool.pdm.resolution] to respect the source order in the pyproject.toml file. Packages will be returned by source earlier in the order or later ones if not found. #593

    πŸ› Bug Fixes

    • πŸ›  Fix a bug that candidates with local part in the version can't be found and installed correctly. #1093

    Dependencies

    • Prefer tomllib on Python 3.11 #1072
    • ⬇️ Drop the vendored libraries click, halo, colorama and log_symbols. PDM has no vendors now. #1091
    • ⚑️ Update dependency version pdm-pep517 to 1.0.0. #1153

    πŸ—„ Removals and Deprecations

    • πŸ“‡ PDM legacy metadata format(from pdm 0.x) is no longer supported. #1157

    Miscellany

    • βœ… Provide a tox.ini file for easier local testing against all Python versions. #1160
  • v1.15.4 Changes

    June 28, 2022

    πŸ› Bug Fixes

    • βͺ Revert #1106: Do not use venv scheme for prefix kind install scheme. #1158
    • πŸ›  Fix a bug when updating a package with extra requirements, the package version doesn't get updated correctly. #1166

    Miscellany

    • βž• Add additional installation option via asdf-pdm. Add skip-add-to-path option to installer in order to prevent changing PATH. Replace bin variable name with bin_dir. #1145
  • v1.15.3 Changes

    June 14, 2022

    πŸ› Bug Fixes

    • πŸ›  Fix a defect in the resolution preferences that causes an infinite resolution loop. #1119
    • ⚑️ Update the poetry importer to support the new [tool.poetry.build] config table. #1131

    πŸ‘Œ Improved Documentation

    • βž• Add support for multiple versions of documentations. #1126
  • v1.15.2 Changes

    June 06, 2022

    πŸ› Bug Fixes

    • πŸ›  Fix bug where SIGINT is sent to the main pdm process and not to the process actually being run. #1095
    • πŸ›  Fix a bug due to the build backend fallback, which causes different versions of the same requirement to exist in the build environment, making the building unstable depending on which version being used. #1099
    • Don't include the version in the cache key of the locked candidates if they are from a URL requirement. #1099
    • πŸ›  Fix a bug where dependencies with requires-python pre-release versions caused pdm update to fail with InvalidPyVersion. #1111
  • v1.15.1 Changes

    June 02, 2022

    πŸ› Bug Fixes

    • πŸ›  Fix a bug that dependencies are missing from the dep graph when they are depended by a requirement with extras. #1097
    • 0️⃣ Give a default version if the version is dynamic in setup.cfg or setup.py. #1101
    • πŸ›  Fix a bug that the hashes for file URLs are not included in the lock file. #1103
    • πŸ›  Fix a bug that package versions are updated even when they are excluded by pdm update command. #1104
    • Prefer venv install scheme when available. This scheme is more stable than posix_prefix scheme since the latter is often patched by distributions. #1106

    Miscellany

    • πŸ“¦ Move the test artifacts to a submodule. It will make it easier to package this project. #1084
  • v1.15.0 Changes

    May 16, 2022

    πŸ”‹ Features & Improvements

    • πŸ‘ Allow specifying lockfile other than pdm.lock by --lockfile option or PDM_LOCKFILE env var. #1038

    πŸ› Bug Fixes

    • πŸ“¦ Replace the editable entry in pyproject.toml when running pdm add --no-editable <package>. #1050
    • Ensure the pip module inside venv in installation script. #1053
    • Fix the py2 compatibility issue in the in-process get_sysconfig_path.py script. #1056
    • πŸ›  Fix a bug that file paths in URLs are not correctly unquoted. #1073
    • πŸ›  Fix a bug on Python 3.11 that overriding an existing command from plugins raises an error. #1075
    • Replace the ${PROJECT_ROOT} variable in the result of export command. #1079

    πŸ—„ Removals and Deprecations

    • 🚚 Show a warning if Python 2 interpreter is being used and remove the support on 2.0. #1082