Releases: matthewwardrop/spec-classes
v1.4.3: Merge pull request #20 from matthewwardrop/instance_state
This is a minor release the improves the behaviour of invalidation during instantiation, and wildcard invalidations from invalidating themselves. With this release, invalidation will not be enabled until after instances are fully instantiated.
v1.4.2: Merge pull request #19 from matthewwardrop/fix_nested_type_resolution
This is a minor release with one bugfix: resolving of nested types within a class.
v1.4.1
This is a minor bugfix release with one fix:
v1.4.0
This release comes with a few small new features.
New features and enhancements:
- Added
classproperty
forspec_property
like behavior for classmethods. - Add support for emitting warnings when properties are overridden (use
warn_on_override
inspec_property
orclassproperty
constructor). - Made
MISSING
usable in type annotations, and addEMPTY
andSENTINEL
variations.
v1.3.1
A few minor improvements:
- Improve helpfulness of error messages when errors are raised from collections during mutation.
- Suppress deprecation (and other) warnings while generating
AttrSpec
s during class bootstrapping.
Full Changelog: v1.3.0...v1.3.1
v1.3.0
This releases adds a few small features, and comes with official support for Python 3.11 and 3.12.
What's Changed
- Added official support for Python 3.11 and 3.12
- Renamed
AttrProxy
toAlias
, and addDeprecatedAlias
. - Added
dataclass_transform
annotation from mypy type checking.
Full Changelog: v1.2.6...v1.3.0
v1.2.6
This is a minor patch release that properly fixes the bug addressed by v1.2.5. That is: a race-condition during copying when used in a multi-threaded context. This would have manifested as a KeyError: <class 'module'> during copying.
The previous solution didn't work because we inadvertently constructed multiple locks per process, which defeats the point of the lock.
v1.2.5
This is a minor patch release that fixes a race-condition during copying when used in a multi-threaded context. This would have manifested as a KeyError: <class 'module'>
during copying.
v1.2.4
(Same as 1.2.3).
v1.2.3
Identical to 1.2.2. Attempting to fix artifact issue on PyPI.