Update dependency environs to v14 #21
Open
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.5.0→==14.5.0Release Notes
sloria/environs (environs)
v14.5.0Compare Source
Features:
strip_whitespaceparam toFileAwareEnv(#431).Thanks eandersons for the suggestion and PR.
Other changes:
v14.4.0Compare Source
Features:
env.timedelta. (#434).Thanks lucas-bremond for the suggestion and PR.
v14.3.0Compare Source
Features:
environs.FileAwareEnvfor reading secret files (#410).Thanks holtgrewe for the suggestion.
Thanks whyscream and avilaton for the PRs.
v14.2.0Compare Source
Features:
key_value_delimiterargument toenv.dict(#419).Thanks jerr0328 for the suggestion and PR.
v14.1.1Compare Source
Bug fixes:
env.listandenv.dictto properly handledefaultandsubcastarguments (#406).Thanks lucas-bremond for the PR.
envto__all__(#396).Thanks daveflr for reporting.
Changes:
recurse,verbose,override,and
return_pathparameters toEnv.read_envare now keyword-only.requiredargument to parser methodsis removed. Call a parser method without a default value to make it required.
v14.1.0Compare Source
Features:
prefixparameter toEnvconstructor (#384).Thanks arthurc0102
for the suggestion.
validatemodule from marshmallow (#385).Bug fixes:
Env.enumto allowby_valueto be passed (#386).v14.0.0Compare Source
Features:
envsingleton ([#194]).Thanks AndBondStyle for the suggestion.
Changes:
defaultvalues are expected to be their in their deserialized form.Backwards-incompatible: Passing serialized values to
defaultis no longer supported.
v13.0.0Compare Source
Features:
Thanks OkeyDev for the PR.
by_valueparam toEnv.enum. Passby_value=Trueto parse Enum by values instead of names.Other changes:
load_defaultparam from parser methods. Usedefaultinstead.Env.enum'stypeparam toenum.ignore_caseparam fromEnv.enum.allow_none,error_messages, andmetadataparams from parser methods.v12.0.0Compare Source
Features:
Env.enumallows passing anEnumasdefault.Other changes:
Fieldclasses private. Users shouldnot need to access these.
v11.2.1Compare 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.envfile is found (#370).
Thanks senese for the PR.
v11.2.0Compare Source
Features:
Env.timedeltacan parse GEP-2257duration strings (#366).
Thanks ddelange for the PR.
v11.1.0Compare Source
Features:
return_pathargument toEnv.read_envto 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.0Compare Source
Fixes:
DeprecationWarninggetting raised by marshmallow 3.21.0 (:issue:333).Other changes:
subcast_keyargument ofenv.dict. Usesubcast_keysinstead.missingargument fromEnvmethods. Usedefaultinstead.subcastargument fromEnvmethods that don't use it.environs.__version__variable.Use
importlib.metadata.version("environs")instead.v10.3.0Compare 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:
Noneas default toenv.list(#298).Thanks lucas-bremond for reporting.
v10.2.0Compare Source
Features:
env.read_envreturnsFalseif file not found (#294).Thanks rptaylor for the suggestion.
v10.1.0Compare Source
Features:
defaultforenv.jsonto be adictorlist(#240).Thanks tomgrin10 and bvanelli for the PRs.
Other changes:
v10.0.0Compare Source
Features:
delimiterargument toenv.dict(#277). Thanks gregoiredx for the PR.Other changes:
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.