• 2.0.0 048ef46c69

    2.0.0 Stable

    ar-turek released this 2024-07-01 14:28:04 +00:00 | 66 commits to main since this release

    No known key found for this signature in database

    This release introduces some backwards-incompatible changes to the API:

    • the as_boolean and as_list are now named bool_parser and list_parser and are instead both factory functions which create a parser. This means all code like required(as_boolean) needs to be converted to required(bool_parser()) (as_list was already a factory before).
    • with_default field type previously allowed the default parameter to be either a T or a Callable[[], T]. This caused some funny behavior with regards to default values of custom classes with an overridden __call__ method. This behavior has now been split in to with_default and with_default_factory configuration field types.
    • Exception classes representations have changed.

    This release ships with a whole new documentation layout, better examples and an API reference section. It also implements the Trusted Publisher model for publishing the package in PyPI.

    Release created by the release pipeline.

    Downloads