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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+57-46Lines changed: 57 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,15 @@ 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
+
## [Unreleased]
9
+
10
+
- ...
11
+
8
12
## [1.2.2] - 2026-03-01
9
13
10
14
### Added
11
15
12
-
- Support for Python 3.14, including the free-threaded (3.14t) build. (#)
16
+
- Support for Python 3.14, including the free-threaded (3.14t) build. (#588)
13
17
14
18
### Changed
15
19
@@ -21,7 +25,7 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
21
25
22
26
### Fixed
23
27
24
-
- Improved `set_key` and `unset_key` behavior when interacting with symlinks by [@bbc2] in [#790c5](https://github.com/theskumar/python-dotenv/commit/790c5c02991100aa1bf41ee5330aca75edc51311)
28
+
- Improved `set_key` and `unset_key` behavior when interacting with symlinks by [@bbc2] in [790c5c0]
25
29
- Corrected the license specifier and added missing Python 3.14 classifiers in package metadata by [@JYOuyang] in [#590]
26
30
27
31
### Breaking Changes
@@ -47,55 +51,55 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
47
51
## [1.2.0] - 2025-10-26
48
52
49
53
- Upgrade build system to use PEP 517 & PEP 518 to use `build` and `pyproject.toml` by [@EpicWink] in [#583]
50
-
- Add support for Python 3.14 by [@23f3001135] in [#579](https://github.com/theskumar/python-dotenv/pull/563)
54
+
- Add support for Python 3.14 by [@23f3001135] in [#579]
51
55
- Add support for disabling of `load_dotenv()` using `PYTHON_DOTENV_DISABLED` env var. by [@matthewfranglen] in [#569]
52
56
53
57
## [1.1.1] - 2025-06-24
54
58
55
59
### Fixed
56
60
57
-
- CLI: Ensure `find_dotenv` work reliably on python 3.13 by [@theskumar] in [#563](https://github.com/theskumar/python-dotenv/pull/563)
58
-
- CLI: revert the use of execvpe on Windows by [@wrongontheinternet] in [#566](https://github.com/theskumar/python-dotenv/pull/566)
61
+
- CLI: Ensure `find_dotenv` work reliably on python 3.13 by [@theskumar] in [#563]
62
+
- CLI: revert the use of execvpe on Windows by [@wrongontheinternet] in [#566]
59
63
60
64
## [1.1.0] - 2025-03-25
61
65
62
-
**Feature**
66
+
### Added
63
67
64
68
- Add support for python 3.13
65
69
- Enhance `dotenv run`, switch to `execvpe` for better resource management and signal handling ([#523]) by [@eekstunt]
66
70
67
-
**Fixed**
71
+
### Fixed
68
72
69
73
-`find_dotenv` and `load_dotenv` now correctly looks up at the current directory when running in debugger or pdb ([#553] by [@randomseed42])
70
74
71
-
**Misc**
75
+
### Misc
72
76
73
77
- Drop support for Python 3.8
74
78
75
79
## [1.0.1] - 2024-01-23
76
80
77
-
**Fixed**
81
+
### Fixed
78
82
79
83
- Gracefully handle code which has been imported from a zipfile ([#456] by [@samwyma])
80
84
- Allow modules using `load_dotenv` to be reloaded when launched in a separate thread ([#497] by [@freddyaboulton])
81
85
- Fix file not closed after deletion, handle error in the rewrite function ([#469] by [@Qwerty-133])
82
86
83
-
**Misc**
87
+
### Misc
84
88
85
89
- Use pathlib.Path in tests ([#466] by [@eumiro])
86
90
- Fix year in release date in changelog.md ([#454] by [@jankislinger])
87
91
- Use https in README links ([#474] by [@Nicals])
88
92
89
93
## [1.0.0] - 2023-02-24
90
94
91
-
**Fixed**
95
+
### Fixed
92
96
93
97
- Drop support for python 3.7, add python 3.12-dev (#449 by [@theskumar])
94
98
- Handle situations where the cwd does not exist. (#446 by [@jctanner])
95
99
96
100
## [0.21.1] - 2023-01-21
97
101
98
-
**Added**
102
+
### Added
99
103
100
104
- Use Python 3.11 non-beta in CI (#438 by [@bbc2])
101
105
- Modernize variables code (#434 by [@Nougat-Waffle])
@@ -104,21 +108,21 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
104
108
- Improve error message for `get` and `list` commands when env file can't be opened (#441 by [@bbc2])
105
109
- Updated License to align with BSD OSI template (#433 by [@lsmith77])
106
110
107
-
**Fixed**
111
+
### Fixed
108
112
109
113
- Fix Out-of-scope error when "dest" variable is undefined (#413 by [@theGOTOguy])
110
114
- Fix IPython test warning about deprecated `magic` (#440 by [@bbc2])
111
115
- Fix type hint for dotenv_path var, add StrPath alias (#432 by [@eaf])
112
116
113
117
## [0.21.0] - 2022-09-03
114
118
115
-
**Added**
119
+
### Added
116
120
117
121
- CLI: add support for invocations via 'python -m'. (#395 by [@theskumar])
118
122
-`load_dotenv` function now returns `False`. (#388 by [@larsks])
119
123
- CLI: add --format= option to list command. (#407 by [@sammck])
120
124
121
-
**Fixed**
125
+
### Fixed
122
126
123
127
- Drop Python 3.5 and 3.6 and upgrade GA (#393 by [@eggplants])
124
128
- Use `open` instead of `io.open`. (#389 by [@rabinadk1])
@@ -129,38 +133,38 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
129
133
130
134
## [0.20.0] - 2022-03-24
131
135
132
-
**Added**
136
+
### Added
133
137
134
138
- Add `encoding` (`Optional[str]`) parameter to `get_key`, `set_key` and `unset_key`.
135
139
(#379 by [@bbc2])
136
140
137
-
**Fixed**
141
+
### Fixed
138
142
139
143
- Use dict to specify the `entry_points` parameter of `setuptools.setup` (#376 by
140
144
[@mgorny]).
141
145
- Don't build universal wheels (#387 by [@bbc2]).
142
146
143
147
## [0.19.2] - 2021-11-11
144
148
145
-
**Fixed**
149
+
### Fixed
146
150
147
151
- In `set_key`, add missing newline character before new entry if necessary. (#361 by
148
152
[@bbc2])
149
153
150
154
## [0.19.1] - 2021-08-09
151
155
152
-
**Added**
156
+
### Added
153
157
154
158
- Add support for Python 3.10. (#359 by [@theskumar])
155
159
156
160
## [0.19.0] - 2021-07-24
157
161
158
-
**Changed**
162
+
### Changed
159
163
160
164
- Require Python 3.5 or a later version. Python 2 and 3.4 are no longer supported. (#341
161
165
by [@bbc2]).
162
166
163
-
**Added**
167
+
### Added
164
168
165
169
- The `dotenv_path` argument of `set_key` and `unset_key` now has a type of `Union[str,
166
170
os.PathLike]` instead of just `os.PathLike` (#347 by [@bbc2]).
@@ -170,7 +174,7 @@ os.PathLike]` instead of just `os.PathLike` (#347 by [@bbc2]).
170
174
171
175
## [0.18.0] - 2021-06-20
172
176
173
-
**Changed**
177
+
### Changed
174
178
175
179
- Raise `ValueError` if `quote_mode` isn't one of `always`, `auto` or `never` in
176
180
`set_key` (#330 by [@bbc2]).
@@ -183,41 +187,41 @@ os.PathLike]` instead of just `os.PathLike` (#347 by [@bbc2]).
183
187
184
188
## [0.17.1] - 2021-04-29
185
189
186
-
**Fixed**
190
+
### Fixed
187
191
188
192
- Fixed tests for build environments relying on `PYTHONPATH` (#318 by [@befeleme]).
189
193
190
194
## [0.17.0] - 2021-04-02
191
195
192
-
**Changed**
196
+
### Changed
193
197
194
198
- Make `dotenv get <key>` only show the value, not `key=value` (#313 by [@bbc2]).
195
199
196
-
**Added**
200
+
### Added
197
201
198
202
- Add `--override`/`--no-override` option to `dotenv run` (#312 by [@zueve] and [@bbc2]).
199
203
200
204
## [0.16.0] - 2021-03-27
201
205
202
-
**Changed**
206
+
### Changed
203
207
204
208
- The default value of the `encoding` parameter for `load_dotenv` and `dotenv_values` is
205
209
now `"utf-8"` instead of `None` (#306 by [@bbc2]).
206
210
- Fix resolution order in variable expansion with `override=False` (#287 by [@bbc2]).
207
211
208
212
## [0.15.0] - 2020-10-28
209
213
210
-
**Added**
214
+
### Added
211
215
212
216
- Add `--export` option to `set` to make it prepend the binding with `export` (#270 by
213
217
[@jadutter]).
214
218
215
-
**Changed**
219
+
### Changed
216
220
217
221
- Make `set` command create the `.env` file in the current directory if no `.env` file was
218
222
found (#270 by [@jadutter]).
219
223
220
-
**Fixed**
224
+
### Fixed
221
225
222
226
- Fix potentially empty expanded value for duplicate key (#260 by [@bbc2]).
223
227
- Fix import error on Python 3.5.0 and 3.5.1 (#267 by [@gongqingkui]).
@@ -226,54 +230,54 @@ os.PathLike]` instead of just `os.PathLike` (#347 by [@bbc2]).
226
230
227
231
## [0.14.0] - 2020-07-03
228
232
229
-
**Changed**
233
+
### Changed
230
234
231
235
- Privilege definition in file over the environment in variable expansion (#256 by
232
236
[@elbehery95]).
233
237
234
-
**Fixed**
238
+
### Fixed
235
239
236
240
- Improve error message for when file isn't found (#245 by [@snobu]).
237
241
- Use HTTPS URL in package meta data (#251 by [@ekohl]).
238
242
239
243
## [0.13.0] - 2020-04-16
240
244
241
-
**Added**
245
+
### Added
242
246
243
247
- Add support for a Bash-like default value in variable expansion (#248 by [@bbc2]).
244
248
245
249
## [0.12.0] - 2020-02-28
246
250
247
-
**Changed**
251
+
### Changed
248
252
249
253
- Use current working directory to find `.env` when bundled by PyInstaller (#213 by
250
254
[@gergelyk]).
251
255
252
-
**Fixed**
256
+
### Fixed
253
257
254
258
- Fix escaping of quoted values written by `set_key` (#236 by [@bbc2]).
255
259
- Fix `dotenv run` crashing on environment variables without values (#237 by [@yannham]).
256
260
- Remove warning when last line is empty (#238 by [@bbc2]).
257
261
258
262
## [0.11.0] - 2020-02-07
259
263
260
-
**Added**
264
+
### Added
261
265
262
266
- Add `interpolate` argument to `load_dotenv` and `dotenv_values` to disable interpolation
263
267
(#232 by [@ulyssessouza]).
264
268
265
-
**Changed**
269
+
### Changed
266
270
267
271
- Use logging instead of warnings (#231 by [@bbc2]).
268
272
269
-
**Fixed**
273
+
### Fixed
270
274
271
275
- Fix installation in non-UTF-8 environments (#225 by [@altendky]).
272
276
- Fix PyPI classifiers (#228 by [@bbc2]).
273
277
274
278
## [0.10.5] - 2020-01-19
275
279
276
-
**Fixed**
280
+
### Fixed
277
281
278
282
- Fix handling of malformed lines and lines without a value (#222 by [@bbc2]):
279
283
- Don't print warning when key has no value.
@@ -282,7 +286,7 @@ os.PathLike]` instead of just `os.PathLike` (#347 by [@bbc2]).
282
286
283
287
## [0.10.4] - 2020-01-17
284
288
285
-
**Added**
289
+
### Added
286
290
287
291
- Make typing optional (#179 by [@techalchemy]).
288
292
- Print a warning on malformed line (#211 by [@bbc2]).
@@ -422,6 +426,13 @@ os.PathLike]` instead of just `os.PathLike` (#347 by [@bbc2]).
0 commit comments