Releases: pact-foundation/pact_broker
Version 2.84.0
Features
-
use the first tag as the branch when publishing pacts using the contracts/publish endpoint (7b903c1d)
-
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
Version 2.82.0
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)
-
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
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
Version 2.80.0
Features
-
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)
-
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)
-
add relations to environments endpoint for each environment (784c3535)
-
allow multiple base URLs to be configured (f88c69de)
-
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
-
matrix
- support querying by branch (110578dc)
-
pacticipant versions
-
record deployment
- require replacedPreviousDeployedVersion to be set (70398069)
-
environments
-
deployed versions
- add endpoint to list deployed versions for an environment (bd0ca9d6)
Bug Fixes
-
gracefully handle an interactions value that is not an array (a9a5df3d)
-
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
Version 2.79.1
Version 2.79.0
Version 2.78.1
Bug Fixes
- handle nil response when determining webhook success status (20ca9e66)
Version 2.78.0
Version 2.77.0
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)
-
sort tags on index and matrix pages and APIs by creation date (91590718)
-
sort consumer version tags by date in dashboard response (f82ba1bc)