Releases · theskumar/python-dotenv

v1.2.2

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 #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

  • Improved set_key and unset_key behavior when interacting with symlinks by @bbc2 in #790c5
  • Corrected the license specifier and added missing Python 3.14 classifiers in package metadata by @JYOuyang in #590

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: v1.2.1...v1.2.2

v1.2.1

v1.2.0

What's Changed

New Contributors

Full Changelog: v1.1.1...v1.2.0

v1.1.1

v1.1.0

What's Changed

New Contributors

Full Changelog: v1.0.1...v1.1.0

v1.0.1

What's Changed

New Contributors

Full Changelog: v1.0.0...v1.0.1

Version 1.0.0

Version 0.21.1

Added

Fixed

  • Fix Out-of-scope error when "dest" variable is undefined (#413 by @theGOTOguy)
  • Fix IPython test warning about deprecated magic (#440 by @bbc2)
  • Fix type hint for dotenv_path var, add StrPath alias (#432 by @eaf)

New Contributors

Full Changelog: v0.21.0...v0.21.1

Version 0.21.0

What's Changed

Added

  • CLI: add support for invocations via 'python -m'. (#395 by @theskumar)
  • load_dotenv function now returns False. (#388 by @larsks)
  • CLI: add --format= option to list command. (#407 by @sammck)

Fixed

New Contributors

Full Changelog: v0.20.0...v0.21.0

Version 0.19.2

What's Changed

Fixed

  • Add missing trailing newline before adding new entry with set_key by @bbc2 in #361

Full Changelog: v0.19.1...v0.19.2