Releases: emcd/python-absence
Releases · emcd/python-absence
v1.1.1
v1.1
Absence v1.1 (2025-06-06)
Enhancements
- Apply Dynadoc to package to improve documentation.
v1.1rc0
Absence v1.1rc0 (2025-06-06)
Enhancements
- Apply Dynadoc to package to improve documentation.
v1.0.1
Absence v1.0.1 (2025-01-22)
Bugfixes
- Convert
Absentialto proper type alias and to use separately-declared type
variable. (Addresses Pyright complaints.)
v1.0
Absence v1.0 (2024-12-21)
Features
- Add
AbsenceFactoryclass for creating package-specific absence sentinels.
Each instance evaluates toFalsein boolean contexts, has unique identity,
and supports customizable string representations. - Add
Absentialtype alias for annotating values that may be absent,
supporting clear type hints for optional parameters and return values where
Noneis a valid value. - Add
absentsentinel, a falsey singleton that represents absence in contexts
whereNonemight be a valid value. The sentinel maintains global uniqueness,
supports proper equality comparison, and can be installed as a builtin. - Add
is_absentandis_absencepredicates 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
absentsentinel
and its predicates to be used without imports, similar toNone. 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
Absence v1.0rc0 (2024-12-21)
Features
- Add
AbsenceFactoryclass for creating package-specific absence sentinels.
Each instance evaluates toFalsein boolean contexts, has unique identity,
and supports customizable string representations. - Add
Absentialtype alias for annotating values that may be absent,
supporting clear type hints for optional parameters and return values where
Noneis a valid value. - Add
absentsentinel, a falsey singleton that represents absence in contexts
whereNonemight be a valid value. The sentinel maintains global uniqueness,
supports proper equality comparison, and can be installed as a builtin. - Add
is_absentandis_absencepredicates 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
absentsentinel
and its predicates to be used without imports, similar toNone. 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.