Pact Python Versions Save

Python version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.

v2.2.0

1 month ago

Feat

  • upgrade FFI to 0.4.19
  • v3: add verbose mismatches
  • v3: add verifier class

Fix

  • v3: strip embedded user/password from urls
  • v3: allow optional publish options
  • delay pytest 8.1

Refactor

  • remove relative imports
  • tests: move parse_headers/matching_rules out of class

Pull Requests

Full Changelog: https://github.com/pact-foundation/pact-python/compare/v2.1.3...v2.2.0

v2.1.3

2 months ago

Fix

  • avoid wheel bloat

Pull Requests

Full Changelog: https://github.com/pact-foundation/pact-python/compare/v2.1.2...v2.1.3

v2.1.2

2 months ago

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

New Contributors

Full Changelog: https://github.com/pact-foundation/pact-python/compare/v2.1.0...v2.1.2

v2.1.1

6 months ago

What's Changed

Fix

  • Resolve a wheel packaging issue resulting in broken Pact binaries.

Full Changelog: https://github.com/pact-foundation/pact-python/compare/v2.1.0...v2.1.1

v2.1.0

7 months ago

What's Changed

BREAKING CHANGE

  • Drop support for Python 3.6 and 3.7

Feat

  • bump pact standalone to 2.0.7

Fix

  • ci: pypi publish
  • github: fix typo in template
  • migrate to pyproject.toml and hatch

Pull Requests

Full Changelog: https://github.com/pact-foundation/pact-python/compare/v2.0.1...v2.1.0

v2.0.1

9 months ago

What's Changed

Full Changelog: https://github.com/pact-foundation/pact-python/compare/v2.0.0...v2.0.1

v2.0.0

10 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/pact-foundation/pact-python/compare/v1.7.0...v2.0.0

v1.7.0

1 year ago

Minor to incorporate a few misc changes dating 6 months

What's Changed

New Contributors

Full Changelog: https://github.com/pact-foundation/pact-python/compare/v1.6.0...v1.7.0

v1.6.0

1 year ago

v1.5.2

2 years ago