Skip to content

Consumer DSL 0.0.3

Compare
Choose a tag to compare
@uglyog uglyog released this 28 Sep 03:45
· 35 commits to master since this release

Fixes from upstream pact_mock_server_ffi lib

Changes from upstream:

  • feat: handle CORS pre-flight requests in the mock server
  • fix: random decimal generator now includes a decimal point in the generated values
  • fix: strip off anchors before generating a value from a regex
  • fix: don't unwrap a result when generating random string from regex
  • fix: UUID generator should return hyphenated values
  • feat: add function to retrieve the TLS CA cert
  • refactor: changed the remaining uses of the old content type methods
  • feat: added a struct for handling content types
  • refactor: extract generate_regex_value to a separate function
  • fix: write_pact_file was always serialising a v3 pact even if the spec version was set to 2
  • feat: implemented provider state generator
  • fix: return the most relevant response from the mock server
  • refactor: changed the remaining uses of the old content type methods
  • refactor: update body matchers to use content type struct
  • refactor: convert generators to use the content type struct
  • feat: added a struct for handling content types

Changes:

  • chore: update to the latest pact_mock_server_ffi lib
  • docs: use cpp instead of c++ for code gates
  • fix: made min and max for type matcher optionals
  • fix: ConstrainedArrayLike should set the examples to the minimum
  • fix: missing const on Like function
  • chore: update link to doxygem docs
  • chore: update readmes for doc site