Skip to content

v1.3.0

Compare
Choose a tag to compare
@nvictus nvictus released this 01 Jul 20:49
· 29 commits to master since this release

This minor release drops support for Python versions <3.7

In turn, we now provide full static type annotations and have migrated to modern package build tools.

New features:

  • Added popvalue method to mirror recent topvalue addition.
  • Added default argument to top and support for default using pop with PQ semantics. If given, this value is returned when the collection is empty.

Maintenance:

  • Dropped support for Python 2.7, 3.4, 3.5, and 3.6 (#22).
  • Inlined type annotations and removed stub file. Thanks for advice from @aqeelat.
  • Migrate to pyproject.toml
  • Linting and static type checking in CI

Deprecations:

  • minpq and maxpq module-level functions are deprecated in favor of pqdict classmethods and will be removed in v1.4