Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (4h)  pkgsrc-2024Q1 (10d)  pkgsrc-2023Q4 (57d)  pkgsrc-2023Q2 (90d)  pkgsrc-2023Q3 (169d) 

2024-05-28 09:08:02 UTC Now

2021-11-25 08:13:28 UTC MAIN commitmail json YAML

py-dotenv: updated to 0.19.2

0.19.2

Fixed
- In `set_key`, add missing newline character before new entry if necessary.

0.19.1

Added
- Add support for Python 3.10.

0.19.0

Changed
- Require Python 3.5 or a later version.  Python 2 and 3.4 are no longer supported.
  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`
- 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")`

0.18.0

Changed
- Raise `ValueError` if `quote_mode` isn't one of `always`, `auto` or `never` in
  `set_key`
- When writing a value to a .env file with `set_key` or `dotenv set <key> <value>`
  - 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

Fixed
- Fixed tests for build environments relying on `PYTHONPATH`

[0.17.0

Changed
- Make `dotenv get <key>` only show the value, not `key=value`

Added
- Add `--override`/`--no-override` option to `dotenv run`

0.16.0

Changed
- The default value of the `encoding` parameter for `load_dotenv` and `dotenv_values` is
  now `"utf-8"` instead of `None`
- Fix resolution order in variable expansion with `override=False`

(adam)