Skip to content

Commit b87807f

Browse files
committed
Update changelog
1 parent 3af77d3 commit b87807f

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ 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+
## [1.2.1] - 2025-10-26
9+
10+
- Move more config to `pyproject.toml`, removed `setup.cfg`
11+
- Add support for reading `.env` from FIFOs (Unix) by [@sidharth-sudhir] in [#586]
12+
813
## [1.2.0] - 2025-10-26
914

1015
- Upgrade build system to use PEP 517 & PEP 518 to use `build` and `pyproject.toml` by [@EpicWink] in [#583]
@@ -361,6 +366,7 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
361366
[@hugochinchilla](https://github.com/hugochinchilla)).
362367
- Improved test coverage.
363368

369+
<!-- PR LINKS -->
364370
[#78]: https://github.com/theskumar/python-dotenv/issues/78
365371
[#121]: https://github.com/theskumar/python-dotenv/issues/121
366372
[#148]: https://github.com/theskumar/python-dotenv/issues/148
@@ -379,7 +385,9 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
379385
[#553]: https://github.com/theskumar/python-dotenv/issues/553
380386
[#569]: https://github.com/theskumar/python-dotenv/issues/569
381387
[#583]: https://github.com/theskumar/python-dotenv/issues/583
388+
[#586]: https://github.com/theskumar/python-dotenv/issues/586
382389

390+
<!-- contributors -->
383391
[@23f3001135]: https://github.com/23f3001135
384392
[@EpicWink]: https://github.com/EpicWink
385393
[@Flimm]: https://github.com/Flimm
@@ -418,6 +426,7 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
418426
[@randomseed42]: https://github.com/zueve
419427
[@sammck]: https://github.com/@sammck
420428
[@samwyma]: https://github.com/samwyma
429+
[@sidharth-sudhir]: https://github.com/sidharth-sudhir
421430
[@snobu]: https://github.com/snobu
422431
[@techalchemy]: https://github.com/techalchemy
423432
[@theGOTOguy]: https://github.com/theGOTOguy

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ clean: clean-build clean-pyc
44

55
clean-build:
66
rm -fr build/
7+
rm -rf .mypy_cache/
8+
rm -rf .tox/
9+
rm -rf site/
710
rm -fr dist/
811
rm -fr src/*.egg-info
12+
rm .coverage
913

1014
clean-pyc:
1115
find . -name '*.pyc' -exec rm -f {} +

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,13 @@ configurable via the environment:
3737
from dotenv import load_dotenv
3838

3939
load_dotenv() # reads variables from a .env file and sets them in os.environ
40-
```
41-
4240

4341
# Code of your application, which uses environment variables (e.g. from `os.environ` or
4442
# `os.getenv`) as if they came from the actual environment.
45-
43+
```
4644

4745
By default, `load_dotenv()` will:
4846

49-
5047
- Look for a `.env` file in the same directory as the Python script (or higher up the directory tree).
5148
- Read each key-value pair and add it to `os.environ`.
5249
- **Not override** an environment variable that is already set, unless you explicitly pass `override=True`.

0 commit comments

Comments
 (0)