Changelog
Features
- add support for automatically detecting the git commit and branch for Azure DevOps (889f83f)
Features
- remove feature flag for publish-provider-contract (146a2d8)
- add pactflow specific message for environment not found when recording a release/deployment (6667cbb)
Features
- add --verification-exit-code to publish-provider-contract command (d35d908)
Bug Fixes
- set exit on failure to true for new pactflow command (429dfbd)
Features
- add command to publish provider contracts to pactflow (feature toggle required) (#107) (80cc10e)
Bug Fixes
- use ruby < 2.3 syntax. (#108) (20f1e01)
Bug Fixes
- Aushm use ruby 2.2 syntax (#110) (b006ad7)
Features
- create-or-update-version
- support creating or updating a pacticipant version with a branch and/or tags (e38e728)
Features
- support merging message pacts when publishing (732b22d)
Features
use the feature branch name in GITHUB_HEAD_REF for github pull request builds (#103) (7f94d4a)
webhooks
- show better error message when the pb:webhooks relation doesn't exist when trying to create a webhook (c787300)
Features
- remove feature toggle for creating contract_requiring_verification_published webhooks (6eff6d1)
Features
- support the --branch option in the version selectors for can-i-deploy (dba8ec4)
- show more helpful error message if pb:environments not available for pactflow (1bf38e3)
- print out notices if returned from publish pacts request (86caf7e)
Features
- add pacticipant label options to webhook create/update commands (#96) (710293f)
Features
- support Github Actions environment variables for --tag-with-git-branch (2b8dac5)
Features
- disable SSL verification for HAL client and HTTParty client when environment variable PACT_DISABLE_SSL_VERIFICATION=true (470aafa)
- support setting the --main-branch for a pacticipant (1f18e70)
Features
- allow pacts to be published using the old API by setting the environment variable PACT_BROKER_FEATURES=publish_pacts_using_old_api (7c34132)
Features
- rename target to application-instance for record-deployment and record-undeployment (backwards compatible) (53d23eb)
Bug Fixes
- deps
- lock httparty to 0.18.1 (1ab2d9c)
Bug Fixes
- remove deprecated method of handling branches (6d26487)
Features
- enable use of the new 'all in one' contracts publishing endpoint without a feature toggle (6850ace)
Features
- add support for creating webhooks with event contract_requiring_verification_published (feature toggled off) (4d4bc4b)
- trim long versions on can-i-deploy formatting (#91) (86d21e1)
Features
- can-i-deploy
- actually remove feature toggle for --ignore option (1c686f2)
Features
- can-i-deploy
- remove feature toggle for --ignore option (6e7edd8)
Bug Fixes
- verification-required
- require a verification when either of the specified versions does not exist (031d232)
Features
- enabled deployment, release and environment commands without a feature toggle (bd64caa)
- update relations used for currently deploy/currently supported versions (6f6ca2f)
Features
- support specifying team UUID when creating a webhook in Pactflow (c4201e1)
Features
can-i-deploy
add record-support-ended (feature toggled off) (8f6b593)
update record-undeployment (feature toggled off) (0c0dd15)
update record-undeployment (feature toggled off) (93046d5)
Features
- add record-undeployment (feature toggled off) (951d334)
- add describe-environment command (cd11ebb)
- add record-release (feature toggled off) (e32e4e5)
Bug Fixes
- hardcode file requires Fixes: https://github.com/pact-foundation/pact_broker-client/issues/88 (581f2fd)
Features
- enable --ignore option for can-i-deploy without a feature toggle (bcc9dfe)
Features
- add list-pacticipants (fc8ce3b)
- add --display-name to create-or-update-pacticipant (76f323b)
- add backtrace to error output when verbose is true (abf1ef0)
- add list-environments and describe-environment (4472d48)
- add delete-environment (361eed1)
- add update-environment command (95276cd)
- add create-environment command (a9fab50)
Bug Fixes
- stop long values in columns from being truncated (18063fd)
Features
- update colours of pact publish output (2a51e37)
Features
- use the pb:publish-contracts relation and endpoint to publish pacts (19f1b0b)
- update publish pacts command to use new 'all in one' contract publishing endpoint (50dfb11)
Features
- publish pacts using the "all in one" endpoint (#86) (3a1ea22)
- provide a more helpful error message when the specified pact file does not exist (29a7962)
Bug Fixes
- URL encode parameters for HAL templated URLs (764a0fa)
Features
- allow SSL verification to be disabled (eb2125b)
- automatically retry at the http client level for 50x responses (a7343f8)
Bug Fixes
- set username from PACT_BROKER_USERNAME environment variable correctly when -u specified for create-or-update-webhook and create-webhook (2411396)
Features
- add record-deployment (6e5e208)
Bug Fixes
- use refinement to add compact to Hash (c2c1cab)
Features
can-i-deploy
- add --to-environment option (05ae44c)
support version branch and build URL when publishing pacts (a75f7df)
Features
- can-i-deploy
- display links to verification results in the output of can-i-deploy when using text format (976950d)
Features
pact publish
- strip new lines from version numbers and tags (5842d24)
publish
- update output text when pact already exists and merging (9b849d3)
Features
- publish
- allow pacts to be merged on the server side (bd80f10)
Features
- Improve HTTP errors handling (#76) (d8eaf16)
Bug Fixes
- list-latest-pact-versions
- correct json output (cf77666)
Features
- update thor dependancy (#75) (2078f31)
Features
- remove outdated comment from pact publishing output (251b4df)
Bug Fixes
- explicitly set the CA file and path from SSL_CERT_FILE and SSL_CERT_DIR for the pact-ruby-standalone (27a0fe6)
Features
- print out helpful error message for 403 (5d5a18a)
- support publishing pacts for multiple consumers at the same time (573e97c)
Bug Fixes
- add missing require for PactBroker::Client::Error (72eb796)
Bug Fixes
- create-version-tag
- raise an error if the version does not exist rather than automatically creating it. (2ed7a55)
Features
- deps
- this isn't really a feature, but I want to test the release workflow (29a7b72)
Bug Fixes
- give the release docker image the secrets.GITHUB_TOKEN (c94a435)
- not really a fix, just testing release notes (78a919d)
- not really a fix, just testing release notes (13ddd06)
- testing release notes (1f38fdd)
- not a real fix, just testing release notes (1fabb8b)
Features
- add BITBUCKET_BRANCH to list of known branch variables (#69) (d1dc088)
- add list-latest-pact-versions command (ed45d58)
Features
update message when waiting for verification results (68df012)
add create-or-update-pacticipant (f1c33ae)
can i deploy
- put out a message while waiting for verification results to be published (cc1ba5f)
publish pacts
- improve message when overwriting pacts (17b93f3)
webhooks
- add command to test webhook execution (0ee1f7a)
Features
- create-or-update-webhook
- print 'created' or 'updated' based on response status (0c34090)
Bug Fixes
- incorrect require path for hal entity (64f3b7b)
- correctly handle multiple parameters specified in the format --name=value (946001b)
Features
- cli
Features
create-webhook
- support creating webhooks for contract_published, provider_verification_succeeded and provider_verification_failed events, and allow description to be set (b76f9c4)
create-or-update-webhook
- show helpful error message when attempting to create a webhook with a UUID on a version of the Pact Broker that doesn't support it (6e3d30f)
cli
suppport equals sign in can-i-deploy pacticipant selector parameters (b5d89bc)
use different git command to get git branch name (9373827)
attempt to get git branch name from environment variable first before running git (d512ef0)
Bug Fixes
- can-i-deploy
- if only one selector is specified and no --to TAG is specified, set latest=true for automatically calculated dependencies (045fa91)
Features
suppport equals sign in can-i-deploy pacticipant selector parameters (90f6457)
cli
- allow all versions for a particular tag to be specified when determining if it safe to deploy (mobile provider use case) (3690944)
Features
- use different git command to get git branch name (70b1328)
Features
- attempt to get git branch name from environment variable first before running git (122973b)
Bug Fixes
can-i-deploy
- if only one selector is specified and no --to TAG is specified, set latest=true for automatically calculated dependencies (ec10b72)
remove -u alias for --broker-username for create-webhook as it clashes with the -u from the curl command (9463eff)
Fix invalid environment variable names in can-i-deploy docs (2b26081)
Features
- allow limit to be set for can-i-deploy until https://github.com/pact-foundation/pact_broker-client/issues/53 is fixed (f692774)
Features
hal client
- update from pact-ruby (f8b3432)
update pact with broker for scenario where version does not exist (27b744f)
Bug Fixes
### v1.18.0 (2019-03-05)Features
- remove 'no data' message when there are no rows. (b0246a2)
- allow for broker token to be used (3266bc1)
- add broker token to cli (e342c29)
Features
- update HAL client from pact codebase (ed77fe0)
Features
- add retries to can-i-deploy to allow the command to wait for missing results to arrive (e44f88d)
Bug Fixes
- declare dependency on rake in gemspec (b24bbcd)
Features
- allow webhooks with optional consumer and provider to be created using the create-webhooks CLI (c6763b0)
- update expectation of error response (d45244f)
- add create-webhook to CLI (e1ec885)
- add title, name and title_or_name methods to Link (dc24caa)
- add http debug logging for create environment call (5f31fcb)
- add hal client (4d93bf9)
- update pacts relation name in retrieve pacts query (7d965bf)
Bug Fixes
- correctly escape expanded URL links (d6dbce8)
- correct accept headers for requests to the pact broker (415d9d5)
Bug Fixes
- use SSL_CERT_FILE and SSL_CERT_DIR environment variables for https connections (e4e7a15)
Features
describe-version
- allow retrieving latest pacticipant version (7679f61)
update help text for can-i-deploy (7d3f3e1)
add example showing how to use can-i-deploy and describe-version as a verification webhook endpoint (ec83387)
cli
Features
- can-i-deploy
- allow pacticipant version to be checked against latest tagged versions of all the other pacticipants (7f10e13)
Bug Fixes
- publish
- accept pact file paths using windows separator (5ee9dd7)
Features
publish
- expose tag_with_git_branch in rake publication task (f28d9ad)
can-i-deploy
Features
can-i-deploy
- add --latest option to command line (c7f012d)
allow broker base url, username and password to be set by environment variables (3516103)
cli
- add one line of backtrace to error output (c2ede03)
create-version-tag
- add CLI to tag a pacticipant version (c62d9b8)
Features
- can-i-deploy
- print out matrix summary 'reason' (aa25e16)
Features
cli
- add option to --tag-with-git-branch when publishing pacts (484d5b8)
can-i-deploy
what-can-i-deploy
- add success param to matrix query (40adb2e)
handle hash of errors in response (fff32c2)
change query params for matrix to use pacticipant[]=? and version[]=? (003e305)
Bug Fixes
- can-i-deploy
- correct provider name in text output (bfd0882)
Features
- renamed
pact-publish
command topact-broker publish
(ed7d23a)
Bug Fixes
- pact-publish
- ensure process exits with a status 1 when error is raised (800f5cd)
Features
can-i-deploy
- change cli to use --name and --version options instead of bespoke version selector format (15e8131)
- puts output to stdout for both success and failure scenarios so that JSON output can be parsed by capturing stdout (6db595a)
- remove dates from table output and add success status (5dc9484)
- add --output option allowing table or json to be specified (57fa24e)
changed name of verification date field (962b7d1)
output table of verification results when present (9220703)
add 'pact-broker can-i-deploy' executable (ca68c54)
BREAKING CHANGES
- cli
- change cli option names to match pact-provider-verifier (0682662)
Features
cli
- add command line tool to publish pacts (d031b98)
publish pacts
- merge pact files with same consumer/provider before publishing (1c039a0)
Features
v1.3.0 (2017-07-03)
- 138a042 - feat(tag): Added tag to PublicationTask (Beth Skurrie, Mon Jul 3 11:45:24 2017 +1000)
1.2.0 (2016-11-23)
- 08e6025 - Fixed broken spec - expected hal+json (Bethany Skurrie, Wed Nov 23 09:20:39 2016 +1100)
- ec4b7d7 - Added Travis badge. (Beth Skurrie, Wed Nov 23 09:16:10 2016 +1100)
- ff133f2 - Adding appraisals and updating test matrix (Bethany Skurrie, Wed Nov 23 09:10:40 2016 +1100)
- e79eec6 - Add hal+json to list of accepted content types (Steve Pletcher, Wed Sep 21 10:27:20 2016 -0400)
- 314f059 - add the option to retrieve all the latest (tagged) pacts for a provider (Olga Vasylchenko, Mon Nov 21 15:01:09 2016 +0100)
1.1.0 (2016-08-19)
- b5ea1b3 - Add support for publishing pacts via patch request (Steve Pletcher, Fri Aug 5 11:16:18 2016 -0400)
1.0.3 (2016-06-27)
- 04bd518 - Clarify that pact_broker-client will only work with ruby >= 2.0 (Sergei Matheson, Mon Jun 27 11:17:57 2016 +1000)
1.0.2 (2016-06-20)
- 4637978 - Warn on overwritting (Taiki Ono, Mon Jun 6 14:50:37 2016 +0900)
1.0.1 (2016-04-29)
- 72c099b - Add release instructions (Sergei Matheson, Fri Apr 29 11:54:01 2016 +1000)
- 12f0054 - :headers is duplicated and overwritten (Taiki Ono, Tue Mar 15 21:46:23 2016 +0900)
- e9251f7 - Commit pact files (Taiki Ono, Tue Mar 15 21:30:15 2016 +0900)
- 0278731 - Loosen content type header expectation (Taiki Ono, Tue Mar 15 21:26:03 2016 +0900)
- fff1838 - Remove
Gemfile.lock
and do not check-in (Taiki Ono, Sun Mar 13 21:49:36 2016 +0900) - 48c1434 - Add Travis CI setting not to test with ruby1.9 (Taiki Ono, Sun Mar 13 21:17:11 2016 +0900)
- 0365b94 - Updated to RSpec 3 syntax (Beth, Mon Oct 19 08:54:48 2015 +1100)
1.0.0 (2014-10-09)
- 2c08da2 - added pact_broker_basic_auth options to publish task (lifei zhou, Fri Feb 27 21:33:09 2015 +1100)
- 1b84a54 - Updated pact-version rel name (Beth, Mon Dec 22 11:30:57 2014 +1100)
- 04c1e4e - Updated link rels (Beth, Thu Dec 11 14:32:27 2014 +1100)
- d1b2cad - Correcting pact publish message (Beth Skurrie, Mon Aug 25 07:15:57 2014 +1000)
- 6b1d147 - Added backwards compatibility for pact broker publish response (Beth Skurrie, Sun Aug 24 17:50:16 2014 +1000)
- 8c8aa89 - Added location of latest pact to output of pact:publish (Beth Skurrie, Sun Aug 24 17:43:02 2014 +1000)
- e6b56d0 - Added retries for pact publishing (Beth Skurrie, Sun Aug 24 16:55:10 2014 +1000)
- 27c00e5 - Disabled pacticipant version interactions, not needed yet. (Beth Skurrie, Sat May 17 17:57:33 2014 +1000)
- cfefdc4 - Changed path from /pact to /pacts (Beth Skurrie, Sat May 17 15:58:32 2014 +1000)
0.0.6 (2014-03-24)
- 2ad5f7d - Updated method of tagging versions (bethesque, Sat Mar 22 16:54:37 2014 +1100)
- b74128f - Added 'latest' pact url to pact representation in the 'latest pacts' response (bethesque, Sat Mar 22 09:04:31 2014 +1100)
0.0.5 (2014-01-03)
- 194183c - Removing debugger for Travis CI (bethesque, Fri Jan 3 12:45:07 2014 +1100)
- b42aba9 - Changed 'last' to 'latest' (bethesque, Tue Nov 19 09:30:12 2013 +1100)
- 30d63b7 - Changed name to title in list pacticipants response (bethesque, Mon Nov 18 09:37:11 2013 +1100)
0.0.4 (2013-11-15)
- cf33479 - Merge branch 'master' of github.com:bethesque/pact_broker-client (Beth, 20 hours ago)
- 01087ae - Fixed problem where PublicationTask block was evaluated at load time, instead of run time. (Beth, 20 hours ago)
- 2073234 - Updating to use example.org as the base URL (Beth, 2 days ago)
- 07073de - Updating latest pact URL (Beth, 2 days ago)
0.0.3 (2013-11-13)
- a3488bd - Fixing application/json+hal to application/hal+json (Beth, 2 days ago)
- 0fa89ef - Updating content type to match new Webmachine implementation. Removing redundant repository_url interaction. (Beth, 2 days ago)
- 9e1539e - Redoing the URLs yet again (Beth, 3 days ago)
- 9067b83 - Working on list latest pacts (Beth, 3 days ago)
- 3ba218a - Specifying pact/latest response (Beth, 6 days ago)
- b746f23 - Changing to new /pacts/latest URL format (Beth, 6 days ago)
- 39f52cf - Working on expected 'pacts/latest' response (Beth, 6 days ago)