Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add deprecation warnings for pact cli tools in pact-js-core #514

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

YOU54F
Copy link
Member

@YOU54F YOU54F commented Jun 12, 2024

Motivation

Inform users of upcoming breaking change in #513

Considerations

Users may be setup to output in json format. This warning will appear conditionally I believe, so may mess up workflows if one if using the json output from stdout and now has a warning in it.

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.

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

    * https://github.com/pact-foundation/pact-js-cli/

* NPM Package

    * https://www.npmjs.com/package/@pact-foundation/pact-cli

* 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`
@YOU54F YOU54F merged commit ea41a94 into master Jun 17, 2024
37 checks passed
@YOU54F YOU54F deleted the fix/add_standalone_deprecation_warning branch June 17, 2024 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant