Skip to content

Releases: pact-foundation/pact_broker

Version 2.112.0

17 Sep 09:41
Compare
Choose a tag to compare

Features

  • implemented setting cache for can-i-merge badges based on default configuration (e2bce55e)
  • add application/hal+json content type for webhook logs (#679) (e84de4f4)

Bug Fixes

  • make clean_task.rb print the payload correctly (10fd69e2)

Version 2.111.0

12 Aug 13:57
Compare
Choose a tag to compare

Features

Bug Fixes

  • docs
    • Update OAS with correct ref to Notice schema (6729b7f8)

Version 2.110.0

10 May 05:50
Compare
Choose a tag to compare

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)

Version 2.109.1

21 Feb 05:59
Compare
Choose a tag to compare

Bug Fixes

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

Version 2.109.0

05 Feb 17:36
Compare
Choose a tag to compare

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)

Version 2.108.0

05 Jan 03:51
Compare
Choose a tag to compare

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)

Version 2.107.1

03 May 02:16
Compare
Choose a tag to compare

Bug Fixes

  • add missing require in migration (6b540235)

Version 2.107.0

02 May 00:59
Compare
Choose a tag to compare
v2.107.0

Version 2.107.0

Version 2.107.0.beta.1

01 May 03:20
Compare
Choose a tag to compare
v2.107.0.beta.1

Version 2.107.0.beta.1

Version 2.106.0

03 Feb 23:49
Compare
Choose a tag to compare

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)