Skip to content

v2.1.2

Compare
Choose a tag to compare
@github-actions github-actions released this 06 Mar 00:00
v2.1.2

BREAKING CHANGE

  • The public functions within the constants module have been removed. If you previously used them, please make use of the constants. For example, instead of pact.constants.broker_client_exe() use pact.constants.BROKER_CLIENT_PATH instead.
  • It is possible to use the system installed Pact executables by setting PACT_USE_SYSTEM_BINS to True or Yes (case insensitive).

Feat

  • add support for musllinux_aarch64
  • v3: add specification attribute to pacts
  • v3: upgrade ffi to 0.4.18
  • determine version from vcs
  • v3: add with_matching_rules
  • add python 3.12 support
  • v3: implement server log methods
  • v3: add mock server mismatches
  • v3: implement Pact Handle methods
  • ffi: add OwnedString class
  • v3: implement interaction methods
  • v3: implement pact class
  • v3: add v3.ffi module

Fix

  • clean pact interactions on exception
  • v3: incorrect arg order
  • v3: rename with_binary_file
  • example: publish message pact
  • example: publish_verification_results typo
  • example: unknown action
  • v3: add __next__ implementation
  • deps: add yarl dependency
  • v3: unconventional __repr__ implementation
  • build: include omitted lib dir
  • test: ignore internal deprecation warnings
  • ci: add missing environment

Refactor

  • v3: split interactions into modules
  • refactor constants

