Skip to content

0.5.0

Compare
Choose a tag to compare
@rholshausen rholshausen released this 08 Aug 23:52
· 33 commits to main since this release

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