Skip to content

Update dependency environs to v14#19

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/environs-14.x
Open

Update dependency environs to v14#19
renovate[bot] wants to merge 1 commit intomainfrom
renovate/environs-14.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 8, 2025

This PR contains the following updates:

Package Change Age Confidence
environs (changelog) ==9.5.0==14.5.0 age confidence

Release Notes

sloria/environs (environs)

v14.5.0

Compare Source

Features:

  • Add strip_whitespace param to FileAwareEnv (#​431).
    Thanks eandersons for the suggestion and PR.

Other changes:

  • Drop support for Python 3.9, which is EOL.

v14.4.0

Compare Source

Features:

  • Add support for ISO 8601 durations to env.timedelta. (#​434).
    Thanks lucas-bremond for the suggestion and PR.

v14.3.0

Compare Source

Features:

v14.2.0

Compare Source

Features:

  • Add key_value_delimiter argument to env.dict (#​419).
    Thanks jerr0328 for the suggestion and PR.

v14.1.1

Compare Source

Bug fixes:

  • Typing: Fix typing for env.list and env.dict to properly handle
    default and subcast arguments (#​406).
    Thanks lucas-bremond for the PR.
  • Add env to __all__ (#​396).
    Thanks daveflr for reporting.

Changes:

  • Backwards-incompatible: recurse, verbose, override,
    and return_path parameters to Env.read_env are now keyword-only.
  • Backwards-incompatible: The required argument to parser methods
    is removed. Call a parser method without a default value to make it required.

v14.1.0

Compare Source

Features:

  • Add prefix parameter to Env constructor (#​384).
    Thanks arthurc0102
    for the suggestion.
  • Re-export validate module from marshmallow (#​385).

Bug fixes:

  • Typing: Fix typing for Env.enum to allow by_value to be passed (#​386).

v14.0.0

Compare Source

Features:

from environs import env

Changes:

  • default values are expected to be their in their deserialized form.
    Backwards-incompatible: Passing serialized values to default
    is no longer supported.
from datetime import date, timedelta
import environs

v13.0.0

Compare Source

Features:

  • Typing: Add type hints for parser methods (#​367).
    Thanks OkeyDev for the PR.
  • Add by_value param to Env.enum. Pass by_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. Use default instead.
  • Backwards-incompatible: Rename Env.enum's type param to enum.
  • Backwards-incompatible: Remove ignore_case param from Env.enum.
  • Backwards-incompatible: Remove
    allow_none, error_messages, and metadata params from parser methods.

v12.0.0

Compare Source

Features:

  • Env.enum allows passing an Enum as default.

Other changes:

  • Support marshmallow 4.
  • Support Python 3.9-3.13.
  • Backwards-incompatible: Make Field classes private. Users should
    not need to access these.

v11.2.1

Compare Source

Bug fixes:

  • Fix passing non-string default values to Env.timedelta (#​369).
    Thanks tcleonard for reporting and
    thanks ddelange for the PR.
  • Fix 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:

v11.1.0

Compare Source

Features:

  • Add return_path argument to Env.read_env to return the path of the
    parsed 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:

  • Prevent DeprecationWarning getting raised by marshmallow 3.21.0 (:issue:333).

Other changes:

  • Remove subcast_key argument of env.dict. Use subcast_keys instead.
  • Bump minimum required marshmallow version to 3.13.0.
  • Remove missing argument from Env methods. Use default instead.
  • Remove subcast argument from Env methods that don't use it.
  • Backwards-incompatible: Remove environs.__version__ variable.
    Use importlib.metadata.version("environs") instead.

v10.3.0

Compare Source

Features:

  • Env.__repr__ and Env.__str__ no longer display environment variables, to prevent accidental exfiltration of sensitive data (#​292).
    Thanks mro-rhansen2 for the suggestion.

Bug fixes:

v10.2.0

Compare Source

Features:

  • env.read_env returns False if file not found (#​294).
    Thanks rptaylor for the suggestion.

v10.1.0

Compare Source

Features:

Other changes:

  • Test against Python 3.12.

v10.0.0

Compare Source

Features:

Other changes:

  • Backwards-incompatible: Drop support for EOL Python 3.6 and 3.7.
  • Test against Python 3.11.
  • Migrate to setup.cfg. Thanks deronnax for the PR.

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/environs-14.x branch from 42a23c3 to 792ef59 Compare January 10, 2025 16:15
@renovate renovate bot force-pushed the renovate/environs-14.x branch from 792ef59 to c932edb Compare February 10, 2025 22:27
@renovate renovate bot force-pushed the renovate/environs-14.x branch from c932edb to b809c59 Compare May 22, 2025 22:25
@renovate renovate bot force-pushed the renovate/environs-14.x branch from b809c59 to 6ed1e73 Compare August 1, 2025 17:35
@renovate renovate bot force-pushed the renovate/environs-14.x branch from 6ed1e73 to 8e0b24b Compare October 30, 2025 01:51
@renovate renovate bot force-pushed the renovate/environs-14.x branch from 8e0b24b to 2294a9f Compare November 2, 2025 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants