Skip to content

Releases: plone/plone.versioncheck

First bugfixes in 2.0-series

05 Dec 00:39

Choose a tag to compare

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

04 Nov 12:54

Choose a tag to compare

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 requests library with httpx for 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.toml with setuptools backend (PEP 621).
    Changed from hatchling to setuptools for compatibility with zc.buildout develop installs.
    [jensens]
  • Add upper bound version constraint for httpx dependency (httpx>=0.27,<1.0).
    This prevents installation of httpx==1.0dev3 which has breaking API changes (missing AsyncClient).
    [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/mypy with ruff/pyright for faster linting and type checking.
    [jensens]
  • Add pre-commit configuration with ruff, isort (plone profile), and pyright.
    [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 packaging library.
    [jensens]
  • Replace deprecated pkg_resources with packaging library.
    [jensens]