Releases: pactflow/pact-protobuf-plugin
Releases · pactflow/pact-protobuf-plugin
0.5.2
0.5.1
0.5.0
Supports provider state injected values and better use of package names when resolving messages
This release contains the following features:
- Supports injecting provider state values into message fields and gRPC metadata
- Better use of package names in resolving messages (again, thanks to @stan-is-hate for this mammoth effect).
WARNING
This version of the plugin introduces forward incompatible changes to the data persisted to the generated Pact files. From 0.5.0 on-wards, the package name of the messages will also be persisted to the Pact file and used to correctly resolve the message when verifying the Pact file. This means that Pacts generated with this version (and later) will not be able to be used correctly with older versions of the plugin (0.4.0 and before). Older Pact files are supported with this version. It is advised to upgrade all uses of the Protobuf plugin to this version.
- a9630de - chore: Make test less brittle
- 309f8fc - docs: updated a couple of code comments (Stan Vodetskyi)
- fcf42b5 - feat: Update readme with example of provider state injected values #69
- 402ad18 - feat: Enable support for provider state injected values for gRPC metadata #69
- e001efa - feat: use packages when looking up services and message types. (Stan Vodetskyi)
- 6064316 - feat: Pass the test context values through to the ProviderStateGenerator #69
- 7e85d34 - feat: Implement applying generators to mutate the Protobuf messages #69
- ef237ec - feat: Support for use of provider state generator in consumer tests #69
- 2b7d5e0 - chore: cleanup some unused code warnings
- c551867 - chore: Remove unused crate
- eda6c17 - chore: Update integration test dependencies
- 8baefcb - chore: Upgrade Tonic to 0.12.0 and Hyper to 1.4.1
- f7c459a - chore: Update dependencies
0.4.0
Fixes message name resolving to correctly use package names
Thanks to @stan-is-hate for all the work on this.
- a1fad28 - chore: Update default protoc compiler to next major version (21.12)
- f219a61 - chore: Bump minor version
- d181915 - remove additional trace logs (Stan)
- 07652c9 - correct paths in integrated_tests workflows (Stan)
- a3c41b4 - update mod.rs to also use package (Stan)
- 8742072 - remove lifetime qualifiers; refactor; remove unnecessary test (Stan)
- cf9f08b - couple more integrated tests just to be sure (Stan)
- a8c9f46 - Search descriptors with no package when no package was specified. (Stan)
- ce61d8f - no unwrap (Stan)
- f4a43d4 - fix tests (Stan)
- c3278c6 - remove unnecessary changes (Stan)
- ebe3203 - use crate vs use super (Stan)
- d13474e - a basic unit test (Stan)
- c4ac8d7 - remove reference to a deleted method (Stan)
- 66b97ca - more cases covered in the test (Stan)
- 2e00c56 - revert formatting and logging changes (Stan)
- bd1fdc8 - hacky fix cont (Stan)
- 18f2e43 - hacky fix (Stan)
- 0fc95d2 - conflicting names when package is implicit (Stan)
0.3.15
Bugfix Release
- 0f47677 - fix: package namespaces are not respected (Eric Muller)
- d8e8b89 - demo bug with conflicting names (Stan)
- 652fbd4 - feat: reduce executable size (Yousaf Nabi)
- 99cdd58 - feat: linux musl static bins / windows aarch64 (Yousaf Nabi)
- 40abddf - chore(ci): macos-12 (Yousaf Nabi)
- 905967e - chore: Update dependencies
- 02b236e - chore: Update dependencies
- fb216f1 - chore: Add integrated_tests back into main project
- 454e89d - fix: Upgrade dependencies to fix tests hanging on Windows
- 713bfe5 - chore: lock jobserver to previous version as 0.1.29 fails to compile
- e4cbc3f - chore: lock jobserver to previous version as 0.1.29 fails to compile
0.3.14
Bugfix Release
- 9ba9b24 - chore: add macos to the release binaries
- d9ce8fb - fix: Take into account package names when looking for message types in the descriptors
- 4587ac7 - fix: Unknown varint fields were incorrectly treated as u64 values with 8 bytes #53
- d31aac8 - chore: Add example provider with new fields added #53
- 0b9ac92 - chore: Add example with consumer and provider #53
- 7414995 - chore: Update dependencies
- fb3faf2 - chore: Update clap to latest
- 56ddeab - chore: Remove locked version of ahash
- f5b6ad9 - chore: Disable test that hangs in CI Windows agents
- b50488d - chore: Get musl build to work on latest Rust (1.77.1)
- 0b2cf00 - chore: Fix musl build
- 5aacf85 - chore: support musl build with Rust 1.77.1
- bdb815c - chore: Update dependencies
- a88de0c - chore: Lock ahash crate as 0.8.8 requires Rust 1.72
- 067394d - chore: Downgrade ahash crate as 0.8.8 requires Rust 1.72
- 6751c74 - chore: Lock clap crate to 4.4 as 4.5 requires Rust 1.75
- 3aee270 - chore: Updated integrated_tests/response_metadata to use the corrected version of pact_consumer
- 4d4aa78 - test: integrated test for response metadata (Stan)
- 76067b2 - fix: Support configuring primitive values for fields with native values instead of strings
0.3.13
0.3.12
Bugfix Release
- 131ffc4 - doc: Add docs on matching on maps to the README
- 3f369a9 - fix: Correct the use of matching rules on maps
- 9d88e92 - feat: Support defining an each values matcher for a whole message
- 002c9d6 - chore: only run clippy on linux CI agent
- eb0acc5 - chore: Add integrated test examples to the CI build
- 0a6458c - fix: accept empty maps where there is a eachKey or eachValue matcher
- c81187c - chore: Update dependencies
0.3.11
0.3.10
Maintenance Release
This release has the following changes:
- Support for
atLeast
andatMost
matching functions - Handle fields with default values being dropped for payloads
Changelog: