All Versions
32
Latest Version
Avg Release Cycle
63 days
Latest Release
226 days ago

Changelog History
Page 1

  • v0.19.2 Changes

    November 11, 2021

    ๐Ÿ›  Fixed

    • In set_key, add missing newline character before new entry if necessary. (#361 by [@bbc2])
  • v0.19.1 Changes

    August 09, 2021

    โž• Added

    • โž• Add support for Python 3.10. (#359 by [@theskumar])
  • v0.19.0 Changes

    July 24, 2021

    ๐Ÿ”„ 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]).
  • v0.18.0 Changes

    June 20, 2021

    ๐Ÿ”„ Changed

    • Raise ValueError if quote_mode isn't one of always, auto or never in set_key (#330 by [@bbc2]).
    • When writing a value to a .env file with set_key or dotenv set <key> <value> (#330 by [@bbc2]):
      • Use single quotes instead of double quotes.
      • Don't strip surrounding quotes.
      • In auto mode, don't add quotes if the value is only made of alphanumeric characters (as determined by string.isalnum).
  • v0.17.1 Changes

    April 29, 2021

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed tests for build environments relying on PYTHONPATH (#318 by [@befeleme]).
  • v0.17.0 Changes

    April 02, 2021

    ๐Ÿ”„ Changed

    • ๐Ÿ‘‰ Make dotenv get <key> only show the value, not key=value (#313 by [@bbc2]).

    โž• Added

    • โž• Add --override/--no-override option to dotenv run (#312 by [@zueve] and [@bbc2]).
  • v0.16.0 Changes

    March 27, 2021

    ๐Ÿ”„ Changed

    • The default value of the encoding parameter for load_dotenv and dotenv_values is now "utf-8" instead of None (#306 by [@bbc2]).
    • ๐Ÿ›  Fix resolution order in variable expansion with override=False (#287 by [@bbc2]).
  • v0.15.0 Changes

    October 28, 2020

    โž• Added

    • โž• Add --export option to set to make it prepend the binding with export (#270 by [@jadutter]).

    ๐Ÿ”„ Changed

    • ๐Ÿ‘‰ Make set command create the .env file in the current directory if no .env file was found (#270 by [@jadutter]).

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix potentially empty expanded value for duplicate key (#260 by [@bbc2]).
    • ๐Ÿ›  Fix import error on Python 3.5.0 and 3.5.1 (#267 by [@gongqingkui]).
    • ๐Ÿ›  Fix parsing of unquoted values containing several adjacent space or tab characters (#277 by [@bbc2], review by [@x-yuri]).
  • v0.14.0 Changes

    July 03, 2020

    ๐Ÿ”„ Changed

    • Privilege definition in file over the environment in variable expansion (#256 by [@elbehery95]).

    ๐Ÿ›  Fixed

    • ๐Ÿ‘Œ Improve error message for when file isn't found (#245 by [@snobu]).
    • ๐Ÿ“ฆ Use HTTPS URL in package meta data (#251 by [@ekohl]).
  • v0.13.0 Changes

    April 16, 2020

    โž• Added

    • โž• Add support for a Bash-like default value in variable expansion (#248 by [@bbc2]).