Pact Broker Versions Save

Enables your consumer driven contracts workflow

v2.110.0

5 days ago

Features

  • reduce contention when updating the contract_data_updated_at field for integrations (#671) (ff72d03c)

  • support consumer version selector for all branches (#667) (34334ca8)

  • clean

    • use postgres advisory locks to ensure only one process can run a clean at a time (#672) (637c25fa)

Bug Fixes

  • use for_all_tag_heads instead of latest_by_consumer_tag when fetching wip by branch (14148a34)
  • optimise WIP pacts by using branch/tag heads (#668) (871209e1)
  • improve performance of WIP pacts by using branch heads instead of calculating latest pact for branch (f9705583)

v2.109.1

2 months ago

Bug Fixes

  • improve performance for 'pacts for verification' queries (299a6abe)
  • correct spelling in message when pact is modified (ae62ae7a)

v2.109.0

3 months ago

Features

  • use SemanticLogger for Padrino (#662) (5d9d7002)
  • improve performance of publication for very large pacts by calculating the content SHA only once per request (a947e409)

Bug Fixes

  • pass in environment to environment policy when getting an individual environment (5c386a43)
  • Dockerfile to reduce vulnerabilities (#650) (9aaa3484)

v2.108.0

4 months ago

Features

  • bulk delete branches (#652) (14ac33c8)

  • add latest version for branch endpoint (#644) (c216bec8)

  • add no-cache header (9a637327)

  • suppport page + size as pagination params (#642) (c71089fe)

  • do not include pb:record-deployment or pb:record-release relations for versions embedded in resources (2f43590c)

  • remove status from individual error in problem+error response (a4b3ec58)

  • add version_id indexes to deployed_versions and released_versions (00fc7d10)

  • add endpoint to list branches for a pacticipant (#638) (ff7e3a53)

  • stop running tests for ruby 2.7 (034aba3b)

  • update sinatra and rack-protection to ~> 3.0 (92ebbdd3)

  • add branch endpoint supporting GET and DELETE (#635) (1bb6088d)

  • optimise matrix by applying specified limit to pact publications before joining to verifications (c61c324e)

  • optimise matrix query when selectors with pacticipant names only are used (b98f5d1a)

  • include environment name in pact metadata (e120c4e7)

  • improve wording of 'no version exits' messaging in can-i-deploy response (9529c679)

  • improve performance of matrix when multiple selectors are specified (#631) (58a28604)

  • add pagination parameter validation for paginated endpoints. (#626) (abb0a1c6)

  • add endpoint to list pacticipant versions by branch (9b4e3f61)

  • add endpoint to return latest pact for consumer, provider and consumer branch (f77086ef)

  • update required ruby version from 2.2 to 2.7 (f1b1e906)

  • add pagination and filtering for integrations endpoint (68d7cf30)

  • add contract_data_updated_at to integrations table to speed up dashboard query (#617) (e43c10f2)

  • support setting feature toggles via individual environment variables (#609) (be7d9d52)

  • metrics

    • hardcode matrix count to -1 as calculating it causes performance issues and it has no meaning (62e121b8)
  • matrix

    • optimise identification of the 'latest tag' (824c516a)

Bug Fixes

  • metrics

    • correct the query for pactRevisionsPerConsumerVersion (f76b9935)
  • fix performance issues due to contention in the integrations table when publishing a large number of contracts (> 20) per request, in parallel (#654) (321a2291)

  • raise 404 on paths with missing path segments (#648) (930b45cd)

  • do not error when no environment is found by name (d1501618)

  • ensure pact associations are eager loaded when finding a single pact (c98abda6)

  • gracefully handle validating an array when a hash is expected (b26ddb46)

  • fix error occuring when can-i-deploy badge is requested and no version is found (db7dee3a)

  • fix bug in error handling for 'can-i-deploy branch to environment' badge (c23beb6b)

  • improve performance of network diagram (#614) (ffd3ec4b)

  • fix error raised when attempting to log warning when webhook_redact_sensitive_data is set to false (9b66270e)

  • gracefully handle execution of webhooks that are deleted between execution attempts (#613) (1127b41f)

  • add extra validation to ensure parsed content is a hash when publishing pacts (913e0a52)

  • matrix

    • return only most recent row missing verification when latestby=cp (b7550e53)

v2.107.1

1 year ago

Bug Fixes

  • add missing require in migration (6b540235)

v2.107.0

1 year ago

v2.107.0.beta.1

1 year ago

v2.106.0

1 year ago

Features

  • add consumer_version_id index to latest_pact_publication_ids_for_consumer_versions (b75ca5ee)

  • improve the performance of the incremental clean queries (c3a07c79)

  • add index to provider_version_id column in latest_verification_id_for_pact_version_and_provider_version (0e1c43dd)

  • Pacticipant pagination (#585) (f1a9be20)

  • do not allow JSON request bodies that are not Objects or Arrays (3d917286)

  • add index for verification_id in pact_version_provider_tag_successful_verifications table (b82a773a)

  • monkey patch Webmachine render_error method to support problem+json (#584) (508f7ce2)

  • support problem+json for error messages (#583) (92957ebb)

  • add index to provider_version_id column in verifications table (aac33725)

  • clean

    • log automatically added selectors (135c1c0e)

Bug Fixes

  • check that request body does not contain any invalid UTF-8 characters before JSON parsing (0a08d644)

  • versions

    • add missing next and previous relations to paginated response (3b46847e)
    • eager load associations for versions endpoint (2a57dc42)
  • ui

  • webhooks

    • correctly validate HTTP method when the given method is not a valid class name (6da5a4f3)

v2.105.0

1 year ago

Features

  • update wording of version description for version in environment (d122fa68)

  • webhooks

    • allow auth headers to be logged for debugging purposes (#575) (102b1930)

Bug Fixes

  • add validation to ensure an environment or to tag is specified for the /can-i-deploy endpoint (e9d772eb)

  • implement pending logic for provider branches (7cdf1a7c)

  • wip pacts

    • fix performance issue encountered when removing explicitly specified pacts from the list of potential WIP pacts (#573) (757f0301)

v2.104.0

1 year ago

Features

  • ignore deleted webhooks when calculating the latest triggered webhook status (c3105dcb)