Skip to content

Releases: matthewwardrop/spec-classes

v1.4.3: Merge pull request #20 from matthewwardrop/instance_state

26 Mar 06:12
200cd15
Compare
Choose a tag to compare

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

15 Mar 03:43
949e742
Compare
Choose a tag to compare

This is a minor release with one bugfix: resolving of nested types within a class.

v1.4.1

15 Mar 03:38
Compare
Choose a tag to compare

This is a minor bugfix release with one fix:

v1.4.0

17 Jan 00:53
Compare
Choose a tag to compare

This release comes with a few small new features.

New features and enhancements:

  • Added classproperty for spec_property like behavior for classmethods.
  • Add support for emitting warnings when properties are overridden (use warn_on_override in spec_property or classproperty constructor).
  • Made MISSING usable in type annotations, and add EMPTY and SENTINEL variations.

v1.3.1

05 Jan 21:04
Compare
Choose a tag to compare

A few minor improvements:

  • Improve helpfulness of error messages when errors are raised from collections during mutation.
  • Suppress deprecation (and other) warnings while generating AttrSpecs during class bootstrapping.

Full Changelog: v1.3.0...v1.3.1

v1.3.0

05 Jan 19:13
3c02d2f
Compare
Choose a tag to compare

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 to Alias, and add DeprecatedAlias.
  • Added dataclass_transform annotation from mypy type checking.

Full Changelog: v1.2.6...v1.3.0

v1.2.6

30 Nov 21:13
Compare
Choose a tag to compare

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

27 Nov 19:45
Compare
Choose a tag to compare

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

27 Nov 19:44
Compare
Choose a tag to compare

(Same as 1.2.3).

v1.2.3

23 Jul 15:22
Compare
Choose a tag to compare

Identical to 1.2.2. Attempting to fix artifact issue on PyPI.