All Versions
34
Latest Version
Avg Release Cycle
71 days
Latest Release
761 days ago

Changelog History
Page 1

  • v0.21.0 Changes

    September 03, 2022

    โž• 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

    • โฌ†๏ธ Drop Python 3.5 and 3.6 and upgrade GA (#393 by @eggplants)
    • ๐Ÿ‘‰ Use open instead of io.open. (#389 by @rabinadk1)
    • ๐Ÿ‘Œ Improve documentation for variables without a value (#390 by @bbc2)
    • โž• Add parse_it to Related Projects by (#410 by @naorlivne)
    • โšก๏ธ Update README.md by (#415 by @harveer07)
    • ๐Ÿ‘Œ Improve documentation with direct use of MkDocs by (#398 by @bbc2)
  • v0.20.0 Changes

    March 24, 2022

    โž• Added

    • Add encoding (Optional[str]) parameter to get_key, set_key and unset_key. (#379 by [@bbc2])

    ๐Ÿ›  Fixed

    • ๐Ÿ‘‰ Use dict to specify the entry_points parameter of setuptools.setup (#376 by [@mgorny]).
    • ๐Ÿ— Don't build universal wheels (#387 by [@bbc2]).
  • 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]).