Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,58 @@ All notable changes to this project will be documented in this file.
<!-- markdownlint-disable emph-style -->
<!-- markdownlint-disable strong-style -->

## [pact-python/4.2.0] _2026-10-23_

### πŸš€ Features

- Route Pact library and plugin logs through logging
- Initialise Pact logging from Pact and Verifier
- Set the default Pact log forwarding level
- Replace pact_ffi logger set-up with a warning
- Name Pact library loggers with dotted module paths
- Scope the Pact test run ID to each pytest test
- Add a unittest mixin for Pact logs
- Expose buffered plugin log entries
- _(ffi)_ Build abi3t wheels for free-threaded Python

### πŸ› Bug Fixes

- Forward the Pact library at the level of pact.ffi alone
- Restore the pytest run ID after a unittest test case
- _(ci)_ Tag the merged release commit
- _(ci)_ Keep PR merge runs out of the main release group

### ⚑️ Performance

- Defer loading the Pact FFI until Pact is used

### πŸ“š Documentation

- Describe logging through the standard logging module
- Describe log_id during provider verification
- Describe the pytest plugin and unittest mixin
- Colour terminal output in code blocks
- Add a blog post on Pact logs in test output

### πŸ§ͺ Testing

- Cover Pact library log forwarding end to end
- Cover plugin log forwarding end to end
- Cover forwarding alongside an externally applied logger
- Cover the lazy attributes of pact
- Run the suites on free-threaded Python 3.15
- Import testcontainers only when starting a broker

### πŸ› οΈ Miscellaneous Tasks

- _(ffi)_ Download pact_ffi from the dist-built release
- Require pact-python-ffi 0.5.12
- _(ci)_ Stop release runs on main being dropped

### Contributors

- @JP-Ellis

## [pact-python/4.1.0] _2026-10-16_

### πŸš€ Features
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[project]
name = "pact-python"
version = "4.1.0"
version = "4.2.0"
description = "Tool for creating and verifying consumer-driven contracts using the Pact framework."
readme = "README.md"
license = { file = "LICENSE" }
Expand Down
Loading