Skip to content

Release v11.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 21 May 13:58
· 0 commits to 57abe21bd7344809a27ff12bf9d46716a2535481 since this release

11.0.0 (2021-05-21)

⚠ BREAKING CHANGES

  • All the interfaces that previously returned q.Promise have now been replaced with native es6 Promises. Calling code will need to be updated.

  • All options deprecated in previous versions have been removed. Migration instructions:

  • In VerifierOptions: replace use of tags, consumerVersionTag and providerVersionTag with the appropriate consumerVersionTags or providerVersionTags option.

  • The following classes have had their .create(options) removed. Please use the appropriate constructor instead (for example, new Verifier(options))

    • Verifier
    • Publisher
    • Server
    • Stub
  • docs: The type for consumer version selectors in the verifier has been corrected. This will affect typescript users who were using consumerVersionSelectors with the fields pacticipant, all or version. These fields never worked, and now will no longer compile in typescript. The correct type is:

ConsumerVersionSelector {
  tag?: string;
  latest?: boolean;
  consumer?: string;
  fallbackTag?: string;
}

Note that pacticipant, version and all have been removed. Existing code that uses pacticipant needs to use consumer instead. The other fields can be dropped. Any questions, please reach out to us at https://slack.pact.io/

  • fix #285

  • docs: Add description of consumer version selectors to the documentation. (1bdb45d)

Fixes and Improvements

  • ConsumerVersionSelector interface (b1e5afe)
  • Replace q ith native Promise (a5076cc)
  • The verifier option providerStatesSetupUrl is no longer deprecated. Other deprecated options have been removed. (95b88e0)
  • update standalone to 1.88.46 (e9f2b43)
  • update standalone to 1.88.47 (5626f3b)
  • update standalone to 1.88.48 (14e31cf)
  • update standalone to 1.88.49 (cb088ce)
  • update standalone to 1.88.50 (ce92950)
  • update standalone to 1.88.51 (de83a99)