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).
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]):
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.9.1 to 0.20.0.
Release notes
Sourced from python-dotenv's releases.
... (truncated)
Changelog
Sourced from python-dotenv's changelog.
... (truncated)
Commits
53cee8c
Release version 0.20.03832011
Don't mark wheels as universal (#387)06c645c
Fix installing entry points157282c
Add encoding parameter to {get,set,unset}_keyba9408c
chore: add test with Python 3.11 (#368)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 codespellDependabot 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)