Skip to content

Commit eb20252

Browse files
committed
docs: update changelog for v1.2.2
1 parent 790c5c0 commit eb20252

File tree

1 file changed

+117
-76
lines changed

1 file changed

+117
-76
lines changed

CHANGELOG.md

Lines changed: 117 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,40 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this
66
project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

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+
- Dropped Support for Python 3.9.
21+
22+
### Fixed
23+
24+
- Improved `set_key` and `unset_key` behavior when interacting with symlinks by [@bbc2] in [#790c5](https://github.com/theskumar/python-dotenv/commit/790c5c02991100aa1bf41ee5330aca75edc51311)
25+
- Corrected the license specifier and added missing Python 3.14 classifiers in package metadata by [@JYOuyang] in [#590]
26+
27+
### Breaking Changes
28+
29+
- `dotenv.set_key` and `dotenv.unset_key` used to follow symlinks in some
30+
situations. This is no longer the case. For that behavior to be restored in
31+
all cases, `follow_symlinks=True` should be used.
32+
33+
- In the CLI, `set` and `unset` used to follow symlinks in some situations. This
34+
is no longer the case.
35+
36+
- `dotenv.set_key`, `dotenv.unset_key` and the CLI commands `set` and `unset`
37+
used to reset the file mode of the modified .env file to `0o600` in some
38+
situations. This is no longer the case: The original mode of the file is now
39+
preserved. Is the file needed to be created or wasn't a regular file, mode
40+
`0o600` is used.
41+
842
## [1.2.1] - 2025-10-26
943

1044
- Move more config to `pyproject.toml`, removed `setup.cfg`
@@ -20,9 +54,8 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
2054

2155
### Fixed
2256

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-
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)
2659

2760
## [1.1.0] - 2025-03-25
2861

@@ -43,56 +76,56 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
4376

4477
**Fixed**
4578

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])
79+
- Gracefully handle code which has been imported from a zipfile ([#456] by [@samwyma])
80+
- Allow modules using `load_dotenv` to be reloaded when launched in a separate thread ([#497] by [@freddyaboulton])
81+
- Fix file not closed after deletion, handle error in the rewrite function ([#469] by [@Qwerty-133])
4982

5083
**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])
84+
85+
- Use pathlib.Path in tests ([#466] by [@eumiro])
86+
- Fix year in release date in changelog.md ([#454] by [@jankislinger])
87+
- Use https in README links ([#474] by [@Nicals])
5488

5589
## [1.0.0] - 2023-02-24
5690

5791
**Fixed**
5892

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])
93+
- Drop support for python 3.7, add python 3.12-dev (#449 by [@theskumar])
94+
- Handle situations where the cwd does not exist. (#446 by [@jctanner])
6195

6296
## [0.21.1] - 2023-01-21
6397

6498
**Added**
6599

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-
100+
- Use Python 3.11 non-beta in CI (#438 by [@bbc2])
101+
- Modernize variables code (#434 by [@Nougat-Waffle])
102+
- Modernize main.py and parser.py code (#435 by [@Nougat-Waffle])
103+
- Improve conciseness of cli.py and **init**.py (#439 by [@Nougat-Waffle])
104+
- Improve error message for `get` and `list` commands when env file can't be opened (#441 by [@bbc2])
105+
- Updated License to align with BSD OSI template (#433 by [@lsmith77])
73106

74107
**Fixed**
75108

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])
109+
- Fix Out-of-scope error when "dest" variable is undefined (#413 by [@theGOTOguy])
110+
- Fix IPython test warning about deprecated `magic` (#440 by [@bbc2])
111+
- Fix type hint for dotenv_path var, add StrPath alias (#432 by [@eaf])
79112

80113
## [0.21.0] - 2022-09-03
81114

82115
**Added**
83116

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])
117+
- CLI: add support for invocations via 'python -m'. (#395 by [@theskumar])
118+
- `load_dotenv` function now returns `False`. (#388 by [@larsks])
119+
- CLI: add --format= option to list command. (#407 by [@sammck])
87120

88121
**Fixed**
89122

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])
123+
- Drop Python 3.5 and 3.6 and upgrade GA (#393 by [@eggplants])
124+
- Use `open` instead of `io.open`. (#389 by [@rabinadk1])
125+
- Improve documentation for variables without a value (#390 by [@bbc2])
126+
- Add `parse_it` to Related Projects (#410 by [@naorlivne])
127+
- Update README.md (#415 by [@harveer07])
128+
- Improve documentation with direct use of MkDocs (#398 by [@bbc2])
96129

97130
## [0.20.0] - 2022-03-24
98131

@@ -124,16 +157,16 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
124157

125158
**Changed**
126159

127-
- Require Python 3.5 or a later version. Python 2 and 3.4 are no longer supported. (#341
160+
- Require Python 3.5 or a later version. Python 2 and 3.4 are no longer supported. (#341
128161
by [@bbc2]).
129162

130163
**Added**
131164

132165
- 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]).
166+
os.PathLike]` instead of just `os.PathLike` (#347 by [@bbc2]).
134167
- The `stream` argument of `load_dotenv` and `dotenv_values` can now be a text stream
135168
(`IO[str]`), which includes values like `io.StringIO("foo")` and `open("file.env",
136-
"r")` (#348 by [@bbc2]).
169+
"r")` (#348 by [@bbc2]).
137170

138171
## [0.18.0] - 2021-06-20
139172

@@ -271,6 +304,7 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
271304
- Fix Unicode error in Python 2, introduced in 0.10.0. ([@bbc2])([#176])
272305

273306
## 0.10.1
307+
274308
- Fix parsing of variable without a value ([@asyncee])([@bbc2])([#158])
275309

276310
## 0.10.0
@@ -283,7 +317,6 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
283317
- Drop Python 3.3 support ([@greyli])
284318
- Fix stderr/-out/-in redirection ([@venthur])
285319

286-
287320
## 0.9.0
288321

289322
- Add `--version` parameter to cli ([@venthur])
@@ -292,81 +325,82 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
292325

293326
## 0.8.1
294327

295-
- Add tests for docs ([@Flimm])
296-
- Make 'cli' support optional. Use `pip install python-dotenv[cli]`. ([@theskumar])
328+
- Add tests for docs ([@Flimm])
329+
- Make 'cli' support optional. Use `pip install python-dotenv[cli]`. ([@theskumar])
297330

298331
## 0.8.0
299332

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])
333+
- `set_key` and `unset_key` only modified the affected file instead of
334+
parsing and re-writing file, this causes comments and other file
335+
entact as it is.
336+
- Add support for `export` prefix in the line.
337+
- Internal refractoring ([@theskumar])
338+
- Allow `load_dotenv` and `dotenv_values` to work with `StringIO())` ([@alanjds])([@theskumar])([#78])
306339

307340
## 0.7.1
308341

309-
- Remove hard dependency on iPython ([@theskumar])
342+
- Remove hard dependency on iPython ([@theskumar])
310343

311344
## 0.7.0
312345

313-
- Add support to override system environment variable via .env.
314-
([@milonimrod](https://github.com/milonimrod))
315-
([\#63](https://github.com/theskumar/python-dotenv/issues/63))
316-
- Disable ".env not found" warning by default
317-
([@maxkoryukov](https://github.com/maxkoryukov))
318-
([\#57](https://github.com/theskumar/python-dotenv/issues/57))
346+
- Add support to override system environment variable via .env.
347+
([@milonimrod](https://github.com/milonimrod))
348+
([\#63](https://github.com/theskumar/python-dotenv/issues/63))
349+
- Disable ".env not found" warning by default
350+
([@maxkoryukov](https://github.com/maxkoryukov))
351+
([\#57](https://github.com/theskumar/python-dotenv/issues/57))
319352

320353
## 0.6.5
321354

322-
- Add support for special characters `\`.
323-
([@pjona](https://github.com/pjona))
324-
([\#60](https://github.com/theskumar/python-dotenv/issues/60))
355+
- Add support for special characters `\`.
356+
([@pjona](https://github.com/pjona))
357+
([\#60](https://github.com/theskumar/python-dotenv/issues/60))
325358

326359
## 0.6.4
327360

328-
- Fix issue with single quotes ([@Flimm])
329-
([\#52](https://github.com/theskumar/python-dotenv/issues/52))
361+
- Fix issue with single quotes ([@Flimm])
362+
([\#52](https://github.com/theskumar/python-dotenv/issues/52))
330363

331364
## 0.6.3
332365

333-
- Handle unicode exception in setup.py
334-
([\#46](https://github.com/theskumar/python-dotenv/issues/46))
366+
- Handle unicode exception in setup.py
367+
([\#46](https://github.com/theskumar/python-dotenv/issues/46))
335368

336369
## 0.6.2
337370

338-
- Fix dotenv list command ([@ticosax](https://github.com/ticosax))
339-
- Add iPython Support
340-
([@tillahoffmann](https://github.com/tillahoffmann))
371+
- Fix dotenv list command ([@ticosax](https://github.com/ticosax))
372+
- Add iPython Support
373+
([@tillahoffmann](https://github.com/tillahoffmann))
341374

342375
## 0.6.0
343376

344-
- Drop support for Python 2.6
345-
- Handle escaped characters and newlines in quoted values. (Thanks
346-
[@iameugenejo](https://github.com/iameugenejo))
347-
- Remove any spaces around unquoted key/value. (Thanks
348-
[@paulochf](https://github.com/paulochf))
349-
- Added POSIX variable expansion. (Thanks
350-
[@hugochinchilla](https://github.com/hugochinchilla))
377+
- Drop support for Python 2.6
378+
- Handle escaped characters and newlines in quoted values. (Thanks
379+
[@iameugenejo](https://github.com/iameugenejo))
380+
- Remove any spaces around unquoted key/value. (Thanks
381+
[@paulochf](https://github.com/paulochf))
382+
- Added POSIX variable expansion. (Thanks
383+
[@hugochinchilla](https://github.com/hugochinchilla))
351384

352385
## 0.5.1
353386

354-
- Fix `find_dotenv` - it now start search from the file where this
355-
function is called from.
387+
- Fix `find_dotenv` - it now start search from the file where this
388+
function is called from.
356389

357390
## 0.5.0
358391

359-
- Add `find_dotenv` method that will try to find a `.env` file.
360-
(Thanks [@isms](https://github.com/isms))
392+
- Add `find_dotenv` method that will try to find a `.env` file.
393+
(Thanks [@isms](https://github.com/isms))
361394

362395
## 0.4.0
363396

364-
- cli: Added `-q/--quote` option to control the behaviour of quotes
365-
around values in `.env`. (Thanks
366-
[@hugochinchilla](https://github.com/hugochinchilla)).
367-
- Improved test coverage.
397+
- cli: Added `-q/--quote` option to control the behaviour of quotes
398+
around values in `.env`. (Thanks
399+
[@hugochinchilla](https://github.com/hugochinchilla)).
400+
- Improved test coverage.
368401

369402
<!-- PR LINKS -->
403+
370404
[#78]: https://github.com/theskumar/python-dotenv/issues/78
371405
[#121]: https://github.com/theskumar/python-dotenv/issues/121
372406
[#148]: https://github.com/theskumar/python-dotenv/issues/148
@@ -386,8 +420,11 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
386420
[#569]: https://github.com/theskumar/python-dotenv/issues/569
387421
[#583]: https://github.com/theskumar/python-dotenv/issues/583
388422
[#586]: https://github.com/theskumar/python-dotenv/issues/586
423+
[#590]: https://github.com/theskumar/python-dotenv/issues/590
424+
[#607]: https://github.com/theskumar/python-dotenv/issues/607
389425

390426
<!-- contributors -->
427+
391428
[@23f3001135]: https://github.com/23f3001135
392429
[@EpicWink]: https://github.com/EpicWink
393430
[@Flimm]: https://github.com/Flimm
@@ -437,8 +474,12 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
437474
[@x-yuri]: https://github.com/x-yuri
438475
[@yannham]: https://github.com/yannham
439476
[@zueve]: https://github.com/zueve
440-
441-
[Unreleased]: https://github.com/theskumar/python-dotenv/compare/v1.2.0...HEAD
477+
[@JYOuyang]: https://github.com/JYOuyang
478+
[@burnout-projects]: https://github.com/burnout-projects
479+
[@cpackham-atlnz]: https://github.com/cpackham-atlnz
480+
[Unreleased]: https://github.com/theskumar/python-dotenv/compare/v1.2.2...HEAD
481+
[1.2.2]: https://github.com/theskumar/python-dotenv/compare/v1.2.1...v1.2.2
482+
[1.2.1]: https://github.com/theskumar/python-dotenv/compare/v1.2.0...v1.2.1
442483
[1.2.0]: https://github.com/theskumar/python-dotenv/compare/v1.1.1...v1.2.0
443484
[1.1.1]: https://github.com/theskumar/python-dotenv/compare/v1.1.0...v1.1.1
444485
[1.1.0]: https://github.com/theskumar/python-dotenv/compare/v1.0.1...v1.1.0

0 commit comments

Comments
 (0)