Skip to content

Releases: pactflow/swagger-mock-validator

12.2.0

02 Aug 12:36
Compare
Choose a tag to compare

What's Changed

  • feat: parse pact-v4 request/response bodies by @vwong in #29

Full Changelog: 12.1.0...12.2.0

12.1.0

02 Aug 12:36
Compare
Choose a tag to compare

What's Changed

  • fix: better content negotiation by @vwong in #26

Full Changelog: 12.0.0...12.1.0

12.0.0

02 Aug 12:36
Compare
Choose a tag to compare

What's Changed

  • feat: upgrade packages and move to ESM-only dist by @vwong in #24

Full Changelog: 11.5.0...12.0.0

11.5.0

02 Aug 12:36
Compare
Choose a tag to compare

What's Changed

  • chore: fix release scripts by @vwong in #23
  • feat: handle more varieties of json by @vwong in #25

Full Changelog: 11.4.0...11.5.0

11.4.0

02 Aug 12:36
Compare
Choose a tag to compare

What's Changed

  • feat: Respect request and response content-types by @vwong in #22

Full Changelog: 11.3.1...11.4.0

11.3.1

02 Aug 12:36
Compare
Choose a tag to compare

What's Changed

  • Configure Mend for GitHub.com by @mend-for-github-com in #11
  • chore: add examples for logical keywords by @Inksprout in #13
  • fix: replace unmaintained dependency request for axios (merge from upstream) by @vwong in #16

New Contributors

  • @mend-for-github-com made their first contribution in #11

Full Changelog: 11.3.0...11.3.1

11.3.0

07 Jul 04:41
Compare
Choose a tag to compare

What's Changed

  • chore: update docs to make release process clearer by @Inksprout in #5
  • Add issue with wildcards in OpenAPI spec media types to FAQ by @basdijkstra in #6
  • feat: filter requests by type to support v4 by @Inksprout in #7

New Contributors

Full Changelog: 11.2.0...11.3.0

11.1.0 - Allow V3 Pact Spec Headers

14 Jun 04:58
Compare
Choose a tag to compare

What's Changed

This release fixes a bug that prevented Pact spec V3 from being full compatible, due to request and response headers being an array rather than a string in V3.

What's Changed

  • fix: Convert pact spec 3 headers to v1 format by @Inksprout in #4

New Contributors

Full Changelog: 11.0.0...11.1.0

11.0.0 - Updates default setting of additionalPropertiesInResponse to false.

22 Apr 01:07
Compare
Choose a tag to compare

What's Changed

  • Breaking change update default flags by @YOU54F in #2

Full Changelog: 10.3.0...11.0.0

Updates default setting of additionalPropertiesInResponse to false.

 -A, --additionalPropertiesInResponse [boolean]  allow additional properties in response bodies, default false
  -R, --requiredPropertiesInResponse [boolean]    allows required properties in response bodies, default false

Users may see verification failures now, where they previously did not before.

The flag can be set to true or you can drop down to v10.3.0

See https://bitbucket.org/atlassian/swagger-mock-validator/issues/84/test-incorrectly-passes-when-mock-expects for context behind change

10.3.0 - Allow user to set response validation options

22 Apr 00:58
Compare
Choose a tag to compare

Full Changelog: 10.1.3...10.3.0

Add two news options, respecting the original tools default

  -A, --additionalPropertiesInResponse [boolean]  allow additional properties in response bodies, default true
  -R, --requiredPropertiesInResponse [boolean]    allows required properties in response bodies, default false

See https://bitbucket.org/atlassian/swagger-mock-validator/issues/84/test-incorrectly-passes-when-mock-expects for background