Skip to content

Releases: pact-foundation/pact-stub-server

0.3.2

18 Jan 01:47
Compare
Choose a tag to compare

Set CORS Origin to the Referer

  • Added an option to set the CORS origin header to the incoming Referer header
  • updated pact matching crate to 0.5.7

0.3.1

11 Aug 01:24
Compare
Choose a tag to compare

Support for bearer tokens and headers with multiple values

  • feat: add support for bearer tokens
  • fix: support headers with multiple values #31
  • Setting wildcard value * for Access-Control-Allow-Headers (@dariobanfi)

0.3.0

29 Jun 10:07
Compare
Choose a tag to compare

Bugfix Release

  • chore: upgrade crates
  • fix: upgrade to latest pact matching library
  • fix: panic if provider_state_header_name is not given
  • Added support for parsing the provider state from request header using a custom name. (@ZescherW)

0.2.2

03 Mar 05:49
Compare
Choose a tag to compare

Disabling TLS cert validation and filtering by provider state

  • Added a --insecure-tls flag to disable TLS certificate validation when using self-signed certificates
  • Added a --provider-state option to allow the interactions to be filtered by the provider state

0.2.1

06 Jan 04:26
Compare
Choose a tag to compare

Bugfixes + Date/Time matching and generators

This release includes an implementation of time and date matching and time, date and regex generators.

The following issues have been fixed:

  • Fields starting with underscore cannot get values from Generator #20
  • Date generator is not implemented #21
  • Log level bar warn & none always showing 'comparing to expected request' #22

Changelog:

  • f5870d5 - fix: upgraded pact matching to 0.5.0 and corrected logging #22 #21 #20

0.2.0

05 Nov 05:03
Compare
Choose a tag to compare

Bugfix Release

This release fixes a defect where reading the body of a PUT or POST request was blocking the main event loop in versions 0.1.0 and 0.1.1.

  • fix: Use a chain of futures so reading the body does not block the event loop #18 #16
  • refactor: split the server code into its own module
  • Respect 'auto_cors' even if there is no match (@Byron-TW)

0.1.1

08 Sep 05:55
Compare
Choose a tag to compare

Bugfix Release

  • fix: only add a cors origin header if there is not one #15
  • fix: remove static content type header #14

0.1.0

25 Aug 11:32
Compare
Choose a tag to compare

Support for loading pacts from HTTPS

  • feat: implemented support for fetching pacts using HTTPS #13
  • refactor: Upgrade hyper crate to 0.12 #13

0.0.10

11 Aug 05:31
Compare
Choose a tag to compare

fix for loading pacts with invalid path matcher JSON

This allows pact files affected by Pact-JVM defect #743 to be loaded

0.0.9

30 Jun 07:30
Compare
Choose a tag to compare

Fix for query parameters with matchers with path expressions

See issue #11