python-dotenv breaking changes

pypi

3 curated breaking changes across major versions of python-dotenv. Use this as a migration checklist before bumping dependencies.

3
changes
Breaking changes by transition
  • v1.2.1 \u2192 v1.2.2breaking

    `dotenv.set_key` and `dotenv.unset_key` used to follow symlinks in some situations. This is no longer the case. For that behavior to be restored in all cases, `follow_symlinks=True` should be used.

  • v1.2.1 \u2192 v1.2.2breaking

    In the CLI, `set` and `unset` used to follow symlinks in some situations. This is no longer the case.

  • v1.2.1 \u2192 v1.2.2breaking

    `dotenv.set_key`, `dotenv.unset_key` and the CLI commands `set` and `unset` used to reset the file mode of the modified .env file to `0o600` in some situations. This is no longer the case: The original mode of the file is now preserved. Is the file needed to be created or wasn't a regular file, mode `0o600` is used.

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/pypi/python-dotenv
python-dotenv breaking changes — PyPI migration guide | DepScope