Skip to content

chore(release): pact-python-ffi v0.5.10.0 - #1693

Merged
JP-Ellis merged 3 commits into
mainfrom
release/pact-python-ffi
Oct 15, 2026
Merged

JP-Ellis merged 3 commits into
mainfrom
release/pact-python-ffi

Conversation

@pact-foundation

@pact-foundation pact-foundation Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

[pact-python-ffi/0.5.10.0] 2026-10-15

🚀 Features

  • [breaking] Remove pact.v2 compatibility module

    pact.v2, the compat-v2 extra and the pact-verifier console script are removed. Migrate to the pact API (see MIGRATION.md) or pin pact-python<4.

⚙️ Miscellaneous Tasks

  • Require python 3.11 or newer

Contributors

@pact-foundation
pact-foundation Bot force-pushed the release/pact-python-ffi branch 4 times, most recently from a6fe8fc to d00c741 Compare September 22, 2026 23:04
@pact-foundation
pact-foundation Bot force-pushed the release/pact-python-ffi branch from d00c741 to 819fe31 Compare October 4, 2026 23:05
@pact-foundation pact-foundation Bot changed the title chore(release): pact-python-ffi v0.5.8.1 chore(release): pact-python-ffi v0.5.9.0 Oct 4, 2026
@pact-foundation
pact-foundation Bot force-pushed the release/pact-python-ffi branch from 819fe31 to 438b9c1 Compare October 4, 2026 23:23
@pact-foundation
pact-foundation Bot force-pushed the release/pact-python-ffi branch from 438b9c1 to 9277248 Compare October 14, 2026 10:20
@pact-foundation pact-foundation Bot changed the title chore(release): pact-python-ffi v0.5.9.0 chore(release): pact-python-ffi v0.5.10.0 Oct 14, 2026
@pact-foundation
pact-foundation Bot force-pushed the release/pact-python-ffi branch 15 times, most recently from 6e3be33 to cc7c349 Compare October 15, 2026 01:31
JP-Ellis and others added 3 commits October 15, 2026 12:37
Add wrappers for the functions introduced in 0.5.9 and 0.5.10:

-   `register_log_callback`, with the `LogCallback` alias, forwards every
    log event from the Pact libraries to a Python callable.
-   `set_log_callback_level` sets the most verbose level forwarded to
    that callback. The default is `OFF`.
-   `sync_message_generate_contents` returns a synchronous message with
    its generators applied, parsed from the V4 JSON.

The header emits the `pactffi_register_log_callback` parameter as an
opaque struct passed by value, the same defect as the plugin log
callback (pact-reference#544). The build hook now patches both into
function pointers.

0.5.9 changed the plugin log behaviour. Registering a plugin log
callback, or applying a logger through `logger_apply` or `log_to_*`,
now installs the plugin log sink. A `NULL` registration now
deregisters the callback. The plugin log docstrings describe this, and
deregistering releases the reference to the CFFI callback.

All upstream documentation links now point at 0.5.10.

Signed-off-by: JP-Ellis <josh@jpellis.me>
Assisted-by: Claude Code:claude-opus-5-5
The `add_interaction_reference` docstring had a second, terser `Args:`
section. The `StringResult.raise_exception` docstring repeated its
`Raises:` section.

Signed-off-by: JP-Ellis <josh@jpellis.me>
Assisted-by: Claude Code:claude-opus-5-5
Assisted-by: Claude Code:claude-opus-5-5
@JP-Ellis
JP-Ellis force-pushed the release/pact-python-ffi branch from cc7c349 to d8dcc76 Compare October 15, 2026 01:42
@JP-Ellis
JP-Ellis marked this pull request as ready for review October 15, 2026 01:47
@JP-Ellis
JP-Ellis enabled auto-merge (rebase) October 15, 2026 01:48
@codecov

codecov Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68%. Comparing base (dd599dc) to head (d8dcc76).
⚠️ Report is 3 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@         Coverage Diff          @@
##           main   #1693   +/-   ##
====================================
- Coverage    68%     68%   -1%     
====================================
  Files        20      20           
  Lines      3260    3288   +28     
====================================
+ Hits       2247    2261   +14     
- Misses     1013    1027   +14     
Flag Coverage Δ
examples 52% <ø> (ø)
tests 67% <ø> (-1%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@JP-Ellis
JP-Ellis merged commit d1d6e19 into main Oct 15, 2026
48 of 49 checks passed
@JP-Ellis
JP-Ellis deleted the release/pact-python-ffi branch October 15, 2026 01:52
@JP-Ellis
JP-Ellis deployed to release-pr October 15, 2026 01:53 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
release-pr — d8dcc765 Deployed Oct 15, 2026 by JP-Ellis via Create FFI release tag #997
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant