Releases: litestar-org/type-lens
Releases · litestar-org/type-lens
v0.2.3
What's Changed
- feat: Add has_annotation field to ParameterView. by @DanCardin in #41
Full Changelog: v0.2.2...v0.2.3
v0.2.2
What's Changed
- fix: Handle literal[something] is_subclass_of checks. by @DanCardin in #40
Full Changelog: v0.2.1...v0.2.2
v0.2.1
What's Changed
- chore: Remove pre-alpha warning. by @DanCardin in #38
- fix: Remove reference to litestar utility. by @DanCardin in #36
- fix: Include typing_extensions in package dependencies. by @DanCardin in #37
- fix: Handling of _SpecialForm objects in repr_type in 3.8. by @DanCardin in #39
Full Changelog: v0.2.0...v0.2.1
v0.2.0
What's Changed
- fix: add ParameterView to pkg ns by @peterschutt in #4
- refactor: better Empty type by @peterschutt in #5
- docs: move to litestar by @JacobCoffee in #7
- feat: Add is_variadic_tuple to TypeView. by @DanCardin in #11
- feat: Add repr to TypeView that mirrors the input. by @DanCardin in #13
- feat: Add strip_optional method to TypeView. by @DanCardin in #10
- feat: Make TypeView generic on its input type. by @DanCardin in #14
- feat: Add is_literal to TypeView. by @DanCardin in #15
- feat: Add is_none_type to TypeView. by @DanCardin in #16
- feat:
TypeView.allows_none
property by @peterschutt in #17 - build: add type-checkers to CI by @peterschutt in #18
- refactor: rename
is_subclass_of
tois_subtype_of
. by @peterschutt in #19 - feat: support 3.8 by @peterschutt in #21
- refactor: fix inconsistent use of attributes and properties by @peterschutt in #22
- feat: Expose the Empty and EmptyType types. by @DanCardin in #24
- feat: Add repr_type helper method to TypeView. by @DanCardin in #26
- feat: Add field equivalent to
origin or annotation
. by @DanCardin in #25 - fix: Issue with
is_subclass_of
for types that are not compatible withissubclass
. by @DanCardin in #9 - build: add 3.13 rc to ci by @peterschutt in #30
- feat: Implement a FunctionView. by @DanCardin in #23
- feat: Enable unsupported runtime typing syntax in 3.8/3.9. by @DanCardin in #31
- fix: papercuts required to get cappa's test suite passing. by @DanCardin in #33
- feat: Release 0.2.0. by @DanCardin in #35
New Contributors
- @JacobCoffee made their first contribution in #7
Full Changelog: v0.1.0a1...v0.2.0
v0.1.0a1
What's Changed
- fix: pypi readme by @peterschutt in #2
- fix: add py.typed by @peterschutt in #1
- fix: deploy key for docs preview by @peterschutt in #3
New Contributors
- @peterschutt made their first contribution in #2
Full Changelog: v0.1.0a0...v0.1.0a1
v0.1.0a0
Warning
Pre-Release Alpha Stage
Please note that type-lens
is currently in a pre-release alpha stage of development. This means the library is still
under active development, and its API is subject to change. We encourage developers to experiment with type-lens
and
provide feedback, but we recommend against using it in production environments until a stable release is available.
Inspired by tools used within the Litestar ASGI framework, type-lens
is a library to support runtime introspection of Python type annotations.