v1.3.0
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 recenttopvalue
addition. - Added
default
argument totop
and support fordefault
usingpop
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
andmaxpq
module-level functions are deprecated in favor ofpqdict
classmethods and will be removed in v1.4