github pdm-project/pdm 2.27.0
v2.27.0

6 hours ago

Breaking Changes

  • Update the minimum required Python version to 3.10. (#3787)

Features & Improvements

  • Respect existing values of pyproject.toml when running pdm init or pdm new. (#3786)
  • Move project plugin installations from .pdm-plugins under the project root to an isolated cache directory, and add a fixer to migrate existing plugin directories. (#3790)
  • Remove legacy importlib compatibility wrappers and use standard-library importlib.metadata and importlib.resources APIs directly. (#3796)

Bug Fixes

  • Fix a security issue with the installer to disallow installing to paths outside of the scheme directory. (#3787)
  • Refuse to write project-local config and state files (pdm.toml, .pdm-python, .python-version) when the destination is a symlink, preventing an untrusted repository from clobbering files outside the project root. (#3788)
  • Fix a regression issue that PDM_LOCKFILE env var is not respected. (#3794)
  • Allow configuring the default lock --exclude-newer value with strategy.exclude-newer. (#3795)

Don't miss a new pdm release

NewReleases is sending notifications on new releases.