This repository was archived by the owner on Apr 5, 2025. It is now read-only.
Releases: johnslavik/runtime_generics
Releases · johnslavik/runtime_generics
v3.3.1
v3.3.0
v3.2.0
v3.2.0 (2024-04-14)
Fixed
- Relaxed support Python version range to >=3.8.
What's Changed
- Bump mkdocs-material from 9.5.13 to 9.5.14 by @dependabot in #18
Full Changelog: v3.1.0...v3.2.0
v3.1.0
v3.1.0 (2024-03-16)
Added
- Exposed
get_alias()to retrieve the alias form used in runtime generic instance construction. - Implemented
get_mro()function for resolving MROs of runtime generics. - Implemented
type_check()for checking whether a runtime generic is a valid subtype of another runtime generic.
What's Changed
- Bump typing-extensions from 4.9.0 to 4.10.0 by @dependabot in #14
New Contributors
- @dependabot made their first contribution in #14
Full Changelog: v3.0.5...v3.1.0
v3.0.5
v3.0.5 (2024-02-24)
Added
- Wide support for resolving parametrized parents of runtime generic classes as well as instances of them.
Full Changelog: v3.0.4...v3.0.5
v3.0.4
v3.0.4 (2024-02-22)
Fixed
- Updated documentation that contained obsolete information. (#53685890)
Full Changelog: v3.0.3...v3.0.4
v3.0.3
v3.0.3 (2024-02-22)
Changed
- Constructing parametrized generics now also sets
__origin__on the instance (so far, only__args__was set).
Full Changelog: v3.0.2...v3.0.3
v3.0.2
v3.0.1
v3.0.0
v3.0.0 (2024-02-20)
Removed
generic_issubclass()andgeneric_isinstance().
Added
get_parents()for resolving parametrized parents,runtime_generic_proxy()andruntime_generic_patch()for subclassing e.g.typing.Listas a runtime generic.
Full Changelog: v2.0.3...v3.0.0