Skip to content

Releases: pact-foundation/pact_broker

Version 2.84.0

10 Sep 01:23
Compare
Choose a tag to compare

Features

  • use the first tag as the branch when publishing pacts using the contracts/publish endpoint (7b903c1d)

  • support multiple branches per version (#495) (acff2fcc)

  • Support deleting all pacts for a specific tag in the UI (#480) (10dda8ae)

  • add webhook template parameter for GItlab verification statuses (#493) (390ae0d8)

  • pacts for verification

    • include pending status for responses by default when includePendingStatus is not specified (748d3b87)

Bug Fixes

  • when the latest version for a tag does not have a pact, do not return a pact for the 'latest tag' selector (374c77ce)
  • issue-reproduction/Dockerfile-pact-broker to reduce vulnerabilities (#491) (9692b465)
  • Dockerfile to reduce vulnerabilities (#496) (57c190ef)

Version 2.82.0

14 Aug 06:03
Compare
Choose a tag to compare

Features

  • do not allow contract content for a consumer version to be modified for all new Broker instances (#484) (b1819749)

  • ensure saved configuration is loaded appropriately into the RuntimeConfiguration (c5ab52ad)

  • automatically set main branch (#483) (63e287ee)

  • allow the first tag to be used as the branch name to assist migrating to branches (#478) (a086214a)

  • add support for contract_requiring_verification_published webhook (#476) (b4699df0)

  • automatically create database connection from YAML or environment variable config (ca34b030)

  • move basic auth code in from pact-broker-docker (869bcd61)

  • allow Pact Broker to be configured using a YAML file and environment variables (#471) (6e3d0e62)

  • pacts for verification

    • if no consumer version selectors are specified, return the pacts for the latest main version, and all the deployed and released versions (5fccd524)
  • metrics

    • add counts for environment, deployed version, released version, pacticipants and versions with branch set (8272b08b)

Bug Fixes

  • lazy load latest verification using select max, and eager load using the skynet query (e6ee6ab5)

  • improve performance of query for latest verification for pact_version (d63081d8)

  • do not allow the deployment of a provider version with no results when one of its consumers is already deployed (#486) (219029c0)

  • add cache busting parameters to css and js links (9cab749a)

  • can-i-deploy

    • correctly construct options when environment is used in the can-i-deploy GET endpoint (cb79a404)

Version 2.81.0

17 Jul 03:48
Compare
Choose a tag to compare

Features

  • enable environments, deployed versions and released versions endpoints without a feature toggle required (84a59c10)
  • add detailed debug logging for WIP pact calculations (81290238)
  • add debug level logging for WIP pacts calculations (a7c16833)
  • include deployed and released versions in index page when viewing latest tags (655e9dd5)
  • add interactions counts to metrics endpoint (c765afe1)
  • automatically create a deployed version when a tag is created with the same name as an environment (56a583af)
  • support viewing all versions for branch in matrix UI (12f92951)
  • validate environment name in consumer version selector (f1ad8f6b)
  • support the deployedOrReleased: true consumer version selector (042a1612)
  • add interactions_count and messages_count to pact_versions table (c17adbe6)
  • shorten length of metadata in pact URLs by using the consumer version id instead of number (27b34bc9)

Bug Fixes

  • Display pagination correctly in index page with tag (#469) (cda9c15e)

Version 2.80.0

06 Jul 05:42
Compare
Choose a tag to compare

Features

  • filter pacticipant name on index page (#446) (fd882da4)

  • add uuid to webhook decorator (3a916064)

  • add endpoint to list currently supported versions for an environment (9608be8b)

  • support marking a released version as unsupported (f6c4ee27)

  • add pactbroker.azureDevOpsVerificationStatus webhook parameter (8804a90f)

  • add deployed version resource, supporting marking deployed version as undeployed (3dd19955)

  • add warnings to can-i-deploy response when bad practice selectors are used (85540c85)

  • support PATCH for pacticipant with application/merge-patch+json (404e14cb)

  • set main branch for pacticipant (ab1cd016)

  • rename writeMode to onConflict for contract publishing endpoint (26a4e358)

  • replace mainDevelopmentBranches with mainBranch for pacticipant (02d4525e)

  • updating pending and wip logic to exclude pacts already verified by another branch before the specified branch was created (#432) (db643d3c)

  • ignore pacticipant for can i deploy (#429) (25e62fd9)

  • add notices to contract publishing response, with intent to rem… (#430) (dacbe906)

  • support deployments and releases as separate concepts (#426) (58d173db)

  • keep the triggered webhooks after the webhook has been deleted (a5ab2a35)

  • add endpoint to create pacts, pacticipant, version, tags in one request (#420) (df899ebd)

  • add pb:version relation to the pacticipant resource (83ce38a4)

  • add repository and branch properties to pacticipant (98a799b2)

  • currently deployed selector (#396) (8666d709)

  • add relations to environments endpoint for each environment (784c3535)

  • allow multiple base URLs to be configured (f88c69de)

  • support recording deployments (#389) (19ac1fcc)

  • pacts for verification

    • support released:true selector (#451) (8a90cc57)
    • default latest to true when branch is specified and currentlyDeployed to true when an environment is specified (984320b6)
    • display selectors in a formatted list (3cab7a00)
    • update validation for consumer version selectors for the fields environment, currentlyDeployed and branch (ec7dc435)
  • webhooks

    • support consumerVersionBranch and providerVersionBranch in the template parameters (6637644f)
    • support ${pactbroker.currentlyDeployedProviderVersionNumber} in webhook templates (#402) (1e5487f8)
  • matrix

  • pacticipant versions

    • support use of PATCH with application/merge-patch+json to create versions (0429398f)
    • do not allow branch to be modified once set (4aa8e121)
  • record deployment

    • require replacedPreviousDeployedVersion to be set (70398069)
  • environments

    • validate environment name in can-i-deploy and matrix queries (dcad5fb5)
    • allow environments endpoint to be searched by name (ce4b188e)
  • deployed versions

    • add endpoint to list deployed versions for an environment (bd0ca9d6)

Bug Fixes

  • add rubocop and fix offenses (#441) (7c1c3044)

  • gracefully handle an interactions value that is not an array (a9a5df3d)

  • Dockerfile to reduce vulnerabilities (#418) (5319a997)

  • select pact publication with matching consumer version when triggering webhook for verification (274e1456)

  • issue-reproduction/Dockerfile-pact-broker to reduce vulnerabilities (#414) (34c70984)

  • use URL safe base64 encoding for pact metadata (fa1a3333)

  • handle metadata that has had its padding removed (06bd6d3d)

  • lock reform gem (00cbac8c)

  • fix missing verification status colours in matrix rows (d91662d9)

  • verifications

    • gracefully handle a verification number in the URL that is not an integer (7fe98a7d)
  • ui

    • Make long pacticipant versions look nice (#407) (dbb967e3)

Version 2.79.1

28 Mar 22:30
Compare
Choose a tag to compare

Bug Fixes

Version 2.79.0

25 Feb 04:49
Compare
Choose a tag to compare

Features

  • allow multiple base URLs to be configured (6d0dc8b3)
  • copy full git sha rather than abbreviated one when clicking the copy button next to an application version (dae9cae5)

Bug Fixes

  • fix missing verification status colours in matrix rows (687d4647)

Version 2.78.1

18 Feb 08:38
Compare
Choose a tag to compare

Bug Fixes

  • handle nil response when determining webhook success status (20ca9e66)

Version 2.78.0

17 Feb 22:43
Compare
Choose a tag to compare

Features

  • support create, update and delete of environment resources (#379) (410f2e80)
  • allow version to be created with tags (798afce9)
  • Follow up for #239 + adding list of success codes to SAVABLE_SETTING_NAMES variable (#388) (08c0ad09)

Version 2.77.0

11 Feb 23:27
Compare
Choose a tag to compare

Features

  • webhooks

    • allow the http codes to be considered as "successful" to be configured. (a84989b1)
  • add duplicate columns to tags table to reduce joins (5ca9de62)

  • set the branch in the seed data (9a00ce6d)

  • display version branch on index and matrix pages (2057df7d)

  • support creating version with branch (#371) (5884a047)

  • sort tags on index and matrix pages and APIs by creation date (91590718)

  • sort consumer version tags by date in dashboard response (f82ba1bc)

Version 2.76.2

29 Jan 05:35
Compare
Choose a tag to compare

Bug Fixes

  • trigger one webhook for each pact publication that the verified content belongs to when using the 'pacts for verification' API (#378) (114ccad0)