Update dependency environs to v14
This MR contains the following updates:
Package | Update | Change |
---|---|---|
environs (changelog) | major |
==11.2.1 -> ==14.1.0
|
Release Notes
sloria/environs (environs)
v14.1.0
Features:
- Add
prefix
parameter toEnv
constructor (#384). Thanks arthurc0102 for the suggestion. - Re-export
validate
module from marshmallow (#385).
Bug fixes:
- Typing: Fix typing for
Env.enum
to allowby_value
to be passed (#386).
v14.0.0
Features:
- Add
env
singleton ([#194]). Thanks AndBondStyle for the suggestion.
from environs import env
Changes:
-
default
values are expected to be their in their deserialized form. Backwards-incompatible: Passing serialized values todefault
is no longer supported.
from datetime import date, timedelta
import environs
v13.0.0
Features:
- Typing: Add type hints for parser methods (#367). Thanks OkeyDev for the MR.
- Add
by_value
param toEnv.enum
. Passby_value=True
to parse Enum by values instead of names.
Other changes:
- Drop support for marshmallow<3.18.0.
-
Backwards-incompatible: Remove
load_default
param from parser methods. Usedefault
instead. -
Backwards-incompatible: Rename
Env.enum
'stype
param toenum
. -
Backwards-incompatible: Remove
ignore_case
param fromEnv.enum
. -
Backwards-incompatible: Remove
allow_none
,error_messages
, andmetadata
params from parser methods.
v12.0.0
Features:
-
Env.enum
allows passing anEnum
asdefault
.
Other changes:
- Support marshmallow 4.
- Support Python 3.9-3.13.
-
Backwards-incompatible: Make
Field
classes private. Users should not need to access these.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate Bot