All Versions
34
Latest Version
Avg Release Cycle
71 days
Latest Release
796 days ago
Changelog History
Page 1
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 returnsFalse
. (#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 ofio.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 toget_key
,set_key
andunset_key
. (#379 by [@bbc2])
๐ Fixed
- ๐ Use dict to specify the
entry_points
parameter ofsetuptools.setup
(#376 by [@mgorny]). - ๐ Don't build universal wheels (#387 by [@bbc2]).
- Add
-
v0.19.2 Changes
November 11, 2021๐ Fixed
- In
set_key
, add missing newline character before new entry if necessary. (#361 by [@bbc2])
- In
-
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 ofset_key
andunset_key
now has a type ofUnion[str, os.PathLike]
instead of justos.PathLike
(#347 by [@bbc2]). - The
stream
argument ofload_dotenv
anddotenv_values
can now be a text stream (IO[str]
), which includes values likeio.StringIO("foo")
andopen("file.env", "r")
(#348 by [@bbc2]).
-
v0.18.0 Changes
June 20, 2021๐ Changed
- Raise
ValueError
ifquote_mode
isn't one ofalways
,auto
ornever
inset_key
(#330 by [@bbc2]). - When writing a value to a .env file with
set_key
ordotenv 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 bystring.isalnum
).
- Raise
-
v0.17.1 Changes
April 29, 2021๐ Fixed
- ๐ Fixed tests for build environments relying on
PYTHONPATH
(#318 by [@befeleme]).
- ๐ Fixed tests for build environments relying on
-
v0.17.0 Changes
April 02, 2021๐ Changed
- ๐ Make
dotenv get <key>
only show the value, notkey=value
(#313 by [@bbc2]).
โ Added
- โ Add
--override
/--no-override
option todotenv run
(#312 by [@zueve] and [@bbc2]).
- ๐ Make
-
v0.16.0 Changes
March 27, 2021๐ Changed
- The default value of the
encoding
parameter forload_dotenv
anddotenv_values
is now"utf-8"
instead ofNone
(#306 by [@bbc2]). - ๐ Fix resolution order in variable expansion with
override=False
(#287 by [@bbc2]).
- The default value of the
-
v0.15.0 Changes
October 28, 2020โ Added
- โ Add
--export
option toset
to make it prepend the binding withexport
(#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]).
- โ Add