Require Python 3.5 or a later version. Python 2 and 3.4 are no longer supported. (#341 by @bbc2).
Added
The dotenv_path argument of set_key and unset_key now has a type of Union[str, os.PathLike] instead of just os.PathLike (#347 by @bbc2).
The stream argument of load_dotenv and dotenv_values can now be a text stream (IO[str]), which includes values like io.StringIO("foo") and open("file.env", "r") (#348 by @bbc2).
Version 0.18.0
Changed
Raise ValueError if quote_mode isn't one of always, auto or never in set_key (#330 by @bbc2).
When writing a value to a .env file with set_key or dotenv set <key> <value> (#330 by @bbc2):
Use single quotes instead of double quotes.
Don't strip surrounding quotes.
In auto mode, don't add quotes if the value is only made of alphanumeric characters (as determined by string.isalnum).
Version 0.17.1
Fixed
Fixed tests for build environments relying on PYTHONPATH (#318 by @befeleme).
Require Python 3.5 or a later version. Python 2 and 3.4 are no longer supported. (#341
by [@bbc2]).
Added
The dotenv_path argument of set_key and unset_key now has a type of Union[str, os.PathLike] instead of just os.PathLike (#347 by [@bbc2]).
The stream argument of load_dotenv and dotenv_values can now be a text stream
(IO[str]), which includes values like io.StringIO("foo") and open("file.env", "r") (#348 by [@bbc2]).
[0.18.0] - 2021-06-20
Changed
Raise ValueError if quote_mode isn't one of always, auto or never in
set_key (#330 by [@bbc2]).
When writing a value to a .env file with set_key or dotenv set <key> <value> (#330
by [@bbc2]):
Use single quotes instead of double quotes.
Don't strip surrounding quotes.
In auto mode, don't add quotes if the value is only made of alphanumeric characters
(as determined by string.isalnum).
[0.17.1] - 2021-04-29
Fixed
Fixed tests for build environments relying on PYTHONPATH (#318 by [@befeleme]).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps python-dotenv from 0.17.0 to 0.19.2.
Release notes
Sourced from python-dotenv's releases.
Changelog
Sourced from python-dotenv's changelog.
Commits
2471a5a
Release version 0.19.245848bb
Add missing trailing newline when adding new valuefc138ce
Release version 0.19.19b1ab5d
Add Python 3.10 support (#359)36516a7
CHANGELOG.md: Fix typos discovered by codespellb043829
Release version 0.19.0134ed43
Allow any text stream (IO[str]
) asstream
955e2a4
Enable checking of "untyped defs" and fix typesf5d0c54
Enable the use of Mypy 0.900+28dbb23
Fix documentation ofdotenv set
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)