v1.0.0
1.0.0 (2023-05-15)
Bug Fixes
- add comma to build (3edb854)
- add commit and shallow since to have reproducible build (1e4473b)
- add crate_index_protobuf to BUILD.bazel (7f17a16)
- add create crate repositories to build the workspace (0b24b06)
- add host parameter to support IP4 adresses in docker (1512f96)
- add pact protobuf plugin bin to filegroup (d48502d)
- add protobuf to source (bd3f9d5)
- add the wire type into the failure message (d88641e)
- apply crate_index_protobuf to create_crate (6d455a4)
- check not empty value for unexpected keys (34d0248)
- comparing enum fields (a29db28)
- correct the installation docs to make the plugin executable (b998318)
- correct the installation docs to make the plugin executable (8f7956c)
- correct the matching rule paths (7595ac3)
- correctly match byte arrays (1f581a6)
- disable ansi mode so the log file is more readable (8dc4c17)
- do not shutdown server for a get_mock_server_results request (580baba)
- ensure there is the enough bytes to read a repeated packed field (9d896af)
- errors configuring request fields were being swallowed (0c37f1b)
- extract message type from input type to compare (aa49c13)
- fix source in repositories (9e98525)
- for interactions over HTTP, need to specify if the message is for the request or response (29803ec)
- Generate the correct matching rule paths for repeated fields (31a8873)
- gRPC response metadata was not being processed correctly (29dfb4a)
- handle additional fields from the provider (8065bff)
- handle case where actual field does not match expected discriptor (f0cd56e)
- Handle interactions with empty messages (0f44247)
- improve visibility of pact_protobuf_plugin rust library (12c0c24)
- make visibility public to pact-protobuf-plugin bin file (7a45058)
- manifest had the wrong version (8cb6c4f)
- matching rule paths for repeated fields were not correct when configured with an each value matcher (ae823c0)
- matching rule paths for repeated fields were not correct when configured with data in a map form (874b362)
- matching rule paths were incorrect for gRPC interactions (2bfcd37)
- mock-server: return an error if we don't get a request for any service method #15 (75d7343)
- need to consider the default values when comparing with a missing field value (9697164)
- pact tests need to use the multi_thread tokio reactor (e30ba32)
- print correct message in debug log (5627fac)
- provide right rustdoc binary path (dcb578d)
- regression: gRPC implementaton broke verifying Protobuf messages (fda0844)
- return an error if any of the response parts fail to be parsed or constructored (d7b37b0)
- revert the pact crate update as it was breaking access via FFI (8b02d88)
- Service messages types will be the full name (99108f2)
- set the protoc command and error logs to better levels (90e90d7)
- set the protoc command and error logs to better levels (ec3dd88)
- Support matching on fields that are defined in imported proto files (59a1bd2)
- support message fields with global enum values (not local to a message) (473f61b)
- Support repeated fields configured with lists of values (1fea4f4)
- Support using google.protobuf.StringValue with service method calls (a54dcaf)
- Suppport message types embedded in other message types (9ebdf4f)
- update pact-plugin-driver to 0.0.15 (fixes issue with version) (3f97ae8)
- Update the readme with host parameter details (ae7a7e3)
- Upgrade pact_verifier crate to 0.13.21 (fixes pact verification test) (cab8ce1)
- use another name than crate_index (15184e8)
- was not finding enums where the package had more than one element in the path (45e67e3)
- was not finding enums where the package had more than one element in the path (dbacfa4)
- when decoding a message, you need all the descriptors in case you need to lookup a message type (d037132)
- Windows: correct the protobuf include for Windows (2faf8f4)
- windows: Protoc does not support Windows paths that start with \?\ (45a9937)
- windows: Use native OS paths when execting protoc binary (f1e14fc)
Features
- add a shutdown time of 10 minutes to avoid hanging processes (accda0d)
- add an integration test for mock server not getting any requests #15 (839650b)
- add bazel to build pact-protobuf-plugin (8e94395)
- add bunyan formatted JSON logs (55c9fa5)
- add configurable logging, default logging to also write to a file (c5a09ce)
- add initial classes for Protobuf dynamic message support (5cc588d)
- add initial markdown rendering of the protobuf message (568cf92)
- add partial support for generators with Protobufs (date/time only) (80ec6c0)
- add partial support for generators with Protobufs (date/time only) (b6be68d)
- add processing matching rules and generators (cb3e5a5)
- add supporting for downloading a protoc binary (b1f6dbd)
- add verification output for the verification call (070ebbc)
- added Pact verification test for Protobuf init plugin service call (494b061)
- added support for Protobuf Struct fields (ee6d581)
- allow additional includes to be configured for protoc (ae8fb4b)
- build linux binary with musl (5590dbc)
- Complex message matching working (f1c907e)
- correct the trace logging of protoc command (4c83a29)
- default the address to bind to to the IP4 lookback adapter (653cc79)
- first working version of a gRPC mock server (cfe24a8)
- got a dynamic message encoding a simple Protobuf (b2d9c52)
- Got existing Protobuf message test passing with new plugin (2120da5)
- implememted encoding embedded message field values (da9c74d)
- implememted encoding enum field values (64140c5)
- implement configure Protobuf service interaction (907f243)
- Implement matching of embedded message fields (44eee60)
- Implement matching of Protobuf repeated fields (1655d51)
- implement method for mock server results for FFI functions (0a3cb5f)
- implement parsing proto file using protoc (93671d7)
- implement support for repeated primitive field values (145d523)
- implement validating response metadata (b0e3bf9)
- Implemented comparison of map and repeated fields (d2e4d6f)
- implemented decoding Protobuf wire format (7f587a4)
- implemented encoding messages with map and repeated fields (edd9afc)
- Implemented RandomBoolean, ProviderStateGenerator and MockServerURL generators (7f0e9d7)
- Implemented RandomHexadecimal, RandomString and Regex generators (2b2978e)
- Implemented RandomInt, RandomDecimal and Uuid generators (2804ad5)
- implemented simple values (non-repeated and map) (0883863)
- implemented support for repeated fields (e2a7514)
- implemented the plubming for verifing requests (1a907fa)
- initial attempt at verifcation (5a4915e)
- Initial gRPC request implementation for verifying (377f010)
- Initial setup of basic mock gRPC server (d66ace5)
- return the results back from the mock server (6c2f38b)
- support adding a test context to the mock server to support generators (fc159a7)
- support configuring enum fields (ca3822b)
- support configuring fields of type google.protobuf.BytesValue (b76bc82)
- support configuring gRPC message metadata in consumer tests (024e8d3)
- support decoding packed repeated fields (7773c99)
- support packed repeated fields (c65deb4)
- support passing in protoc config from the consumer test (79ba606)
- support simple map fields (fe36ade)
- Support using generators with mock server responses (ac210b1)
- support validation and metadata in consumer tests (dc78c0c)
- use tracing appender for a rolling log file instead of log4rs (905b19e)