You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -5,6 +5,28 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this
6
6
project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [v1.2.2] - 2026-03-01
9
+
10
+
### Added
11
+
12
+
- Support for Python 3.14, including the free-threaded (3.14t) build. (#)
13
+
14
+
### Changed
15
+
16
+
- The `dotenv run` command now forwards flags directly to the specified command by [@bbc2] in [#607]
17
+
- Improved documentation clarity regarding override behavior and the reference page.
18
+
- Updated PyPy support to version 3.11.
19
+
- Documentation for FIFO file support.
20
+
21
+
### Removed
22
+
23
+
- Support for Python 3.9.
24
+
25
+
### Fixed
26
+
27
+
- Improved `set_key` and `unset_key` behavior when interacting with symlinks by [@bbc2] in [#790c5](https://github.com/theskumar/python-dotenv/commit/790c5c02991100aa1bf41ee5330aca75edc51311)
28
+
- Corrected the license specifier and added missing Python 3.14 classifiers in package metadata by [@JYOuyang] in [#590]
29
+
8
30
## [1.2.1] - 2025-10-26
9
31
10
32
- Move more config to `pyproject.toml`, removed `setup.cfg`
@@ -20,9 +42,8 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
20
42
21
43
### Fixed
22
44
23
-
* CLI: Ensure `find_dotenv` work reliably on python 3.13 by [@theskumar] in [#563](https://github.com/theskumar/python-dotenv/pull/563)
24
-
* CLI: revert the use of execvpe on Windows by [@wrongontheinternet] in [#566](https://github.com/theskumar/python-dotenv/pull/566)
25
-
45
+
- CLI: Ensure `find_dotenv` work reliably on python 3.13 by [@theskumar] in [#563](https://github.com/theskumar/python-dotenv/pull/563)
46
+
- CLI: revert the use of execvpe on Windows by [@wrongontheinternet] in [#566](https://github.com/theskumar/python-dotenv/pull/566)
26
47
27
48
## [1.1.0] - 2025-03-25
28
49
@@ -43,56 +64,56 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
43
64
44
65
**Fixed**
45
66
46
-
* Gracefully handle code which has been imported from a zipfile ([#456] by [@samwyma])
47
-
* Allow modules using `load_dotenv` to be reloaded when launched in a separate thread ([#497] by [@freddyaboulton])
48
-
* Fix file not closed after deletion, handle error in the rewrite function ([#469] by [@Qwerty-133])
67
+
- Gracefully handle code which has been imported from a zipfile ([#456] by [@samwyma])
68
+
- Allow modules using `load_dotenv` to be reloaded when launched in a separate thread ([#497] by [@freddyaboulton])
69
+
- Fix file not closed after deletion, handle error in the rewrite function ([#469] by [@Qwerty-133])
49
70
50
71
**Misc**
51
-
* Use pathlib.Path in tests ([#466] by [@eumiro])
52
-
* Fix year in release date in changelog.md ([#454] by [@jankislinger])
53
-
* Use https in README links ([#474] by [@Nicals])
72
+
73
+
- Use pathlib.Path in tests ([#466] by [@eumiro])
74
+
- Fix year in release date in changelog.md ([#454] by [@jankislinger])
75
+
- Use https in README links ([#474] by [@Nicals])
54
76
55
77
## [1.0.0] - 2023-02-24
56
78
57
79
**Fixed**
58
80
59
-
* Drop support for python 3.7, add python 3.12-dev (#449 by [@theskumar])
60
-
* Handle situations where the cwd does not exist. (#446 by [@jctanner])
81
+
- Drop support for python 3.7, add python 3.12-dev (#449 by [@theskumar])
82
+
- Handle situations where the cwd does not exist. (#446 by [@jctanner])
61
83
62
84
## [0.21.1] - 2023-01-21
63
85
64
86
**Added**
65
87
66
-
* Use Python 3.11 non-beta in CI (#438 by [@bbc2])
67
-
* Modernize variables code (#434 by [@Nougat-Waffle])
68
-
* Modernize main.py and parser.py code (#435 by [@Nougat-Waffle])
69
-
* Improve conciseness of cli.py and __init__.py (#439 by [@Nougat-Waffle])
70
-
* Improve error message for `get` and `list` commands when env file can't be opened (#441 by [@bbc2])
71
-
* Updated License to align with BSD OSI template (#433 by [@lsmith77])
72
-
88
+
- Use Python 3.11 non-beta in CI (#438 by [@bbc2])
89
+
- Modernize variables code (#434 by [@Nougat-Waffle])
90
+
- Modernize main.py and parser.py code (#435 by [@Nougat-Waffle])
91
+
- Improve conciseness of cli.py and **init**.py (#439 by [@Nougat-Waffle])
92
+
- Improve error message for `get` and `list` commands when env file can't be opened (#441 by [@bbc2])
93
+
- Updated License to align with BSD OSI template (#433 by [@lsmith77])
73
94
74
95
**Fixed**
75
96
76
-
* Fix Out-of-scope error when "dest" variable is undefined (#413 by [@theGOTOguy])
77
-
* Fix IPython test warning about deprecated `magic` (#440 by [@bbc2])
78
-
* Fix type hint for dotenv_path var, add StrPath alias (#432 by [@eaf])
97
+
- Fix Out-of-scope error when "dest" variable is undefined (#413 by [@theGOTOguy])
98
+
- Fix IPython test warning about deprecated `magic` (#440 by [@bbc2])
99
+
- Fix type hint for dotenv_path var, add StrPath alias (#432 by [@eaf])
79
100
80
101
## [0.21.0] - 2022-09-03
81
102
82
103
**Added**
83
104
84
-
* CLI: add support for invocations via 'python -m'. (#395 by [@theskumar])
85
-
*`load_dotenv` function now returns `False`. (#388 by [@larsks])
86
-
* CLI: add --format= option to list command. (#407 by [@sammck])
105
+
- CLI: add support for invocations via 'python -m'. (#395 by [@theskumar])
106
+
-`load_dotenv` function now returns `False`. (#388 by [@larsks])
107
+
- CLI: add --format= option to list command. (#407 by [@sammck])
87
108
88
109
**Fixed**
89
110
90
-
* Drop Python 3.5 and 3.6 and upgrade GA (#393 by [@eggplants])
91
-
* Use `open` instead of `io.open`. (#389 by [@rabinadk1])
92
-
* Improve documentation for variables without a value (#390 by [@bbc2])
93
-
* Add `parse_it` to Related Projects (#410 by [@naorlivne])
94
-
* Update README.md (#415 by [@harveer07])
95
-
* Improve documentation with direct use of MkDocs (#398 by [@bbc2])
111
+
- Drop Python 3.5 and 3.6 and upgrade GA (#393 by [@eggplants])
112
+
- Use `open` instead of `io.open`. (#389 by [@rabinadk1])
113
+
- Improve documentation for variables without a value (#390 by [@bbc2])
114
+
- Add `parse_it` to Related Projects (#410 by [@naorlivne])
115
+
- Update README.md (#415 by [@harveer07])
116
+
- Improve documentation with direct use of MkDocs (#398 by [@bbc2])
96
117
97
118
## [0.20.0] - 2022-03-24
98
119
@@ -124,16 +145,16 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
124
145
125
146
**Changed**
126
147
127
-
- Require Python 3.5 or a later version. Python 2 and 3.4 are no longer supported. (#341
148
+
- Require Python 3.5 or a later version. Python 2 and 3.4 are no longer supported. (#341
128
149
by [@bbc2]).
129
150
130
151
**Added**
131
152
132
153
- The `dotenv_path` argument of `set_key` and `unset_key` now has a type of `Union[str,
133
-
os.PathLike]` instead of just `os.PathLike` (#347 by [@bbc2]).
154
+
os.PathLike]` instead of just `os.PathLike` (#347 by [@bbc2]).
134
155
- The `stream` argument of `load_dotenv` and `dotenv_values` can now be a text stream
135
156
(`IO[str]`), which includes values like `io.StringIO("foo")` and `open("file.env",
136
-
"r")` (#348 by [@bbc2]).
157
+
"r")` (#348 by [@bbc2]).
137
158
138
159
## [0.18.0] - 2021-06-20
139
160
@@ -271,6 +292,7 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
271
292
- Fix Unicode error in Python 2, introduced in 0.10.0. ([@bbc2])([#176])
272
293
273
294
## 0.10.1
295
+
274
296
- Fix parsing of variable without a value ([@asyncee])([@bbc2])([#158])
275
297
276
298
## 0.10.0
@@ -283,7 +305,6 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
283
305
- Drop Python 3.3 support ([@greyli])
284
306
- Fix stderr/-out/-in redirection ([@venthur])
285
307
286
-
287
308
## 0.9.0
288
309
289
310
- Add `--version` parameter to cli ([@venthur])
@@ -292,81 +313,82 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
292
313
293
314
## 0.8.1
294
315
295
-
-Add tests for docs ([@Flimm])
296
-
-Make 'cli' support optional. Use `pip install python-dotenv[cli]`. ([@theskumar])
316
+
- Add tests for docs ([@Flimm])
317
+
- Make 'cli' support optional. Use `pip install python-dotenv[cli]`. ([@theskumar])
297
318
298
319
## 0.8.0
299
320
300
-
-`set_key` and `unset_key` only modified the affected file instead of
301
-
parsing and re-writing file, this causes comments and other file
302
-
entact as it is.
303
-
-Add support for `export` prefix in the line.
304
-
-Internal refractoring ([@theskumar])
305
-
-Allow `load_dotenv` and `dotenv_values` to work with `StringIO())` ([@alanjds])([@theskumar])([#78])
321
+
-`set_key` and `unset_key` only modified the affected file instead of
322
+
parsing and re-writing file, this causes comments and other file
323
+
entact as it is.
324
+
- Add support for `export` prefix in the line.
325
+
- Internal refractoring ([@theskumar])
326
+
- Allow `load_dotenv` and `dotenv_values` to work with `StringIO())` ([@alanjds])([@theskumar])([#78])
306
327
307
328
## 0.7.1
308
329
309
-
-Remove hard dependency on iPython ([@theskumar])
330
+
- Remove hard dependency on iPython ([@theskumar])
310
331
311
332
## 0.7.0
312
333
313
-
-Add support to override system environment variable via .env.
0 commit comments