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).
Version 0.17.0
Changed
Make dotenv get <key> only show the value, not key=value (#313 by @bbc2).
Added
Add --override/--no-override option to dotenv run (#312 by @zueve and @bbc2).
Version 0.16.0
Changed
The default value of the encoding parameter for load_dotenv and dotenv_values is now "utf-8" instead of None (#306 by @bbc2).
Fix resolution order in variable expansion with override=False (#287 by @bbc2).
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]).
[0.17.0] - 2021-04-02
Changed
Make dotenv get <key> only show the value, not key=value (#313 by [@bbc2]).
Added
Add --override/--no-override option to dotenv run (#312 by [@zueve] and [@bbc2]).
[0.16.0] - 2021-03-27
Changed
The default value of the encoding parameter for load_dotenv and dotenv_values is
now "utf-8" instead of None (#306 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps python-dotenv from 0.14.0 to 0.19.0.
Release notes
Sourced from python-dotenv's releases.
Changelog
Sourced from python-dotenv's changelog.
... (truncated)
Commits
b043829
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
b8fdfba
ReplaceText
withstr
4590015
Use Python 3 type hints for functions1914bac
Remove typing guards4617e39
Remove unnecessary future imports9292074
Remove "coding: utf-8" source declarationsDependabot 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)