Skip to content

Releases: BrianPugh/autoregistry

v1.2.1

08 Dec 03:06

Choose a tag to compare

Bug Fixes

  • Reduce the strictness of KeyCollisionError
    • adds support of hot-reloading modules without triggering a KeyCollisionError. by @BrianPugh in #66
  • Fix KeyCollisionErrors of registering multiple same-name classes to autoregistry.pydantic.BaseModel. By @BrianPugh in #68
  • Fix autoregistry.pydantic.BaseModel for python 3.14 by @BrianPugh in #67

Internal

  • migrate from poetry to uv

Full Changelog: v1.2.0...v1.2.1

v1.2.0

03 Nov 14:45

Choose a tag to compare

Features

Added pydantic support. Simply use the BaseModel provided by autoregistry.pydantic and it will have the features of both a autoregistry.Registry as well as a pydantic.BaseModel

from autoregistry.pydantic import BaseModel

class Pokemon(BaseModel):
    health: int

    @abstractmethod
    def attack(self, target) -> int:
        pass

Full Changelog: v1.1.2...v1.2.0

v1.1.2

27 Nov 23:55

Choose a tag to compare

What's Changed

Full Changelog: v1.1.1...v1.1.2

v1.1.1

31 Oct 19:20

Choose a tag to compare

What's Changed

  • Allow alias list to contain default/derived/provided name. by @BrianPugh in #43

Full Changelog: v1.1.0...v1.1.1

v1.1.0

24 Oct 02:06
4c061ee

Choose a tag to compare

What's Changed

Full Changelog: v1.0.3...v1.1.0

v1.0.3

03 Oct 22:48

Choose a tag to compare

What's Changed

Full Changelog: v1.0.2...v1.0.3

v1.0.2

21 Sep 18:33
48d41cd

Choose a tag to compare

What's Changed

  • Fixes attrs decorators when applied to a Registry subsubclass (and beyond) with slots enabled.

Full Changelog: v1.0.1...v1.0.2

v1.0.1

21 Sep 06:19

Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.0.1

v1.0.0 - Major Release

16 Jul 23:55

Choose a tag to compare

This has been used in a lot of systems at this point, so I feel like it's appropriate to cut a 1.0.0 release. No real changes compared to v0.10.1.

v0.10.1

12 Apr 02:48
3819b31

Choose a tag to compare

Bug Fixes

  • Remove circular references of Registry in RegistryMeta. This results in cleaner code, and the ability to extend the RegistryMeta class.