This repository was archived by the owner on Jul 16, 2024. It is now read-only.
Releases: DavidCEllis/PrefabClasses
Releases · DavidCEllis/PrefabClasses
Final version - v0.13.1
What's Changed
Prefab Classes is now Deprecated - use ducktools-classbuilder.
This is (hopefully) the final release of this package.
- Deprecate this module in favour of ducktools-classbuilder by @DavidCEllis in #98
- Compare and slots fixes by @DavidCEllis in #97
Full Changelog: v0.12.0...v0.13.1
v0.12.0
What's Changed
- Remove the AST compiled form of Prefab Classes by @DavidCEllis in #95
- Add a way to declare prefab classes using slots by @DavidCEllis in #96
- Fix a structural bug with the internals that caused the globals dictionary passed to exec to be shared between classes.
Full Changelog: v0.11.1...v0.12.0
v0.11.1
What's Changed
- Check if attributes are in slots before processing defaults. Fixes slots in no default annotated classes. by @DavidCEllis in #94
Full Changelog: v0.11.0...v0.11.1
v0.11.0
What's Changed
- Deprecate the compiled form of prefab to make maintenance more manageable by @DavidCEllis in #84
- Fix the use of names other than 'self' in pre and post init by @DavidCEllis in #85
Full Changelog: v0.10.2...v0.11.0
v0.10.2
What's Changed
- Change the metadata name to
prefab-classes
to match the name on PyPI
Full Changelog: v0.10.1...v0.10.2
v0.10.1
What's Changed
- Add basic stub file for init.py to provide autocomplete by @DavidCEllis in #80
Full Changelog: v0.10.0...v0.10.1
v0.10.0
What's Changed
prefab_classes
now depends onducktools.lazyimporter
prefab_classes_hook
is nowprefab_classes.hook
prefab_compiler
,is_prefab
andis_prefab_instance
are now available directly fromprefab_classes
- Lazy Imports are being implemented to allow easy access to submodule attributes without eagerly importing the modules
Full Changelog: v0.9.6...v0.10.0
v0.9.6
What's Changed
- Include tests and docs in uploaded sdist
- Use GitHub trusted publishing to upload releases
Full Changelog: v0.9.5...v0.9.6
v0.9.5
What's Changed
- Fix inheritance inconsistency by @DavidCEllis in #74
v0.9.4
What's Changed
- Drop py39 support by @DavidCEllis in #72
- Remove the requirement for
init=False
attributes to have a default. by @DavidCEllis in #73
Full Changelog: v0.9.3...v0.9.4