Skip to content

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 5a01e47 to 8feb98f Compare January 10, 2025 16:27
@renovate renovate bot force-pushed the renovate/environs-14.x branch from 8feb98f to 3ad1ba5 Compare February 10, 2025 22:57
@renovate renovate bot force-pushed the renovate/environs-14.x branch from 3ad1ba5 to d62f8f6 Compare May 22, 2025 21:30
@renovate renovate bot force-pushed the renovate/environs-14.x branch from d62f8f6 to 2bfc32f Compare August 8, 2025 15:04
@renovate renovate bot force-pushed the renovate/environs-14.x branch from 2bfc32f to 0370c67 Compare October 30, 2025 01:47
@renovate renovate bot force-pushed the renovate/environs-14.x branch from 0370c67 to 5a1b956 Compare November 2, 2025 23:05
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.

1 participant