Skip to content

Commit b893b23

Browse files
committed
docs: update changelog for pact-python/3.0.0a1
1 parent af575a3 commit b893b23

File tree

1 file changed

+77
-1
lines changed

1 file changed

+77
-1
lines changed

CHANGELOG.md

Lines changed: 77 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,82 @@ All notable changes to this project will be documented in this file.
66
<!-- markdownlint-disable emph-style -->
77
<!-- markdownlint-disable strong-style -->
88

9+
## [pact-python/3.0.0a1] _2025-08-12_
10+
11+
### 🚀 Features
12+
13+
- Create pact-python-cli package
14+
- _(cli)_ Build abi-agnostic wheels
15+
- _(ffi)_ Add standalone ffi package
16+
- _(v3)_ [**breaking**] Remove pact.v3.ffi module
17+
> `pact.v3.ffi` is removed, and to be replaced by `pact_ffi`. That is, `pact.v3.ffi.$fn` should be replaced by `pact_ffi.$fn`.
18+
- [**breaking**] Prepare for v3 release
19+
> This prepares for version 3. Pact Python v2 will be still accessible under `pact.v2` and all imports should be appropriate renamed. Everyone is encouraged to migrate to Pact Python v3.
20+
- [**breaking**] Simplify `given`
21+
> The signature of `Interaction.given` has been updated. The following changes are required: - Change `given("state", key="user_id", value=123)` to `given("state", user_id=123)`. This can take an arbitrary number of keyword arguments. If the key is not a valid Python keyword argument, use the dictionary input below. - Change `given("state", parameters={"user_id": 123})` to `given("state", {"user_id": 123})`.
22+
- [**breaking**] Deserialize metadata values
23+
> As the metadata values are now deserialised, the type of the metadata values may change. For example, setting metadata `user_id=123` will now pass `{"user_id": 123}` through to the function handler. Previously, this would have been `{"user_id": "123"}`.
24+
25+
### 🐛 Bug Fixes
26+
27+
- Matcher type variance
28+
- With metadata function signature
29+
- [**breaking**] Use correct datetime default format
30+
> If you relied on the previous default (undocumented) behaviour, prefer specifying the format explicitly now: `match.datetime(regex="%Y-%m-%dT%H:%M:%S.%f%z")`.
31+
- Handle empty state callback
32+
- _(verifier)_ [**breaking**] Propagate branch
33+
> If a branch is set through either `set_publish_options` or `provider_branch`, the value will be saved and used as a default for both in subsequent calls.
34+
35+
### 🚜 Refactor
36+
37+
- Functional state handler
38+
39+
### 📚 Documentation
40+
41+
- Update changelog for v2.3.3
42+
- _(blog)_ Fix v3 references
43+
- Fix v3 references
44+
- V3 review
45+
- Update git cliff configuration
46+
47+
### ⚙️ Miscellaneous Tasks
48+
49+
- Update pre-commit hooks
50+
- Use the new `pact_cli` package
51+
- Remove packaging of pact cli
52+
- _(ci)_ Incorporate tests of pact cli
53+
- _(ci)_ Use new `pact-python/*` tags
54+
- _(ci)_ Add build cli pipeline
55+
- Exclude hatch_build from mypy checks
56+
- _(ci)_ Narrow token permissions
57+
- Remove macosx deployment target
58+
- _(ci)_ Fix cli publish permissions
59+
- Properly extract tag version
60+
- Update gitignore
61+
- _(ci)_ Fix core package build
62+
- Split out dependencies and tests
63+
- _(ci)_ Update labels
64+
- _(ci)_ Fix labels
65+
- _(tests)_ Re-organise tests
66+
- Fix bad copy-paste in tests
67+
- Log exceptions from apply_args
68+
- Improve logging from apply_args
69+
- _(examples)_ Start examples overhaul
70+
- _(ci)_ Use new examples
71+
- Update protobuf examples
72+
- _(ci)_ Cancel ci on PRs
73+
- Add vscode settings and extensions
74+
- Add envrc
75+
- Replace yamlfix with yamlfmt
76+
- Remove deptry config
77+
- Support pre and post release tags
78+
- Fix typo
79+
80+
### Contributors
81+
82+
- @JP-Ellis
83+
- @kevinrvaz
84+
985
## [2.3.3] _2025-07-17_
1086

1187
### 🚀 Features
@@ -1441,4 +1517,4 @@ All notable changes to this project will be documented in this file.
14411517
- @matthewbalvanz-wf
14421518
- @mefellows
14431519

1444-
<!-- generated by git-cliff on 2025-07-17-->
1520+
<!-- generated by git-cliff on 2025-08-12-->

0 commit comments

Comments
 (0)