Skip to content

Releases: emcd/python-absence

v1.1.1

03 Jul 18:03
v1.1.1
a7eda33

Choose a tag to compare

Absence v1.1.1 (2025-07-03)

Enhancements

  • Internal improvement to use classcore.finalize_module rather than the
    deprecated classcore.reclassify_modules.

v1.1

06 Jun 02:47
v1.1
a570837

Choose a tag to compare

Absence v1.1 (2025-06-06)

Enhancements

  • Apply Dynadoc to package to improve documentation.

v1.1rc0

06 Jun 02:32
v1.1rc0
e1b8e9e

Choose a tag to compare

Absence v1.1rc0 (2025-06-06)

Enhancements

  • Apply Dynadoc to package to improve documentation.

v1.0.1

22 Jan 02:20
v1.0.1
8aa4099

Choose a tag to compare

Absence v1.0.1 (2025-01-22)

Bugfixes

  • Convert Absential to proper type alias and to use separately-declared type
    variable. (Addresses Pyright complaints.)

v1.0

21 Dec 04:57
v1.0
a4f6659

Choose a tag to compare

Absence v1.0 (2024-12-21)

Features

  • Add AbsenceFactory class for creating package-specific absence sentinels.
    Each instance evaluates to False in boolean contexts, has unique identity,
    and supports customizable string representations.
  • Add Absential type alias for annotating values that may be absent,
    supporting clear type hints for optional parameters and return values where
    None is a valid value.
  • Add absent sentinel, a falsey singleton that represents absence in contexts
    where None might be a valid value. The sentinel maintains global uniqueness,
    supports proper equality comparison, and can be installed as a builtin.
  • Add is_absent and is_absence predicates for type-safe checking of
    absence sentinels. These can distinguish between the global sentinel and
    factory-produced sentinels, and support installation as builtins.
  • Add optional builtin installation support, allowing the absent sentinel
    and its predicates to be used without imports, similar to None. Supports
    custom names and selective installation of components.

Supported Platforms

  • Add support for CPython 3.10 to 3.13.
  • Add support for PyPy 3.10.

v1.0rc0

21 Dec 04:34
v1.0rc0
73e91f3

Choose a tag to compare

Absence v1.0rc0 (2024-12-21)

Features

  • Add AbsenceFactory class for creating package-specific absence sentinels.
    Each instance evaluates to False in boolean contexts, has unique identity,
    and supports customizable string representations.
  • Add Absential type alias for annotating values that may be absent,
    supporting clear type hints for optional parameters and return values where
    None is a valid value.
  • Add absent sentinel, a falsey singleton that represents absence in contexts
    where None might be a valid value. The sentinel maintains global uniqueness,
    supports proper equality comparison, and can be installed as a builtin.
  • Add is_absent and is_absence predicates for type-safe checking of
    absence sentinels. These can distinguish between the global sentinel and
    factory-produced sentinels, and support installation as builtins.
  • Add optional builtin installation support, allowing the absent sentinel
    and its predicates to be used without imports, similar to None. Supports
    custom names and selective installation of components.

Supported Platforms

  • Add support for CPython 3.10 to 3.13.
  • Add support for PyPy 3.10.