Skip to content

Releases: sveinugu/jsoncanon

Release list

v0.2.4

v0.2.4 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Sep 10:00

Jsoncanon v0.2.4

This release focuses on developer tooling, CI/CD automation, type hints, and internal refactoring. There are no user-facing API changes, but the project now has a much more robust dev workflow and automated release process going forward.

Support for floating point numbers is still pending, but will come soon.

Highlights

Refactoring

  • Refactored JsonDataPreprocessor to a function-signature based design
  • Reorganized code structure and extracted a private JsonDataPreprocessor singleton for efficiency

Fixes

  • Fixed incorrect expected values in number tests

CI/CD & Release Automation

  • Added CI pipeline for linting and testing across multiple Python versions
  • Added automated release preparation and publishing workflows, including detailed commit notes for draft releases

Code Quality & Tooling

  • Migrated from Poetry to uv; replaced flake8/isort/yapf with ruff
  • Added prek for pre-commit hooks (incl. TOML auto-formatting via taplo), split into watch/commit groups
  • Added basedpyright and mypy static type checking; fixed related typing issues
  • Updated type hints to built-in generics, dropped support below Python 3.10
  • Updated recursive JSON type hints and added function overloads to fix type checker errors

Docs

  • Clarified Ruff setup and uv sync --group dev usage in CONTRIBUTING.md

Full Changelog: v0.2.3...v0.2.4