Releases: pact-foundation/pact-stub-server
Releases · pact-foundation/pact-stub-server
0.3.2
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
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
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
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
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
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
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
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
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
Fix for query parameters with matchers with path expressions
See issue #11