Skip to content

Releases: wheerd/multiset

3.1.0

05 Apr 20:48
Compare
Choose a tag to compare

What's Changed

  • Bump setuptools-scm from 6.4.1 to 8.0.4 by @dependabot in #118
  • Update pytest requirement from <8,>=3.0 to >=3.0,<9 by @dependabot in #124
  • Update coverage requirement from <7,>=6.3 to >=6.3,<8 by @dependabot in #122
  • Drop support for python 3.7, add 3.11 and 3.12 by @wheerd in #128
  • Support mypy typing by @bakert in #127
  • Fix the update() method to support kwargs and add stubtests by @wheerd in #129

New Contributors

Full Changelog: 3.0.2...3.1.0

Fix for length on setdault() and pop()

30 Dec 12:33
b86740e
Compare
Choose a tag to compare

What's Changed

  • Relax setuptools-scm dependency constraint by @tjni in #115
  • Fix pop and setdefault methods by @Razi96 in #116

New Contributors

Full Changelog: 3.0.1...3.0.2

3.0.1

06 Dec 07:28
fd588fd
Compare
Choose a tag to compare

Fix for the release

3.0.0

06 Dec 07:20
16c8717
Compare
Choose a tag to compare

Dropped support for Python 2.7 and 3.6.
Improved hash performance for frozen multisets thanks to a contribution by @MikeFHay

2.1.1

13 Apr 19:24
Compare
Choose a tag to compare

For uploading the correct version to PyPI

2.0.2: Some performance optimizations.

26 Jul 09:45
Compare
Choose a tag to compare

Performance improvements.
Multiset now avoids calls to isinstance with ABC types (they are costly) by checking the most common types (list, tuple, dict, set, etc.) directly first.

2.0.1

16 Jun 14:10
Compare
Choose a tag to compare

This version has some bug fixes (e.g. the ones discussed in #1).
Also, the test coverage has been improved as some features were untested previously.

2.0.0

08 Feb 14:43
Compare
Choose a tag to compare

This release splits the original Multiset class into two variants, one which is mutable (Multiset) and one which is immutable and hashable (FrozenMultiset). The Multiset does not inherit from dict directly anymore, so some dict methods are missing and some have been renamed. Mostly, the API remained compatible with version 1.0 however. This release is also compatible with Python 2.7.