Annotated-types

Latest version: v0.7.0

Safety actively analyzes 701533 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.7.0

What's Changed
* Allow `tzinfo` objects for `Timezone` by Viicos in https://github.com/annotated-types/annotated-types/pull/56
* add URLs to `pyproject.toml` by samuelcolvin in https://github.com/annotated-types/annotated-types/pull/58
* suggested fix on typo by PelicanQ in https://github.com/annotated-types/annotated-types/pull/60
* Correct misstatement in README by Zac-HD in https://github.com/annotated-types/annotated-types/pull/62
* Fix IsDigit -> IsDigits by toriningen in https://github.com/annotated-types/annotated-types/pull/63
* Add `Unit` type by tlambert03 in https://github.com/annotated-types/annotated-types/pull/65
* Improve handling of GroupedMetadata (First try) by cksleigen in https://github.com/annotated-types/annotated-types/pull/69
* Prepare for 0.7.0 release by adriangb in https://github.com/annotated-types/annotated-types/pull/70

New Contributors
* Viicos made their first contribution in https://github.com/annotated-types/annotated-types/pull/56
* PelicanQ made their first contribution in https://github.com/annotated-types/annotated-types/pull/60
* toriningen made their first contribution in https://github.com/annotated-types/annotated-types/pull/63
* tlambert03 made their first contribution in https://github.com/annotated-types/annotated-types/pull/65
* cksleigen made their first contribution in https://github.com/annotated-types/annotated-types/pull/69

**Full Changelog**: https://github.com/annotated-types/annotated-types/compare/v0.6.0...v0.7.0

0.6.0

What's Changed
* Drop Python 3.7, test on 3.12-dev and update deps by adriangb in https://github.com/annotated-types/annotated-types/pull/44
* Add IsFinite type by adriangb in https://github.com/annotated-types/annotated-types/pull/43
* Add Not to allow predicate negation by adriangb in https://github.com/annotated-types/annotated-types/pull/45
* update deps to fix python 3.12 CI by adriangb in https://github.com/annotated-types/annotated-types/pull/50
* ✨ Add support for `doc()` by tiangolo in https://github.com/annotated-types/annotated-types/pull/49
* Fix README typo by JelleZijlstra in https://github.com/annotated-types/annotated-types/pull/52
* Remove unused pytest-mock test dependency by gotmax23 in https://github.com/annotated-types/annotated-types/pull/54

New Contributors
* tiangolo made their first contribution in https://github.com/annotated-types/annotated-types/pull/49
* JelleZijlstra made their first contribution in https://github.com/annotated-types/annotated-types/pull/52
* gotmax23 made their first contribution in https://github.com/annotated-types/annotated-types/pull/54

**Full Changelog**: https://github.com/annotated-types/annotated-types/compare/v0.5.0...v0.6.0

0.5.0

What's Changed
* fix license display, readme tweak by samuelcolvin in https://github.com/annotated-types/annotated-types/pull/26
* Fix typo in `Timezone` by odiseo0 in https://github.com/annotated-types/annotated-types/pull/27
* Update README.md by Zac-HD in https://github.com/annotated-types/annotated-types/pull/29
* Add note about unpacking GroupedMetadata by adriangb in https://github.com/annotated-types/annotated-types/pull/35
* Make GroupedMetadata a Protocol by adriangb in https://github.com/annotated-types/annotated-types/pull/38
* Fix mypy lint by adriangb in https://github.com/annotated-types/annotated-types/pull/40
* Bump version to 0.5.0 by adriangb in https://github.com/annotated-types/annotated-types/pull/41

New Contributors
* odiseo0 made their first contribution in https://github.com/annotated-types/annotated-types/pull/27

**Full Changelog**: https://github.com/annotated-types/annotated-types/compare/v0.4.0...v0.5.0

0.4.0

What's Changed
* Switch to hatchling & pip-tools by samuelcolvin in https://github.com/annotated-types/annotated-types/pull/22
* convert `Len` to `GroupedMetadata`, add `MinLen` and `MaxLen` by samuelcolvin in https://github.com/annotated-types/annotated-types/pull/21
* switch from `max_exclusive` to `max_length` (inclusive) by samuelcolvin in https://github.com/annotated-types/annotated-types/pull/24

**Full Changelog**: https://github.com/annotated-types/annotated-types/compare/v0.3.1...v0.4.0

0.3.1

What's Changed
* Add `BaseMetadata` to `__all__` by samuelcolvin in https://github.com/annotated-types/annotated-types/pull/19


**Full Changelog**: https://github.com/annotated-types/annotated-types/compare/v0.3.0...v0.3.1

0.3.0

What's Changed
* Remove regex from tests by adriangb in https://github.com/annotated-types/annotated-types/pull/13
* add GroupedMetadata as a base class for Interval by adriangb in https://github.com/annotated-types/annotated-types/pull/12
* Remove regex from tests (again) by adriangb in https://github.com/annotated-types/annotated-types/pull/14
* use __init_subclass__ instead of ABC by adriangb in https://github.com/annotated-types/annotated-types/pull/16
* add docs for GroupedMetadata and BaseMetadata by adriangb in https://github.com/annotated-types/annotated-types/pull/15


**Full Changelog**: https://github.com/annotated-types/annotated-types/compare/v0.2.0...v0.3.0

Page 1 of 2

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.