From 9fbbdf9ca159fbf6aa02ce2de410f05ef45276d2 Mon Sep 17 00:00:00 2001 From: mefellows Date: Thu, 2 Mar 2023 07:13:10 +0000 Subject: [PATCH] chore(release): 11.0.0 --- CHANGELOG.md | 13 +++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05f2c8675..653d9ac5f 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines. +## [11.0.0](https://github.com/pact-foundation/pact-js/compare/v10.4.1...v11.0.0) (2023-03-02) + + +### ⚠ BREAKING CHANGES + +* Rename the message-pact state handler type to `MessageStateHandlers` from `StateHandlers` avoiding the conflicting type problem introduced in #882. Fixes #1057 + +### Fixes and Improvements + +* Remove all references to `AnyTemplate` and deprecate the type. See [#1054](https://github.com/pact-foundation/pact-js/issues/1054) for details ([c7edb7e](https://github.com/pact-foundation/pact-js/commit/c7edb7ed4909884c232f6a419cdaf9e52394ad0c)) +* Rename the message-pact state handler type to `MessageStateHandlers` from `StateHandlers` avoiding the conflicting type problem introduced in [#882](https://github.com/pact-foundation/pact-js/issues/882). Fixes [#1057](https://github.com/pact-foundation/pact-js/issues/1057) ([9be81ce](https://github.com/pact-foundation/pact-js/commit/9be81ce301a324a7b13d0374851e9903556b4cd6)) +* Widen types for V3 matchers, avoiding AnyTemplate errors. This has the side effect that functions, Dates and other inappropriate types can now be passed to matchers, and the benefit that people using interfaces don't get spurious errors. Fixes [#1054](https://github.com/pact-foundation/pact-js/issues/1054) ([0803cdf](https://github.com/pact-foundation/pact-js/commit/0803cdf8cc882176651e9570223f3c184ada29d2)) + ### [10.4.1](https://github.com/pact-foundation/pact-js/compare/v10.4.0...v10.4.1) (2023-01-23) diff --git a/package-lock.json b/package-lock.json index 76505c75f..b9c197ce8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@pact-foundation/pact", - "version": "10.4.1", + "version": "11.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@pact-foundation/pact", - "version": "10.4.1", + "version": "11.0.0", "license": "MIT", "dependencies": { "@pact-foundation/pact-core": "^13.13.3", diff --git a/package.json b/package.json index c4ba3919d..7e387bf18 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pact-foundation/pact", - "version": "10.4.1", + "version": "11.0.0", "description": "Pact for all things Javascript", "main": "./src/index.js", "types": "./src/index.d.ts",