Pull Requests

  • chore: add future deprecation warnings by @JP-Ellis in #398
  • fix(ci): add missing environment by @JP-Ellis in #406
  • style: fix pre-commit lints by @JP-Ellis in #417
  • Reduce CI Runs on Draft PRs by @JP-Ellis in #412
  • Fix hatch test scripts by @JP-Ellis in #409
  • FFI Groundwork by @JP-Ellis in #395
  • FFI Wrapper by @JP-Ellis in #403
  • Pact Consumer by @JP-Ellis in #410
  • chore: add label sync by @JP-Ellis in #429
  • Feat/interaction implementation by @JP-Ellis in #424
  • Add renovate dependency management by @JP-Ellis in #427
  • chore: enable lints fully by @JP-Ellis in #426
  • chore(deps): update pre-commit hook psf/black to v23.10.1 by @renovate in #432
  • chore(deps): update actions/checkout action to v4 by @renovate in #433
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1.2 by @renovate in #431
  • Add FFI type hinting by @JP-Ellis in #436
  • feat(ffi): add OwnedString class by @JP-Ellis in #438
  • chore(labels): fix incorrect label alias by @JP-Ellis in #441
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1.3 by @renovate in #440
  • chore(deps): update dependency types/mypy to v1.6.1 by @renovate in #443
  • chore: exclude python 3.12 by @JP-Ellis in #444
  • feat(v3): implement Pact Handle methods by @JP-Ellis in #439
  • fix(v3): add next implementation by @JP-Ellis in #447
  • fix(example): unknown action by @JP-Ellis in #448
  • chore(ci): revise pypi publishing by @JP-Ellis in #454
  • chore(deps): update dependency dev/ruff to v0.1.4 by @renovate in #456
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1.4 by @renovate in #457
  • fix: provider verification should use publish_verification_results by @neringaalt in #455
  • Fix/ruff linting by @JP-Ellis in #459
  • chore(deps): update pre-commit hook psf/black to v23.11.0 by @renovate in #461
  • chore(deps): update dependency dev/black to v23.11.0 by @renovate in #460
  • fix/workflow-permissions by @JP-Ellis in #462
  • chore(deps): update dependency dev/ruff to v0.1.5 by @renovate in #463
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1.5 by @renovate in #464
  • chore(deps): update dependency types/mypy to v1.7.0 by @renovate in #466
  • docs(readme): fix links to examples by @filipsnastins in #467
  • chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3.1.0 by @renovate in #477
  • Consumer Compatibility Suite (V1) by @JP-Ellis in #468
  • chore: update submodule by @JP-Ellis in #478
  • chore(deps): update dependency dev/ruff to v0.1.6 by @renovate in #480
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1.6 by @renovate in #481
  • feat: add python 3.12 support by @JP-Ellis in #422
  • chore(deps): update dependency types/mypy to v1.7.1 by @renovate in #482
  • chore(deps): update pypa/gh-action-pypi-publish action to v1.8.11 by @renovate in #483
  • chore(deps): update pre-commit hook commitizen-tools/commitizen to v3.13.0 by @renovate in #484
  • chore(deps): update dependency dev/ruff to v0.1.7 by @renovate in #485
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1.7 by @renovate in #486
  • chore(deps): use renovate best practices by @JP-Ellis in #487
  • chore(deps): pin dependencies by @renovate in #488
  • chore(deps): update actions/setup-python action to v5 by @renovate in #489
  • chore(deps): update pre-commit hook psf/black to v23.12.0 by @renovate in #491
  • chore(deps): update dependency dev/black to v23.12.0 by @renovate in #490
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1.8 by @renovate in #493
  • chore(deps): update dependency dev/ruff to v0.1.8 by @renovate in #492
  • chore(deps): update ubuntu:22.04 docker digest to 6042500 by @renovate in #496
  • chore(deps): update actions/download-artifact action to v4 by @renovate in #494
  • chore(deps): update actions/upload-artifact action to v4 by @renovate in #495
  • chore(ci): re-enable pypy builds on Windows by @JP-Ellis in #479
  • chore(deps): update actions/download-artifact digest to f44cd7b by @renovate in #497
  • chore(deps): update dependency dev/ruff to v0.1.9 by @renovate in #499
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1.9 by @renovate in #500
  • chore(deps): update dependency types/mypy to v1.8.0 by @renovate in #498
  • chore(deps): update dependency dev/black to v23.12.1 by @renovate in #501
  • chore(deps): update pre-commit hook psf/black to v23.12.1 by @renovate in #502
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1.10 by @renovate in #504
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1.11 by @renovate in #505
  • chore(deps): update dependency dev/ruff to v0.1.11 by @renovate in #503
  • chore(deps): update pactfoundation/pact-broker:latest docker digest to 9cdd475 by @renovate in #506
  • chore(deps): update actions/download-artifact digest to 6b208ae by @renovate in #507
  • chore(deps): update actions/upload-artifact digest to 1eb3cb2 by @renovate in #510
  • chore(deps): update dependency dev/ruff to v0.1.13 by @renovate in #508
  • chore(deps): update actions/upload-artifact digest to 694cdab by @renovate in #513
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1.14 by @renovate in #509
  • chore(deps): update ubuntu:22.04 docker digest to e6173d4 by @renovate in #512
  • chore(deps): update dependency dev/ruff to v0.1.14 by @renovate in #514
  • chore(deps): update actions/upload-artifact digest to 26f96df by @renovate in #515
  • chore(deps): update pypa/cibuildwheel action to v2.16.3 by @renovate in #519
  • chore(deps): update pre-commit hook psf/black to v24 by @renovate in #518
  • chore(deps): update codecov/codecov-action digest to 4fe8c5f by @renovate in #516
  • chore(deps): update dependency dev/black to v24 by @renovate in #517
  • chore(deps): update pre-commit hook psf/black to v24.1.1 by @renovate in #521
  • chore(deps): update pypa/cibuildwheel action to v2.16.4 by @renovate in #522
  • chore(dev): replace black with ruff by @JP-Ellis in #525
  • chore(dev): add markdownlint pre-commit by @JP-Ellis in #526
  • chore(deps): update dependency dev/ruff to v0.1.15 by @renovate in #523
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1.15 by @renovate in #524
  • chore(deps): update pre-commit hook igorshubovych/markdownlint-cli to v0.39.0 by @renovate in #527
  • chore(ci): fix pypy linux builds by @JP-Ellis in #528
  • chore(deps): update codecov/codecov-action digest to ab904c4 by @renovate in #529
  • docs: fix typos by @JP-Ellis in #530
  • chore(deps): update codecov/codecov-action action to v4 by @renovate in #532
  • chore(deps): update pypa/cibuildwheel action to v2.16.5 by @renovate in #531
  • chore(deps): update codecov/codecov-action digest to e0b68c6 by @renovate in #534
  • chore(deps): update ubuntu:22.04 docker digest to e9569c2 by @renovate in #535
  • chore(deps): update pre-commit hook commitizen-tools/commitizen to v3.14.1 by @renovate in #538
  • chore(deps): update pactfoundation/pact-broker:latest docker digest to a341c6a by @renovate in #540
  • chore(deps): update actions/upload-artifact digest to 5d5d22a by @renovate in #541
  • chore(deps): update actions/download-artifact digest to eaceaf8 by @renovate in #542
  • fix: ensure interactions are not left when exception occur inside with statement (#533) by @dryobates in #539
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.2.1 by @renovate in #537
  • chore(deps): update dependency dev/ruff to v0.2.1 by @renovate in #536
  • chore(deps): upgrade pact ruby standalone to 2.1.0 by @JP-Ellis in #544
  • chore(deps): upgrade pact ffi to 0.4.15 by @JP-Ellis in #545
  • Feat/v2 consumer suite by @JP-Ellis in #546
  • chore(deps): update to pact-ruby-standalone-v2.4.0 by @YOU54F in #547
  • chore(deps): update to pact-ruby-standalone-v2.4.1 by @YOU54F in #548
  • chore(deps): update endbug/label-sync digest to 5207415 by @renovate in #549
  • chore(deps): update dependency dev/ruff to v0.2.2 by @renovate in #552
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.2.2 by @renovate in #553
  • chore(deps): update pre-commit hook commitizen-tools/commitizen to v3.15.0 by @renovate in #551
  • chore(deps): update ubuntu:22.04 docker digest to f9d633f by @renovate in #550
  • chore(tests): add v3 consumer compatibility suite by @JP-Ellis in #556
  • Chore/metadata by @JP-Ellis in #555
  • chore(deps): update pactfoundation/pact-broker:latest docker digest to 2c5277c by @renovate in #557
  • chore(deps): update codecov/codecov-action digest to 0cfda1d by @renovate in #558
  • V4 HTTP Consumer Compatibility Suite by @JP-Ellis in #563
  • chore(ci): speed up wheels building on prs by @JP-Ellis in #564
  • chore(deps): pin dependencies by @renovate in #565
  • chore(deps): update pypa/gh-action-pypi-publish action to v1.8.12 by @renovate in #562
  • chore(deps): update codecov/codecov-action digest to 54bcd87 by @renovate in #561
  • chore(deps): update actions/download-artifact digest to 87c5514 by @renovate in #560
  • chore(deps): update pre-commit hook commitizen-tools/commitizen to v3.16.0 by @renovate in #559
  • chore(deps): update dependency test/pytest to v8 by @renovate in #520
  • chore: migrate from flat to src layout by @JP-Ellis in #568
  • chore(deps): update actions/cache digest to ab5e6d0 by @renovate in #571
  • chore(deps): update dependency dev/ruff to v0.3.0 by @renovate in #569
  • chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.3.0 by @renovate in #570
  • refactor(v3): split interactions into modules by @JP-Ellis in #574
  • feat(v3): add specification attribute to pacts by @JP-Ellis in #576
  • chore(deps): update actions/download-artifact digest to c850b93 by @renovate in #577
  • Automatic Releases by @JP-Ellis in #567
  • chore(deps): pin dependencies by @renovate in #579
  • feat: add support for musllinux_aarch64 by @JP-Ellis in #580
  • chore(ci): remove check of wheels by @JP-Ellis in #581
  • chore(ci): speed up build pipeline by @JP-Ellis in #582
  • chore(ci): another build pipeline fix by @JP-Ellis in #583
  • chore(ci): typo by @JP-Ellis in #584

New Contributors

Full Changelog: v2.1.0...v2.1.2