@@ -5,40 +5,95 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) , and this
66project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 1.0.1] - 2024-01-23
9+
10+ ** Fixed**
11+
12+ * Gracefully handle code which has been imported from a zipfile ([ #456 ] by [ @samwyma ] )
13+ * Allow modules using load_dotenv to be reloaded when launched in a separate thread ([ #497 ] by [ @freddyaboulton ] )
14+ * Fix file not closed after deletion, handle error in the rewrite function ([ #469 ] by [ @Qwerty-133 ] )
15+
16+ ** Misc**
17+ * Use pathlib.Path in tests ([ #466 ] by [ @eumiro ] )
18+ * Fix year in release date in changelog.md ([ #454 ] by [ @jankislinger ] )
19+ * Use https in README links ([ #474 ] by [ @Nicals ] )
20+
21+ ## [ 1.0.0] - 2023-02-24
22+
23+ ** Fixed**
24+
25+ * Drop support for python 3.7, add python 3.12-dev (#449 by [ @theskumar ] )
26+ * Handle situations where the cwd does not exist. (#446 by [ @jctanner ] )
27+
28+ ## [ 0.21.1] - 2023-01-21
29+
30+ ** Added**
31+
32+ * Use Python 3.11 non-beta in CI (#438 by [ @bbc2 ] )
33+ * Modernize variables code (#434 by [ @Nougat-Waffle ] )
34+ * Modernize main.py and parser.py code (#435 by [ @Nougat-Waffle ] )
35+ * Improve conciseness of cli.py and __ init__ .py (#439 by [ @Nougat-Waffle ] )
36+ * Improve error message for ` get ` and ` list ` commands when env file can't be opened (#441 by [ @bbc2 ] )
37+ * Updated License to align with BSD OSI template (#433 by [ @lsmith77 ] )
38+
39+
40+ ** Fixed**
41+
42+ * Fix Out-of-scope error when "dest" variable is undefined (#413 by [ @theGOTOguy ] )
43+ * Fix IPython test warning about deprecated ` magic ` (#440 by [ @bbc2 ] )
44+ * Fix type hint for dotenv_path var, add StrPath alias (#432 by [ @eaf ] )
45+
46+ ## [ 0.21.0] - 2022-09-03
47+
48+ ** Added**
49+
50+ * CLI: add support for invocations via 'python -m'. (#395 by [ @theskumar ] )
51+ * ` load_dotenv ` function now returns ` False ` . (#388 by [ @larsks ] )
52+ * CLI: add --format= option to list command. (#407 by [ @sammck ] )
53+
54+ ** Fixed**
55+
56+ * Drop Python 3.5 and 3.6 and upgrade GA (#393 by [ @eggplants ] )
57+ * Use ` open ` instead of ` io.open ` . (#389 by [ @rabinadk1 ] )
58+ * Improve documentation for variables without a value (#390 by [ @bbc2 ] )
59+ * Add ` parse_it ` to Related Projects (#410 by [ @naorlivne ] )
60+ * Update README.md (#415 by [ @harveer07 ] )
61+ * Improve documentation with direct use of MkDocs (#398 by [ @bbc2 ] )
62+
863## [ 0.20.0] - 2022-03-24
964
10- ### Added
65+ ** Added**
1166
1267- Add ` encoding ` (` Optional[str] ` ) parameter to ` get_key ` , ` set_key ` and ` unset_key ` .
1368 (#379 by [ @bbc2 ] )
1469
15- ### Fixed
70+ ** Fixed**
1671
1772- Use dict to specify the ` entry_points ` parameter of ` setuptools.setup ` (#376 by
1873 [ @mgorny ] ).
1974- Don't build universal wheels (#387 by [ @bbc2 ] ).
2075
2176## [ 0.19.2] - 2021-11-11
2277
23- ### Fixed
78+ ** Fixed**
2479
2580- In ` set_key ` , add missing newline character before new entry if necessary. (#361 by
2681 [ @bbc2 ] )
2782
2883## [ 0.19.1] - 2021-08-09
2984
30- ### Added
85+ ** Added**
3186
3287- Add support for Python 3.10. (#359 by [ @theskumar ] )
3388
3489## [ 0.19.0] - 2021-07-24
3590
36- ### Changed
91+ ** Changed**
3792
3893- Require Python 3.5 or a later version. Python 2 and 3.4 are no longer supported. (#341
3994 by [ @bbc2 ] ).
4095
41- ### Added
96+ ** Added**
4297
4398- The ` dotenv_path ` argument of ` set_key ` and ` unset_key ` now has a type of `Union[ str,
4499 os.PathLike] ` instead of just ` os.PathLike` (#347 by [ @bbc2 ] ).
@@ -48,7 +103,7 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
48103
49104## [ 0.18.0] - 2021-06-20
50105
51- ### Changed
106+ ** Changed**
52107
53108- Raise ` ValueError ` if ` quote_mode ` isn't one of ` always ` , ` auto ` or ` never ` in
54109 ` set_key ` (#330 by [ @bbc2 ] ).
@@ -61,41 +116,41 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
61116
62117## [ 0.17.1] - 2021-04-29
63118
64- ### Fixed
119+ ** Fixed**
65120
66121- Fixed tests for build environments relying on ` PYTHONPATH ` (#318 by [ @befeleme ] ).
67122
68123## [ 0.17.0] - 2021-04-02
69124
70- ### Changed
125+ ** Changed**
71126
72127- Make ` dotenv get <key> ` only show the value, not ` key=value ` (#313 by [ @bbc2 ] ).
73128
74- ### Added
129+ ** Added**
75130
76131- Add ` --override ` /` --no-override ` option to ` dotenv run ` (#312 by [ @zueve ] and [ @bbc2 ] ).
77132
78133## [ 0.16.0] - 2021-03-27
79134
80- ### Changed
135+ ** Changed**
81136
82137- The default value of the ` encoding ` parameter for ` load_dotenv ` and ` dotenv_values ` is
83138 now ` "utf-8" ` instead of ` None ` (#306 by [ @bbc2 ] ).
84139- Fix resolution order in variable expansion with ` override=False ` (#287 by [ @bbc2 ] ).
85140
86141## [ 0.15.0] - 2020-10-28
87142
88- ### Added
143+ ** Added**
89144
90145- Add ` --export ` option to ` set ` to make it prepend the binding with ` export ` (#270 by
91146 [ @jadutter ] ).
92147
93- ### Changed
148+ ** Changed**
94149
95150- Make ` set ` command create the ` .env ` file in the current directory if no ` .env ` file was
96151 found (#270 by [ @jadutter ] ).
97152
98- ### Fixed
153+ ** Fixed**
99154
100155- Fix potentially empty expanded value for duplicate key (#260 by [ @bbc2 ] ).
101156- Fix import error on Python 3.5.0 and 3.5.1 (#267 by [ @gongqingkui ] ).
@@ -104,54 +159,54 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
104159
105160## [ 0.14.0] - 2020-07-03
106161
107- ### Changed
162+ ** Changed**
108163
109164- Privilege definition in file over the environment in variable expansion (#256 by
110165 [ @elbehery95 ] ).
111166
112- ### Fixed
167+ ** Fixed**
113168
114169- Improve error message for when file isn't found (#245 by [ @snobu ] ).
115170- Use HTTPS URL in package meta data (#251 by [ @ekohl ] ).
116171
117172## [ 0.13.0] - 2020-04-16
118173
119- ### Added
174+ ** Added**
120175
121176- Add support for a Bash-like default value in variable expansion (#248 by [ @bbc2 ] ).
122177
123178## [ 0.12.0] - 2020-02-28
124179
125- ### Changed
180+ ** Changed**
126181
127182- Use current working directory to find ` .env ` when bundled by PyInstaller (#213 by
128183 [ @gergelyk ] ).
129184
130- ### Fixed
185+ ** Fixed**
131186
132187- Fix escaping of quoted values written by ` set_key ` (#236 by [ @bbc2 ] ).
133188- Fix ` dotenv run ` crashing on environment variables without values (#237 by [ @yannham ] ).
134189- Remove warning when last line is empty (#238 by [ @bbc2 ] ).
135190
136191## [ 0.11.0] - 2020-02-07
137192
138- ### Added
193+ ** Added**
139194
140195- Add ` interpolate ` argument to ` load_dotenv ` and ` dotenv_values ` to disable interpolation
141196 (#232 by [ @ulyssessouza ] ).
142197
143- ### Changed
198+ ** Changed**
144199
145200- Use logging instead of warnings (#231 by [ @bbc2 ] ).
146201
147- ### Fixed
202+ ** Fixed**
148203
149204- Fix installation in non-UTF-8 environments (#225 by [ @altendky ] ).
150205- Fix PyPI classifiers (#228 by [ @bbc2 ] ).
151206
152207## [ 0.10.5] - 2020-01-19
153208
154- ### Fixed
209+ ** Fixed**
155210
156211- Fix handling of malformed lines and lines without a value (#222 by [ @bbc2 ] ):
157212 - Don't print warning when key has no value.
@@ -160,7 +215,7 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
160215
161216## [ 0.10.4] - 2020-01-17
162217
163- ### Added
218+ ** Added**
164219
165220- Make typing optional (#179 by [ @techalchemy ] ).
166221- Print a warning on malformed line (#211 by [ @bbc2 ] ).
@@ -286,34 +341,61 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
286341[ #176 ] : https://github.com/theskumar/python-dotenv/issues/176
287342[ #183 ] : https://github.com/theskumar/python-dotenv/issues/183
288343[ #359 ] : https://github.com/theskumar/python-dotenv/issues/359
344+ [ #469 ] : https://github.com/theskumar/python-dotenv/issues/469
345+ [ #456 ] : https://github.com/theskumar/python-dotenv/issues/456
346+ [ #466 ] : https://github.com/theskumar/python-dotenv/issues/466
347+ [ #454 ] : https://github.com/theskumar/python-dotenv/issues/454
348+ [ #474 ] : https://github.com/theskumar/python-dotenv/issues/474
289349
290- [ @Flimm ] : https://github.com/Flimm
291350[ @alanjds ] : https://github.com/alanjds
292351[ @altendky ] : https://github.com/altendky
293352[ @andrewsmith ] : https://github.com/andrewsmith
294353[ @asyncee ] : https://github.com/asyncee
295354[ @bbc2 ] : https://github.com/bbc2
296355[ @befeleme ] : https://github.com/befeleme
297356[ @cjauvin ] : https://github.com/cjauvin
357+ [ @eaf ] : https://github.com/eaf
298358[ @earlbread ] : https://github.com/earlbread
359+ [ @eggplants ] : https://github.com/@eggplants
299360[ @ekohl ] : https://github.com/ekohl
300361[ @elbehery95 ] : https://github.com/elbehery95
362+ [ @eumiro ] : https://github.com/eumiro
363+ [ @Flimm ] : https://github.com/Flimm
364+ [ @freddyaboulton ] : https://github.com/freddyaboulton
301365[ @gergelyk ] : https://github.com/gergelyk
302366[ @gongqingkui ] : https://github.com/gongqingkui
303367[ @greyli ] : https://github.com/greyli
368+ [ @harveer07 ] : https://github.com/@harveer07
304369[ @jadutter ] : https://github.com/jadutter
370+ [ @jankislinger ] : https://github.com/jankislinger
371+ [ @jctanner ] : https://github.com/jctanner
372+ [ @larsks ] : https://github.com/@larsks
373+ [ @lsmith77 ] : https://github.com/lsmith77
305374[ @mgorny ] : https://github.com/mgorny
375+ [ @naorlivne ] : https://github.com/@naorlivne
376+ [ @Nicals ] : https://github.com/Nicals
377+ [ @Nougat-Waffle ] : https://github.com/Nougat-Waffle
306378[ @qnighy ] : https://github.com/qnighy
379+ [ @Qwerty-133 ] : https://github.com/Qwerty-133
380+ [ @rabinadk1 ] : https://github.com/@rabinadk1
381+ [ @sammck ] : https://github.com/@sammck
382+ [ @samwyma ] : https://github.com/samwyma
307383[ @snobu ] : https://github.com/snobu
308384[ @techalchemy ] : https://github.com/techalchemy
385+ [ @theGOTOguy ] : https://github.com/theGOTOguy
309386[ @theskumar ] : https://github.com/theskumar
310387[ @ulyssessouza ] : https://github.com/ulyssessouza
311388[ @venthur ] : https://github.com/venthur
312389[ @x-yuri ] : https://github.com/x-yuri
313390[ @yannham ] : https://github.com/yannham
314391[ @zueve ] : https://github.com/zueve
315392
316- [ Unreleased ] : https://github.com/theskumar/python-dotenv/compare/v0.20.0...HEAD
393+
394+ [ Unreleased ] : https://github.com/theskumar/python-dotenv/compare/v1.0.1...HEAD
395+ [ 1.0.1 ] : https://github.com/theskumar/python-dotenv/compare/v1.0.0...v1.0.1
396+ [ 1.0.0 ] : https://github.com/theskumar/python-dotenv/compare/v0.21.0...v1.0.0
397+ [ 0.21.1 ] : https://github.com/theskumar/python-dotenv/compare/v0.21.0...v0.21.1
398+ [ 0.21.0 ] : https://github.com/theskumar/python-dotenv/compare/v0.20.0...v0.21.0
317399[ 0.20.0 ] : https://github.com/theskumar/python-dotenv/compare/v0.19.2...v0.20.0
318400[ 0.19.2 ] : https://github.com/theskumar/python-dotenv/compare/v0.19.1...v0.19.2
319401[ 0.19.1 ] : https://github.com/theskumar/python-dotenv/compare/v0.19.0...v0.19.1
0 commit comments