Releases: BrianPugh/autoregistry
Releases · BrianPugh/autoregistry
v0.9.1
v0.9.0
v0.8.3
v0.8.2
v0.8.1
v0.8.0
Breaking Changes
- Moved
__registry_name__
to__registry__.name
via_Registry
object. - Moved
__registry_config__
to__registry__.config
via_Registry
object.
Bug Fixes
- Fixed
recursive
behavior to be more useful (and more proper implementation). See docs for details and examples. - Checks and disallows
.
and/
in explicitly defined names and aliases.
v0.7.0
v0.6.0
New Features
- The name a class was registered under is now available at
__registry_name__
.
Bugfixes
- As much of the initialization process is moved prior to the actual creation of the class. This is so the state during hooks like
__init_subclass__
are as close to expected as possible. Due to limitations, the class is not yet registered to its parent registry. However, the following actions are performed prior to__init_subclass__
:__registry__
is created and empty.__registry_config__
is created with expected configuration.__registry_name__
is set.
v0.5.1
v0.5.0
New Features
- new config options:
prefix
andstrip_prefix
. These mirror the functionality ofsuffix
andstrip_suffix
. - new config options:
name
andaliases
. These allow you to override and add additional registration keys. - new config options:
regex
verifies registered names pass some regex validation.
See the docs for more details.
Misc
- Update Poetry to v1.2.0b2
- Slightly optimized config-copying code.