Skip to content

Releases: pact-foundation/pact-cplusplus

Consumer DSL 0.1.0

12 Jul 04:13
Compare
Choose a tag to compare

Update to new pact_ffi lib and JFrog conan repositry

  • chore: bump minor version
  • fix: Update to new pact_ffi lib and JFrog conan repositry
  • fix: Fixed errors in consumer.cpp (Talank Baral)

Consumer DSL 0.0.6

12 Jan 05:14
Compare
Choose a tag to compare

Fix release pipeline

Consumer DSL 0.0.5

12 Jan 04:29
Compare
Choose a tag to compare

support for MockServerURL generator in consumer DSL

  • feat: add support for MockServerURL generator in consumer DSL
  • feat: update to the latest pact_mock_server_ffi lib (0.0.14)

Consumer DSL 0.0.4

30 Oct 04:51
Compare
Choose a tag to compare

Array contains matcher

  • feat: add support for array contains matcher
  • chore: update to the latest pact_mock_server_ffi lib (0.0.11)

Consumer DSL 0.0.3

28 Sep 03:45
Compare
Choose a tag to compare

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

Consumer DSL 0.0.2

24 May 02:44
Compare
Choose a tag to compare

Code cleanup + support multipart form posts with binary files

  • chore: update docygen docs
  • feat: support multipart form posts with binary files
  • refactor: use const references for all non-primitive parameters
  • refactor: use a std::function instead of a closure
  • refactor: implemented changes from feedback from Aligntech

Consumer DSL 0.0.1

15 May 07:08
Compare
Choose a tag to compare

Bugfixes + Updated Matcher DSL

  • chore: updated readme
  • fix: URL matcher
  • chore: updated generated docs
  • feat: implement support for all the remaining matchers
  • chore: cleanup debug output
  • feat: implemented JSON DSL from feedback from Aligntech
  • fix: tests on Windows
  • feat: support matching binary payloads
  • fix: Google test matches regex does not work on Windows
  • chore: update to latest pact_mock_server_ffi library
  • fix: remove traling slash from mock server URL
  • fix: add test with multiple header values
  • feat: added decimal and regular expression matching to consumer DSL

Consumer DSL 0.0.0

28 Apr 04:28
Compare
Choose a tag to compare

First release

  • chore: Use Rust package from bintray; updated docs
  • feat: add conan package for DSL
  • chore: update doxygen docs
  • fix: can not pass references to closures with MS C++
  • fix: extra libs are needed in Windows
  • fix: need to convert back from UTF-16 on Windows
  • fix: need to convert strings to string_t type on Windows
  • chore: add boost to the conan packages
  • fix: changes needed for Windows and OSX
  • fix: removed logging library as it was not compiling on CI
  • chore: force C++ 17
  • feat: working consumer test
  • feat: implemented basic support for JSON bodies
  • feat: implemented interaction handles for consumer DSL
  • chore: added basic example consumer project with tests