Skip to content

Releases: starhel/dataslots

v1.2.0

21 Jan 13:10
Compare
Choose a tag to compare

Features

  • Added official support for python 3.11.
  • Added typing support (PEP 561).
  • Added dataslots.dataclass decorator to mimic dataclasses interface for easier migration.
  • Added many security patches to build process (SLSA Level 3).

Bugfixes

  • Fixed setuptools warnings.

Full Changelog: v1.1.0...v1.2.0

v1.2.0rc1

21 Jan 13:00
Compare
Choose a tag to compare
v1.2.0rc1 Pre-release
Pre-release
v1.2.0rc1

v1.1.0

12 Jun 12:35
Compare
Choose a tag to compare

Features

  • Added official support for python 3.10 and pypy 3.7-3.9.
  • Added official support for version 5 of pickle protocol.
  • Added support for data descriptors.
  • Added better typing for mypy support.

Bugfixes

  • Raise TypeError is __slots__ are already defined.
  • Raise TypeError if class is not dataclass

Removals

  • Drop support for python 3.6.

v1.0.2

30 Sep 21:45
Compare
Choose a tag to compare
  • with_slots is renamed to dataslots (with_slots is marked as deprecated and will be erased in future releases)
  • fixed creating class with custom metaclass defined
  • added workaround for pickling dataclasses with slots (https://bugs.python.org/issue36424)
  • added official support for python 3.8, 3.9 and pypy3.6

v1.0.2rc1

30 Sep 20:20
Compare
Choose a tag to compare
v1.0.2rc1 Pre-release
Pre-release

Preview of version 1.0.2 deployed for the first time using Travis.

v1.0.1

11 Aug 10:52
Compare
Choose a tag to compare
  • Support for python 3.6 and 3.8-dev
  • More unittests

v1.0.0

20 Mar 21:52
Compare
Choose a tag to compare

Initial version of dataslots

  • slots working with dataclass decorator
  • support for dict and weakref
  • support for inheritance
  • working on python 3.7.0b2 (be careful with bpo-33100)