Skip to content

chore(release): pact-python v4.1.0 - #1736

Merged
JP-Ellis merged 1 commit into
mainfrom
release/pact-python
Oct 16, 2026
Merged

JP-Ellis merged 1 commit into
mainfrom
release/pact-python

Conversation

@pact-foundation

@pact-foundation pact-foundation Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

[pact-python/4.1.0] 2026-10-16

🚀 Features

  • (types) Add a str-based URL type

🐛 Bug Fixes

  • Keep pact attributes bound under lazy imports

🚜 Refactor

  • (verifier) [breaking] Accept only str URLs

    Verifier.state_handler and Verifier.add_source accept only str URLs, and raise TypeError for a yarl.URL; pass str(url) instead. pact.types.StateHandlerUrl is now an alias of str.

  • [breaking] Replace yarl.URL with a str-based URL

    PactServer.url and PactServer / str return pact.types.URL, a str subclass that supports / and the scheme, host, port and path attributes. Other yarl.URL methods, such as with_query, are gone; pass query parameters to the HTTP client instead. yarl is no longer a dependency.

⚡️ Performance

  • Write the version file at build time
  • Import the message and state servers on demand

🧪 Testing

  • Run the suite with lazy Pact imports on Python 3.15

Contributors

@pact-foundation
pact-foundation Bot force-pushed the release/pact-python branch from f907a6d to bcc1f64 Compare October 16, 2026 06:01
@pact-foundation pact-foundation Bot changed the title chore(release): pact-python v4.0.1 chore(release): pact-python v5.0.0 Oct 16, 2026
Assisted-by: Claude Code:claude-opus-5-5
@JP-Ellis
JP-Ellis force-pushed the release/pact-python branch from bcc1f64 to ac857df Compare October 16, 2026 06:09
@JP-Ellis JP-Ellis changed the title chore(release): pact-python v5.0.0 chore(release): pact-python v4.1.0 Oct 16, 2026
@JP-Ellis
JP-Ellis marked this pull request as ready for review October 16, 2026 06:11
@JP-Ellis
JP-Ellis enabled auto-merge (rebase) October 16, 2026 06:12
@codecov

codecov Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70%. Comparing base (ddbf773) to head (ac857df).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@         Coverage Diff          @@
##           main   #1736   +/-   ##
====================================
  Coverage    70%     70%           
====================================
  Files        19      19           
  Lines      3331    3331           
====================================
  Hits       2337    2337           
  Misses      994     994           
Flag Coverage Δ
examples 52% <ø> (ø)
tests 69% <ø> (ø)

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 7735a91 into main Oct 16, 2026
44 checks passed
@JP-Ellis
JP-Ellis deleted the release/pact-python branch October 16, 2026 06:19
@JP-Ellis
JP-Ellis deployed to release-pr October 16, 2026 06:22 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
release-pr — ac857df9 Deployed Oct 16, 2026 by JP-Ellis via Create release tag #1027
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