https://pact.io logo
Join Slack
Powered by
# pact-rust
  • g

    GitHub

    08/27/2024, 5:19 AM
    Release - Pact Mock Server Library v2.0.1 New release published by rholshausen Bugfix Release • 616b588 - chore: Upgrade bytes crate to 1.7.1 • 5cb006d - fix: Default the Pact spec version to the version from the Pact if not overridden • bf019cd - chore: Upgrade pact_matching to 1.2.7 pact-foundation/pact-core-mock-server
  • g

    GitHub

    08/27/2024, 5:42 AM
    Release - Pact Consumer Library v1.3.1 New release published by rholshausen Bugfix Release • 941e445 - fix(pact_consumer): Plugin config needs to be stored for both the request and response part of HTTP interactions • dae427a - chore: Upgrade pact_mock_server to 2.0.1 • dc44170 - chore: Upgrade pact_matching to 1.2.7 • 978677c - chore: Upgrade pact_matching to 1.2.6 • 9a7eef7 - chore: Upgrade pact_models to 1.2.4 • bcf4db6 - chore: Upgrade pact_models to 1.2.3 pact-foundation/pact-reference
  • g

    GitHub

    09/04/2024, 12:27 AM
    Release - Pact Mock Server Library v1.2.10 New release published by rholshausen Maintenance Release • 8b7cf3e - chore: Update dependencies • c1f9d81 - chore: Upgrade pact-plugin-driver to 0.7.1 pact-foundation/pact-core-mock-server
  • g

    GitHub

    09/04/2024, 12:49 AM
    Release - Pact Mock Server Library v2.0.2 New release published by rholshausen Maintenance Release • 5789dea - chore: Update dependencies • f23e350 - chore: Upgrade pact-plugin-driver to 0.7.1 pact-foundation/pact-core-mock-server
  • g

    GitHub

    09/04/2024, 5:21 AM
    Release - Pact FFI Library 0.4.23 New release published by rholshausen Bugfix Release • 3cb0955 - chore(pact_ffi): Update dependencies • c1a00dd - chore: Upgrade pact-plugin-driver to 0.7.1 • eb687a5 - fix(ffi): annotate body in raw body branch (JP-Ellis) • dc44170 - chore: Upgrade pact_matching to 1.2.7 • fa02c30 - chore: Upgrade pact_verifier to 1.2.4 • 978677c - chore: Upgrade pact_matching to 1.2.6 • f50454f - chore: Upgrade test dependencies • 9a7eef7 - chore: Upgrade pact_models to 1.2.4 • bcf4db6 - chore: Upgrade pact_models to 1.2.3 • 4d7295a - feat: allow non-object matchers for array-contains (M. J. W-H. Campman) • 033a50a - feat: Update the matching rule expression parser to support values from provider states pact-foundation/pact-reference
    🙌 3
  • t

    Tim DuBois

    09/04/2024, 10:30 PM
    Hi all! I'm trying to build my first contract but have no doubt missed something. Is it possible to use the pact_consumer crate to create a mock_server that has an "application/octet-stream" response with a Bytes body to a request? All of the builder docs seem to require String or json::Value data for the body section, but that ultimately gets converted to Bytes here. Is that TODO on line 90 going to cause me grief, or is there a way around this? I cannot clearly see a way to overload the PactBuilder, InteractionBuilder, ResponseBuilder objects to use pact_models:bodies:OptionalBody directly.
    • 1
    • 1
  • g

    GitHub

    11/29/2024, 5:08 AM
    Release - 0.4.24 New release published by rholshausen Bugfix Release • 44d9dc1 - fix(plugins): Upgrade pact-plugin-driver to 0.7.2, fixes #473 • b55407e - fix(FFI): pactffi_with_pact_metadata overwrites existing namespace contents #466 • 420c654 - chore: Upgrade pact_models to 1.2.5 • 82e570a - docs: Update comment for pactffi_message_given_with_param (tien.xuan.vo) • 70bf2d9 - docs: Add error handling (tien.xuan.vo) • 2b5b0c1 - docs: Add known log sink type (tien.xuan.vo) • f5ddf3d - docs: Update safety comments (tien.xuan.vo) • fe07b87 - docs: add pact_ffi compat docs [skip ci] (Yousaf Nabi) • f5228c5 - chore: Use the inmem logging functions in the FFI crate • 9d3610d - chore: Use the pact_matcing LOG_ID in the FFI inmem logging functions • 1686185 - chore: Replicate setting the LOG_ID in the FFI verify functions • edc6a23 - chore: Copy the in-mem logging functions to the FFI crate • 8a5150e - chore: Copy the in-mem logging functions to the FFI crate pact-foundation/pact-reference
    t
    r
    • 3
    • 7
  • g

    GitHub

    11/29/2024, 5:45 AM
    Release - 1.3.2 New release published by rholshausen Bugfix Release • 44d9dc1 - fix(plugins): Upgrade pact-plugin-driver to 0.7.2, fixes #473 (Ronald Holshausen, Fri Nov 29 154840 2024 +1100) • f3918b6 - Merge pull request #464 from tienvx/fix-cant-compare-each-key-each-value-matching-rules (Ronald Holshausen, Wed Nov 13 110710 2024 +1100) • 420c654 - chore: Upgrade pact_models to 1.2.5 (Ronald Holshausen, Wed Nov 13 110139 2024 +1100) • c279376 - test: Add test for eachKey and eachValue matching rules comparation (tien.xuan.vo, Fri Sep 6 114019 2024 +0700) • 4604729 - chore(pact_consumer): Update dependencies (Ronald Holshausen, Wed Sep 4 110133 2024 +1000) • cbd167b - chore(pact_consumer): Upgrade pact_mock_server to 2.0.2 (Ronald Holshausen, Wed Sep 4 105927 2024 +1000) • c1a00dd - chore: Upgrade pact-plugin-driver to 0.7.1 (Ronald Holshausen, Tue Sep 3 154722 2024 +1000) • 73a1910 - bump version to 1.3.2 (Ronald Holshausen, Tue Aug 27 154056 2024 +1000) pact-foundation/pact-reference
    t
    • 2
    • 1
  • t

    Tien Vo

    12/10/2024, 10:39 AM
    It seems like we didn't release
    Pact Models Library v1.2.5
  • t

    Tien Vo

    12/10/2024, 10:41 AM
    A new release for
    Pact Models Library v1.2.6
    would be great
    r
    • 2
    • 2
  • g

    GitHub

    12/10/2024, 10:59 PM
    Release - Pact Models Library v1.2.5 New release published by rholshausen Maintenance Release • e485190 - chore(pact-models): Updated dependencies • 234cbaf - chore(pact-models): Upgraded rand_regex to 0.17.0 • 04f5d1a - chore(pact-models): Updated dependencies • 0aaa3fb - chore(pact-models): Upgrade ariadne to 0.5.0 • c6aff26 - feat: Add join_index to DocPath • 9cc38a2 - chore: do not write empty matching rules to the Pact file pact-foundation/pact-reference
  • g

    GitHub

    12/11/2024, 4:24 AM
    Release - Pact Models Library v1.2.6 New release published by rholshausen Maintenance Release • 707752a - feat: Support generators for form urlencoded (tien.xuan.vo) • c279376 - test: Add test for eachKey and eachValue matching rules comparation (tien.xuan.vo) • 691ddae - fix: Fix can't compare 2 eachKey matching rules, 2 eachValue matching rules (tien.xuan.vo) pact-foundation/pact-reference
  • g

    GitHub

    12/12/2024, 11:00 PM
    Release - Pact Mock Server Library v1.2.11 New release published by rholshausen Maintenance Release • 22456d9 - chore: Update dependencies • 85eb7eb - fix: Pass the transport config to the plugin in the test context under the transport_config key pact-foundation/pact-core-mock-server
  • g

    GitHub

    12/13/2024, 3:07 AM
    Release - Pact Consumer Library 1.3.3 New release published by rholshausen Maintenance Release • 6189c0c - fix(pact_consumer): Pass the transport config to the plugin in the test context under the transport_config key • 5fdfd02 - chore: Upgrade all the tracing crates to the latest • fab32aa - chore: Upgrade pact_models to 1.2.6 pact-foundation/pact-reference
  • t

    Tien Vo

    12/19/2024, 12:36 AM
    Hey @rholshausen, when you have free time, please help me review these PRs: • https://github.com/pact-foundation/pact-reference/pull/479 • https://github.com/pact-foundation/pact-reference/pull/462 Once merged, a new version for
    pact_ffi
    (and probably another one for
    pact_matching
    ) would be great. Thanks
    r
    y
    • 3
    • 50
  • g

    GitHub

    12/19/2024, 4:48 AM
    Release - Pact Matching Library v1.2.8 New release published by rholshausen Bugfix Release • 5fdfd02 - chore: Upgrade all the tracing crates to the latest • b1cb2d5 - feat(pact_matching): Apply generators for form urlencoded (tien.xuan.vo) • fab32aa - chore: Upgrade pact_models to 1.2.6 • 44d9dc1 - fix(plugins): Upgrade pact-plugin-driver to 0.7.2, fixes #473 • 420c654 - chore: Upgrade pact_models to 1.2.5 • 303073c - docs: update obsolete links [ci skip] (Yousaf Nab) • 61c68b8 - test: Test values using number, integer, decimal matchers (tien.xuan.vo) • 5d38945 - fix: Fix can't match array of numbers (tien.xuan.vo) • effa4c7 - chore: Update deprecation message on in-mem support logging functions in pact_matching crate • 1877010 - chore: Add deprecation notice to the functions that use LOG_ID • c1a00dd - chore: Upgrade pact-plugin-driver to 0.7.1 pact-foundation/pact-reference
  • g

    GitHub

    12/19/2024, 5:34 AM
    Release - Pact FFI Library 0.4.25 New release published by rholshausen Support for FORM urlencoded bodies • 648ab1c - chore: Upgrade pact_matching to 1.2.8 • 4aa5018 - chore(FFI): Update pact_mock_server to 1.2.11 • 5fdfd02 - chore: Upgrade all the tracing crates to the latest • 4722e2e - feat(FFI): Support integration json for form urlencoded (tien.xuan.vo) • fab32aa - chore: Upgrade pact_models to 1.2.6 pact-foundation/pact-reference
  • g

    GitHub

    12/20/2024, 3:20 AM
    Release - Pact FFI Library 0.4.26 New release published by rholshausen Re-release FFI 0.4.25 pact-foundation/pact-reference
    m
    t
    • 3
    • 3
  • g

    GitHub

    12/26/2024, 1:36 AM
    Release - New release published by github-actions[bot] pact-foundation/pact-reference
    t
    • 2
    • 1
  • g

    GitHub

    01/16/2025, 1:27 AM
    Release - New release published by github-actions[bot] pact-foundation/pact-reference
    r
    y
    j
    • 4
    • 10
  • g

    GitHub

    01/30/2025, 10:27 PM
    Release - Pact Matching Library v1.2.9 New release published by rholshausen Bugfix Release • e98a218 - fix: Do not apply include matcher at the collection level #485 • 096deed - fix: when comparing JSON with number matchers, don't covert numbers in string form to numbers #484 • d93dfb3 - fix: Do not apply date/time matchers at the collection level #483 pact-foundation/pact-reference
  • g

    GitHub

    03/13/2025, 11:49 PM
    Release - Pact Models Library v1.2.7 New release published by rholshausen ## Maintenance Release • c634659 - fix: join_field should only replace * and not [*] parts • 92394a4 - feat: enhancements backported from the V2 matching engine branch • a63fb58 - fix: Path weight calculation did not take [*] fragments into account • bcf2934 - feat: add additional conversions for docpath • a4ecc0b - refactor: Extract the DocPath resolving functions from the generators to the json_utils module • 5fdfd02 - chore: Upgrade all the tracing crates to the latest • 74df5d1 - fix: Remove duplicated timezone entries from timezone_db pact-foundation/pact-reference
  • g

    GitHub

    03/19/2025, 3:05 AM
    Release - Pact Verifier Library 1.2.5 New release published by rholshausen ## Bugfix Release • 5ad52f8 - chore(pact_verifier): Update dependencies • e32f0db - fix: Upgrade pact-plugin-driver to 0.7.3 • 164d6bb - chore(pact_verifier): change debug statement • d67db1a - chore: Update pact_models to 1.2.7 • 8fb0bcb - chore: Upgrade pact_matching to 1.2.9 • 648ab1c - chore: Upgrade pact_matching to 1.2.8 • 5fdfd02 - chore: Upgrade all the tracing crates to the latest • fab32aa - chore: Upgrade pact_models to 1.2.6 • 44d9dc1 - fix(plugins): Upgrade pact-plugin-driver to 0.7.2, fixes #473 • 420c654 - chore: Upgrade pact_models to 1.2.5 • abf1423 - fix(verifier): add Accept-Charset=utf8 header when post/put (Yousaf Nabi) • c1a00dd - chore: Upgrade pact-plugin-driver to 0.7.1 • dc44170 - chore: Upgrade pact_matching to 1.2.7 pact-foundation/pact-reference
  • g

    GitHub

    03/19/2025, 4:23 AM
    Release - Pact Verifier CLI 1.1.5 New release published by rholshausen ## Bugfix Release • e1a7c0f - chore(pact_verifier_cli): Update dependencies • df9beec - chore: Upgrade pact_verifier to 1.2.5 • d67db1a - chore: Update pact_models to 1.2.7 • 5fdfd02 - chore: Upgrade all the tracing crates to the latest • fab32aa - chore: Upgrade pact_models to 1.2.6 • 420c654 - chore: Upgrade pact_models to 1.2.5 pact-foundation/pact-reference
  • g

    GitHub

    03/19/2025, 10:22 PM
    Release - Pact FFI Library 0.4.27 New release published by rholshausen ## Bugfix Release • df9beec - chore: Upgrade pact_verifier to 1.2.5 • e32f0db - fix: Upgrade pact-plugin-driver to 0.7.3 • 11dfc49 - feat(test):add tests for different date matcher scenarios in pact_ffi (Pulak Deyashi) • d67db1a - chore: Update pact_models to 1.2.7 • d86ea2c - fix: Content type matcher was not being applied when dealing with multi-part bodies #482 • 8fb0bcb - chore: Upgrade pact_matching to 1.2.9 • e98a218 - fix: Do not apply include matcher at the collection level #485 • 096deed - fix: when comparing JSON with number matchers, don't covert numbers in string form to numbers #484 • d93dfb3 - fix: Do not apply date/time matchers at the collection level #483 pact-foundation/pact-reference
  • g

    GitHub

    03/25/2025, 5:13 AM
    Release - Pact Models Library v1.3.0 New release published by rholshausen ## Support V2 matching engine • 0ed7520 - chore(pact-models): Upgrade pact models crate to Rust 2024 edition • 306af77 - chore(pact-models): Update dependencies • ec67cd7 - feat: Handle min/max type matchers in XML elements • a8eeed0 - feat: Handle type matchers in XML elements • b43503a - feat: Handle multiple matching rules • 8664b51 - fix: resolving xml paths now filters nodes when an index is provided • fb7dcdc - refactor: Move all the execution functions into an interpreter module • 70bfc52 - feat: Added a function fetch XML node using a path • befe72a - feat: Add functions to match a DocPath against an XML document • dc333aa - fix: Fix test wrong method (tien.xuan.vo) • 63c9786 - chore: Correct failing tests after dependency update pact-foundation/pact-reference
  • g

    GitHub

    03/25/2025, 6:14 AM
    Release - Pact Matching Library v2.0.0-beta.0 New release published by rholshausen ## V2 matching engine for requests • 90c5db0 - chore: Update readme with V2 engine details • a7f218f - fix: kiss_xml should be required with the XML feature • 880f1cc - chore(pact_matching): Upgrade crate to Rust 2024 edition • 12ca528 - chore: Upgrade pact-plugin-driver to 0.7.4 • 0ed7520 - chore(pact-models): Upgrade pact models crate to Rust 2024 edition • ec67cd7 - feat: Handle min/max type matchers in XML elements • a8eeed0 - feat: Handle type matchers in XML elements • b43503a - feat: Handle multiple matching rules • 974249c - feat: Handle matching rules on attributes and text nodes • d033162 - feat: Handle incorrect number of XML child elements • e678441 - feat: Simple XML cases passing • fb7dcdc - refactor: Move all the execution functions into an interpreter module • e32f0db - fix: Upgrade pact-plugin-driver to 0.7.3 • f565e9c - feat: Implemented basic XML matching • d67db1a - chore: Update pact_models to 1.2.7 • 8cb4964 - fix: Correct for situation where a more specific matcher overrides a more general one • 8e460be - feat: tee and for-each should short-circuit on error • b2a3d6b - feat: Handle Min/Max type matchers with arrays • 8c130bc - feat: Fix propagation of type matchers to children • 82c7897 - feat: support matching rules with arrays • f0373f5 - fix: Need to handle object keys that are numeric • 0e328ed - fix: remove duplicate container nodes and add matching rules for array items • a7a447d - feat: header spec tests passing • c57885d - feat: changes required to get spec tests passing • b954e21 - feat: Add support for matching rules with body elements • e4b887b - feat: Add coloured output to the plan summary • da1f846 - feat: Add config from environment variables • 9b2d588 - feat: Convert an executed plan into the previous result structure • 012550f - feat: Added generation of a summary for the executed plan • c865022 - feat: Add annotation nodes for headers • 46784c8 - feat: Add annotation nodes for query parameters • 7ced490 - feat: Add annotation nodes for method and path • 187bb2c - feat: Handle parameterised header values • e9ae798 - feat: Header names need to be lower-cased when comparing them • 1c7d67b - feat: Support matching headers • af436bf - feat: Support min/max matching rules with query parameters • 3db5c6a - feat: Support matching rules with query parameters • c3a7593 - feat: Implement plan execution for simple query strings • 37ff9ab - feat: Added support for all the matching rules • 6641ec2 - chore: Add existence checks when matching array values • a3a66ec - refactor: Extract functions from execute_action to reduce the function length • 2f7216a - chore: Update actions to lazy evaluate their arguments • df810b7 - chore: Implement plan execution for simple JSON objects • d91f479 - chore: Implement plan execution for simple JSON arrays • dc864cc - chore: Implement plan execution for simple JSON plans • cb06065 - chore: add small timeout to test • d86ea2c - fix: Content type matcher was not being applied when dealing with multi-part bodies #482 • 8fb0bcb - chore: Upgrade pact_matching to 1.2.9 • <https://github.com/pact-foundation/pact-reference/comm… pact-foundation/pact-reference
  • g

    GitHub

    03/25/2025, 11:07 PM
    Release - Pact Matching Library v1.2.10 New release published by rholshausen ## Maintenance Release • bed6c5c - fix: Content type matcher was not being applied when dealing with multi-part bodies #482 • 52f93e7 - fix: correct tests after cherry pick from master • 25f5005 - chore: Upgrade pact-plugin-driver to 0.7.4 pact-foundation/pact-reference
  • g

    GitHub

    03/25/2025, 11:19 PM
    Release - Pact Mock Server Library v1.2.12 New release published by rholshausen ## Maintenance Release • f343aae - chore: Upgrade pact_models to 1.3.0 pact-foundation/pact-core-mock-server
  • g

    GitHub

    03/25/2025, 11:57 PM
    Release - Pact Mock Server Library v2.0.3 New release published by rholshausen ## Maintenance Release • b12f32d - chore: Update dependencies • 4c83cd8 - chore: Upgrade pact_models to 1.3.0 pact-foundation/pact-core-mock-server