Skip to content

Update dependency environs to v14

Renovate Bot requested to merge renovate/environs-14.x into main

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

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 MR.
  • 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.

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 MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


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

This MR has been generated by Renovate Bot.

Edited by Renovate Bot

Merge request reports

Loading