Releases: plone/plone.versioncheck
Releases · plone/plone.versioncheck
First bugfixes in 2.0-series
What's Changed
- Define DEVELOP_DIST as -1 integer. by @mauritsvanrees in #59
- Update workflows and docs to use 'main' as default branch [@jensens]
- Fix uv cache configuration in CI workflows. [@jensens]
Full Changelog: v2.0.0...v2.0.1
Breaking: Modernized Package
Full Changelog: 1.8.2...v2.0.0
Breaking changes
- Drop Python 2.7 and Python 3.9 support. Require Python 3.10 or later.
[jensens] - Replace
requestslibrary withhttpxfor async HTTP support.
[jensens] - Convert all HTTP operations to async (requires no user code changes).
[jensens]
New features
- 10-50x performance improvement for PyPI checks through concurrent async HTTP requests.
[jensens] - Add comprehensive type hints throughout the codebase (PEP 484).
[jensens] - Modernize build system: use
pyproject.tomlwithsetuptoolsbackend (PEP 621).
Changed fromhatchlingtosetuptoolsfor compatibility withzc.buildoutdevelop installs.
[jensens] - Add upper bound version constraint for
httpxdependency (httpx>=0.27,<1.0).
This prevents installation ofhttpx==1.0dev3which has breaking API changes (missingAsyncClient).
[jensens] - Add GitHub Actions CI/CD workflows for testing, linting, and automated releases.
[jensens] - Configure PyPI Trusted Publishing for secure, token-free releases.
[jensens] - Replace
black/mypywithruff/pyrightfor faster linting and type checking.
[jensens] - Add
pre-commitconfiguration withruff,isort(plone profile), andpyright.
[jensens] - Add concurrency control for PyPI requests (default: 20 concurrent).
[jensens] - Convert to PEP 420 implicit namespace packages.
[jensens] - Add comprehensive test coverage (pypi.py: 26 tests, utils.py: 25 tests, parser.py: 4 new tests).
[jensens] - Increase test coverage from 65% to 77% with better edge case testing.
[jensens] - Increase minimum coverage requirement from 60% to 77% in test suite.
[jensens] - Add separate lint and type-check jobs to CI workflow for better feedback.
[jensens] - Use official pyright-action for CI type checking with PR annotations.
[jensens]
Bug fixes
- Fix invalid version handling when using
packaginglibrary.
[jensens] - Replace deprecated
pkg_resourceswithpackaginglibrary.
[jensens]