Skip to content

v2.2.2

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 10 Oct 04:14
· 46 commits to main since this release
v2.2.2

BREAKING CHANGE

  • Python 3.8 support dropped
  • The srv.mismatches is changed from a list[dict[str, Any]] to a list[Mismatch].

Feat

  • add Python 3.13, drop 3.8
  • improve mismatch error
  • add ArrayContainsMatcher
  • add each key/value matchers
  • add uuid matcher
  • add match aliases
  • improve match module
  • add strftime to java date format converter
  • add matchable typevar
  • examples: add post and delete

Fix

  • ISO 8601 incompatibility
  • typing annotations
  • examples: do not publish postgres port
  • examples: use wget for broker healthcheck
  • examples: do not overwrite pact file on every test
  • ensure matchers optionally use generators
  • kwargs typing
  • incompatible override
  • missing typing arguments

Refactor

  • match module
  • generators module
  • create pact.v3.types module
  • generate module in style of match module
  • rename generators to generate
  • matcher
  • split types into stub
  • rename matchers to match
  • prefer | over Optional and Union

Pull Requests

What's Changed

  • chore: update changelog by @JP-Ellis in #739
  • chore(deps): update docker/setup-qemu-action digest to 49b3bc8 by @renovate in #741
  • chore(ci): use pypi trusted publishing by @JP-Ellis in #740
  • chore(deps): update pactfoundation/pact-broker:latest docker digest to 18f0b8b by @renovate in #742
  • Docs/async blog by @JP-Ellis in #744
  • adding http_matcher.feature v3 compatibility test by @valkolovos in #751
  • chore(deps): update pactfoundation/pact-broker:latest docker digest to b521072 by @renovate in #760
  • chore(deps): update pre-commit hook commitizen-tools/commitizen to v3.29.0 by @renovate in #756
  • chore(deps): update dependency ruff to v0.5.7 - autoclosed by @renovate in #754
  • chore(deps): update pypa/cibuildwheel action to v2.20.0 by @renovate in #752
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.5.7 by @renovate in #743
  • chore(deps): update dependency mypy to v1.11.1 by @renovate in #753
  • chore(deps): update actions/upload-artifact digest to 834a144 by @renovate in #750
  • chore(deps): update ubuntu:24.04 docker digest to 8a37d68 by @renovate in #765
  • chore: regroup ruff in renovate by @JP-Ellis in #766
  • chore(deps): update ruff to v0.6.1 by @renovate in #764
  • chore: add extra checks by @JP-Ellis in #767
  • chore(deps): pin dependencies by @renovate in #768
  • chore(deps): update pre-commit hook crate-ci/typos to v1.23.7 by @renovate in #769
  • chore(deps): update pre-commit hook crate-ci/typos to v1.24.1 by @renovate in #771
  • chore(deps): update dependency mypy to v1.11.2 by @renovate in #772
  • chore(deps): update actions/setup-python digest to f677139 by @renovate in #774
  • chore: added v3 http interaction examples by @amit828as in #773
  • chore(deps): update pre-commit hook crate-ci/typos to v1.24.3 by @renovate in #775
  • chore(deps): update pypa/gh-action-pypi-publish action to v1.10.0 by @renovate in #776
  • chore(deps): update actions/upload-artifact digest to 5076954 by @renovate in #777
  • chore(deps): update ruff to v0.6.3 by @renovate in #770
  • chore(deps): update pypa/gh-action-pypi-publish action to v1.10.1 by @renovate in #778
  • chore(deps): update pre-commit hook crate-ci/typos to v1.24.4 by @renovate in #780
  • chore(deps): update ruff to v0.6.4 by @renovate in #782
  • chore(deps): update pre-commit hook crate-ci/typos to v1.24.5 by @renovate in #781
  • chore(deps): update peter-evans/create-pull-request action to v7 by @renovate in #779
  • chore(deps): update peter-evans/create-pull-request digest to d121e62 by @renovate in #784
  • chore(deps): update peter-evans/create-pull-request digest to 6cd32fd by @renovate in #787
  • chore(deps): update ruff to v0.6.5 by @renovate in #785
  • chore(deps): update pypa/cibuildwheel action to v2.21.0 by @renovate in #786
  • chore(deps): update pre-commit hook crate-ci/typos to v1.24.6 by @renovate in #788
  • chore(deps): update ubuntu:24.04 docker digest to 56a8952 by @renovate in #789
  • chore(deps): update pypa/cibuildwheel action to v2.21.1 by @renovate in #790
  • chore(deps): update peter-evans/create-pull-request digest to 5e91468 by @renovate in #794
  • chore(deps): update pre-commit hook biomejs/pre-commit to v0.5.0 - autoclosed by @renovate in #793
  • chore(deps): update ubuntu:24.04 docker digest to dfc1087 by @renovate in #791
  • chore(deps): update pactfoundation/pact-broker:latest docker digest to bcd3776 by @renovate in #792
  • chore(ci): add codecov by @JP-Ellis in #795
  • chore(deps): update pypa/gh-action-pypi-publish action to v1.10.2 by @renovate in #798
  • chore(deps): update pre-commit hook igorshubovych/markdownlint-cli to v0.42.0 by @renovate in #799
  • Add Http Post and Delete examples by @amit828as in #783
  • chore(deps): update pre-commit hook crate-ci/typos to v1.25.0 by @renovate in #802
  • chore(deps): update pactfoundation/pact-broker:latest docker digest to 05e813c by @renovate in #801
  • chore(deps): update codecov/codecov-action digest to b9fd7d1 by @renovate in #803
  • adding matcher POC by @valkolovos in #761
  • chore(deps): update ubuntu:24.04 docker digest to b359f10 by @renovate in #804
  • chore(deps): update actions/checkout digest to eef6144 by @renovate in #814
  • chore(deps): update actions/cache digest to 2cdf405 by @renovate in #813
  • chore(deps): update pre-commit hook crate-ci/typos to v1.26.0 by @renovate in #812
  • chore(deps): update actions/upload-artifact digest to 604373d by @renovate in #811
  • chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v5 by @renovate in #807
  • chore(deps): update pypa/gh-action-pypi-publish action to v1.10.3 by @renovate in #806
  • chore(deps): update pypa/cibuildwheel action to v2.21.2 by @renovate in #805
  • chore(deps): update ruff to v0.6.9 by @renovate in #797
  • fix(examples): do not overwrite pact file on every test by @individual-it in #810
  • fix and improve examples docker compose file by @individual-it in #808
  • chore: use matchers in v3 examples by @individual-it in #809
  • chore(deps): update dependency testcontainers to v4 by @renovate in #755
  • chore(deps): update actions/cache digest to 3624ceb by @renovate in #816
  • chore(deps): update pypa/cibuildwheel action to v2.21.3 by @renovate in #818
  • feat: improve mismatch error by @JP-Ellis in #815
  • chore: disable wait by @JP-Ellis in #821
  • chore(ci): switch to uv fully by @JP-Ellis in #819
  • fix: ISO 8601 incompatibility by @JP-Ellis in #820
  • chore(deps): pin dependencies by @renovate in #822
  • feat!: add Python 3.13, drop 3.8 by @JP-Ellis in #796
  • chore(ci): disable docs workflow on tags by @JP-Ellis in #823
  • chore(ci): tweak build conditions by @JP-Ellis in #824
  • chore: disable pypy builds by @JP-Ellis in #825

New Contributors

Full Changelog: v2.2.1...v2.2.2