Download Latest Version v1.2.2 source code.tar.gz (32.4 kB)
Email in envelope

Get an email when there's a new version of Python-Dotenv

Home / v1.2.2
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-03-01 2.5 kB
v1.2.2 source code.tar.gz 2026-03-01 32.4 kB
v1.2.2 source code.zip 2026-03-01 45.3 kB
Totals: 3 Items   80.2 kB 4

Added

  • Support for Python 3.14, including the free-threaded (3.14t) build. (#)

Changed

  • The dotenv run command now forwards flags directly to the specified command by @bbc2 in https://github.com/theskumar/python-dotenv/pull/607
  • Improved documentation clarity regarding override behavior and the reference page.
  • Updated PyPy support to version 3.11.
  • Documentation for FIFO file support.
  • Support for Python 3.9.

Fixed

Breaking Changes

  • 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.

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

  • 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.

Misc

New Contributors

Full Changelog: https://github.com/theskumar/python-dotenv/compare/v1.2.1...v1.2.2

Source: README.md, updated 2026-03-01