Releases: pact-foundation/pact-js-core
Releases · pact-foundation/pact-js-core
Release v15.2.1
Release v15.2.0
Release v15.1.1
Release v15.1.0
Release v15.0.0
15.0.0 (2024-06-17)
⚠ BREAKING CHANGES
- Remove all classes that were backed by the Ruby implementation (Publisher; Message; Server; AbstractService; Stub; CanDeploy; CannotDeployError). Also remove the Pact() methods that called them (createServer; listServer; removeAllServers; createStub; listStub; createMessage; publishPacts). If you need these features, please use @pact-foundation/pact-cli
- Remove the Ruby verifier and the associated CLI stubs (pact-broker, pact-message, pact-mock-service, pact-provider-verifier, pact-stub-service, pact, and pactflow). These have moved to @pact-foundation/pact-cli
Features
- Remove all classes that were backed by the Ruby implementation (Publisher; Message; Server; AbstractService; Stub; CanDeploy; CannotDeployError). Also remove the Pact() methods that called them (createServer; listServer; removeAllServers; createStub; listStub; createMessage; publishPacts). If you need these features, please use @pact-foundation/pact-cli (e9f569b)
- Remove the Ruby verifier and the associated CLI stubs (pact-broker, pact-message, pact-mock-service, pact-provider-verifier, pact-stub-service, pact, and pactflow). These have moved to @pact-foundation/pact-cli (8e4f735)
Fixes and Improvements
- Remove check for windows long paths as it was only relevant to the Ruby binaries (e7778da)
Breaking Change Detail
All CLI/API functionality provided by the Pact CLI tools (ruby based) now migrated to
-
Repo
-
NPM Package
-
imports
@pact-foundation/pact-core
imports will now become@pact-foundation/pact-cli
for programatic usage of the CLI tools
-
npx usage
npx --package=@pact-foundation/[email protected] -c 'pact-broker'
Release v14.3.8
14.3.8 (2024-06-17)
Fixes and Improvements
- update standalone to 2.4.6 (46cb62c)
Breaking change warning
See RFC for detail #488
- add deprecation warnings for pact cli tools in pact-js-core (6292535)
Considerations
An option to silence the warnings is provided if PACT_SILENCE_DEPRECATION_WARNINGS
is set to true
Breaking change detail
All CLI/API functionality provided by the Pact CLI tools (ruby based) will be moved in pact-js-core 15.x to pact-js-cli.
-
Repo
-
NPM Package
-
imports
@pact-foundation/pact-core
imports will now become@pact-foundation/pact-cli
for programatic usage of the CLI tools
-
npx usage
npx --package=@pact-foundation/[email protected] -c pact-broker