Skip to content

Releases: bswck/runtime_generics

v3.3.1

11 May 00:09
v3.3.1
c2606dc
Compare
Choose a tag to compare

v3.3.1 (2024-05-11)

Fixed

  • Type safety of _get_parents.

Full Changelog: v3.3.0...v3.3.1

v3.3.0

10 May 23:55
v3.3.0
1c62200
Compare
Choose a tag to compare

v3.3.0 (2024-05-11)

No significant changes.

Full Changelog: v3.2.0...v3.3.0

v3.2.0

14 Apr 00:43
v3.2.0
c110cee
Compare
Choose a tag to compare

v3.2.0 (2024-04-14)

Fixed

  • Relaxed support Python version range to >=3.8.

What's Changed

Full Changelog: v3.1.0...v3.2.0

v3.1.0

16 Mar 17:20
v3.1.0
92673b8
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v3.0.5...v3.1.0

v3.0.5

24 Feb 04:31
v3.0.5
7bbd2dd
Compare
Choose a tag to compare

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

22 Feb 12:31
v3.0.4
2cb3507
Compare
Choose a tag to compare

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

22 Feb 12:02
v3.0.3
68542c9
Compare
Choose a tag to compare

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

22 Feb 00:41
v3.0.2
8a4a1b8
Compare
Choose a tag to compare

v3.0.2 (2024-02-22)

No significant changes.

Full Changelog: v3.0.1...v3.0.2

v3.0.1

20 Feb 09:37
v3.0.1
7e723fa
Compare
Choose a tag to compare

v3.0.1 (2024-02-20)

No significant changes.

Full Changelog: v3.0.0...v3.0.1

v3.0.0

20 Feb 08:12
v3.0.0
47eeacd
Compare
Choose a tag to compare

v3.0.0 (2024-02-20)

Removed

  • generic_issubclass() and generic_isinstance().

Added

  • get_parents() for resolving parametrized parents, runtime_generic_proxy() and runtime_generic_patch() for subclassing e.g. typing.List as a runtime generic.

Full Changelog: v2.0.3...v3.0.0