Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==9.3.2
->==14.1.0
Release Notes
sloria/environs (environs)
v14.1.0
Compare Source
Features:
prefix
parameter toEnv
constructor (#384).Thanks arthurc0102
for the suggestion.
validate
module from marshmallow (#385).Bug fixes:
Env.enum
to allowby_value
to be passed (#386).v14.0.0
Compare Source
Features:
env
singleton ([#194]).Thanks AndBondStyle for the suggestion.
Changes:
default
values are expected to be their in their deserialized form.Backwards-incompatible: Passing serialized values to
default
is no longer supported.
v13.0.0
Compare Source
Features:
Thanks OkeyDev for the PR.
by_value
param toEnv.enum
. Passby_value=True
to parse Enum by values instead of names.Other changes:
load_default
param from parser methods. Usedefault
instead.Env.enum
'stype
param toenum
.ignore_case
param fromEnv.enum
.allow_none
,error_messages
, andmetadata
params from parser methods.v12.0.0
Compare Source
Features:
Env.enum
allows passing anEnum
asdefault
.Other changes:
Field
classes private. Users shouldnot need to access these.
v11.2.1
Compare Source
Bug fixes:
Env.timedelta
(#369).Thanks tcleonard for reporting and
thanks ddelange for the PR.
Env.read_env(recurse=True)
so that it returns as soon as a.env
file is found (#370).
Thanks senese for the PR.
v11.2.0
Compare Source
Features:
Env.timedelta
can parse GEP-2257duration strings (#366).
Thanks ddelange for the PR.
v11.1.0
Compare Source
Features:
return_path
argument toEnv.read_env
to return the path of theparsed file (#362).
Thanks senese for the suggestion and PR.
NOTE: This is added as a backwards-compatible change that is scheduled to be
removed in 12.0.0. The path will stored as an attribute of
Env
.v11.0.0
Compare Source
Fixes:
DeprecationWarning
getting raised by marshmallow 3.21.0 (:issue:333
).Other changes:
subcast_key
argument ofenv.dict
. Usesubcast_keys
instead.missing
argument fromEnv
methods. Usedefault
instead.subcast
argument fromEnv
methods that don't use it.environs.__version__
variable.Use
importlib.metadata.version("environs")
instead.v10.3.0
Compare Source
Features:
Env.__repr__
andEnv.__str__
no longer display environment variables, to prevent accidental exfiltration of sensitive data (#292).Thanks mro-rhansen2 for the suggestion.
Bug fixes:
None
as default toenv.list
(#298).Thanks lucas-bremond for reporting.
v10.2.0
Compare Source
Features:
env.read_env
returnsFalse
if file not found (#294).Thanks rptaylor for the suggestion.
v10.1.0
Compare Source
Features:
default
forenv.json
to be adict
orlist
(#240).Thanks tomgrin10 and bvanelli for the PRs.
Other changes:
v10.0.0
Compare Source
Features:
delimiter
argument toenv.dict
(#277). Thanks gregoiredx for the PR.Other changes:
v9.5.0
Compare Source
Features:
subcast
,subcast_keys
, andsubcast_values
. (#241).Thanks bvanelli for the PR.
v9.4.0
Compare Source
Bug fixes:
Other changes:
v9.3.5
Compare Source
Bug fixes:
env.url
and other parsers that take field keyword arguments (#227).Thanks KochankovID for the PR.
v9.3.4
Compare Source
Bug fixes:
env.path
to be apathlib.Path
(#228).Thanks KochankovID for the PR.
v9.3.3
Compare Source
Bug fixes:
so that no DeprecationWarnings are raised (#224).
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.