python-dotenv v0.19.0 Release Notes

Release Date: 2021-07-24 // 10 months ago
  • ๐Ÿ”„ Changed

    • ๐Ÿ‘ Require Python 3.5 or a later version. Python 2 and 3.4 are no longer supported. (#341 by [@bbc2]).

    โž• Added

    • The dotenv_path argument of set_key and unset_key now has a type of Union[str, os.PathLike] instead of just os.PathLike (#347 by [@bbc2]).
    • The stream argument of load_dotenv and dotenv_values can now be a text stream (IO[str]), which includes values like io.StringIO("foo") and open("file.env", "r") (#348 by [@bbc2]).