-
test
- explicitly require ostruct as non stdlib in ruby 3.5.x (e06a057)
-
use single quotes for pact term creation err msg (d770791)
- enable color on non-tty if color_enabled (0585424)
- handle x509 certs in HTTP Client (#99) (6a36a48)
- generators
- add generators to a consumer contract request (#97) (fbce4cb)
- use send to invoke remove_method when removing as_json from Regexp (cb29cdd)
- replace term-ansicolor with rainbow (e8b6ada)
- Fixup ruby warnings (#96) (cee7113)
- allow SSL verification to be disabled by setting environment variable PACT_DISABLE_SSL_VERIFICATION=true (dd39c04)
- change expgen to a runtime dependency (da81634)
- remove randexp dependency (#91) (794fd4e)
- log HTTP request for pacts retrieved by URL when requested with verbose=true (3288b81)
- dynamically parse actual query to match expected format (a86a3e3)
- raise Pact::Error not RuntimeError when invalid constructor arguments are supplied to a Pact::Term (d9fb8ea)
- update active support support for Ruby 3.0 (6c30d42)
- maintain the original string query for the provider verification while also parsing the string query into a hash to allow the matching rules to be applied correctly for use in the mock service on the consumer side (12105dd)
- ensure expected and actual query strings are parsed consistently (4e9ca9c)
- add missing params_hash_has_key (700efa7)
- removed undefined depth from query (53a373d)
- add missing params_hash_type? from Rack (3195b0a)
- remove runtime dependency on rspec (aca30e2)
- update release gem action version (9dead58)
- parse query string to hash for v2 interactions (faff17c)
- follow first redirect when fetching remote pact artifacts. (#80) (c1df6dd)
- do not blow up when there are no matchers (ac70846)
- don't blow up when there is a term inside an each like (a565a56)
- correctly parse matching rules for request paths (cc15a72)
- use certificates from SSL_CERT_FILE and SSL_CERT_DIR environment variables in HTTP connections (bf1333d)
- give each interaction an index when parsing the contract (74e9568)
- add missing require for pact/configuration (bc4bbb5)
- parse interaction _id from Pact Broker (8d66a84)
- support marking an interaction as writable/not writable (#75) (e1fc347)
- modernise gemspec (c941d02)
- add CHANGELOG to gem distribution (35c9c48)
- allow Integers and Floats to be considered equivalent when using type based matching. (d8a70a1)
- gracefully handle diff between an expected multipart form request and an actual application/json request (8577d52)
- allow proxy env var to be used when fetching pacts (ebce481)
- gracefully handle read only file system (eg RunKit) (eeee528)
- don't try and fix producer keys for a nil string (94245c7)
- allow bearer token to be used to retrieve a pact (ab997c5)
- correctly handle ignored 'combine' rule (cd52108)
- v3
- parse array of provider states with params (4471df3)
- correctly handle Pact.like and Pact.each_like at top level of body (f37c283)
- remove incorrect warning messages about matching rules being ignored (30328e0)
- add support for multipart/form (8ed4332)
- correctly handle an 'each like' inside a 'like' (7dc76dc)
- use 0 as the nil pact specification version (88e4750)
- reify StringWithMatchingRules to a String (a025dd3)
- parse String response and request bodies to StringWithMatchingRules to support pact-xml (a9fbb58)
- add custom contract parsers to front of pact parsers list so that customised parsers are tried first (babc319)
- show a more helpful error when attempting to parse a URI that is not a pact (a8ba1ed)
- correctly serialize query params that use a Pact.each_like in pact file (b3414dd)
- remove incorrect warning about ignoring unsupported matching rules for min => x (50d5f6d)
- serialize ArrayLike in query params without wrapping another array around it (b4a9ec7)
- windows-path
- prevent locale file paths to be parsed by URI to stop errors in windows paths like spaces in paths (ecf64d6)
- correctly read local windows pact file paths with backslashes (e27bd38)
- add support for writing v3 matching rules (fc89696)
- remove include of pact matchers in query string (c478dff)
- add missing require for pact matchers in query (927d3b9)
-
parse pacts without a specification version as v2 (a69b5e6)
-
locate matching rules correctly for v3 pacts (0f22db2)
-
read matching rules from v3 format (07013de)
-
allow different consumer contract parsers to be registered (531ab3a)
-
update message classes to support pact-message (2e48892)
-
add request and response to message (93839cf)
-
message contracts
- dynamically load pact/matchers (d80e0ff)
- do not automatically create tmp/pacts dir (de9e25e)
- replace backslashes in pact dir path with forward slashes (a1b5013)
- 80bbdcc - fix: remove unused dependency on rack-test (Beth Skurrie, Mon Oct 30 09:52:22 2017 +1100)
- 68be738 - fix: diff message when actual 'array like' is too long (Beth Skurrie, Mon Oct 30 09:28:20 2017 +1100)
- 97ba7d9 - fix: correctly handle array like when key not found (Beth Skurrie, Fri Oct 27 12:50:50 2017 +1100)
- c3b3f22 - fix: ignore invalid params in response constructor hash (Beth Skurrie, Tue Oct 3 15:40:22 2017 +1100)
- 4489d96 - feat(pact file name): allow unique pact file names to be generated (Beth Skurrie, Thu Sep 28 11:05:33 2017 +1000)
- d4029ab - fix: use reified value when creating diff message for arrays (Beth Skurrie, Fri Sep 22 10:57:01 2017 +1000)
- a339b52 - Gemspec: Try using FakeFS 0.11.2 (Olle Jonsson, Wed Sep 13 09:28:27 2017 +0200)
- be9ef39 - fix(matching): use single quotes instead of double to escape keys with dots (Beth Skurrie, Fri Aug 25 09:41:14 2017 +1000)
- 81bc967 - fix(match type rules): Allow match: 'type' to be specified on the parent element of the array. Closes: #35, pact-foundation/pact-provider-verifier#8 (Beth Skurrie, Tue Aug 1 10:33:02 2017 +1000)
- 425881c - fix(cirular dependency for UnixDiffFormatter): Fixes circular dependency between pact/configuration and pact/matchers/unix_diff_formatter (Beth Skurrie, Mon Jul 31 11:45:44 2017 +1000)
- cd0fc09 - fix(pact serialisation): Use square bracket notation for JSON path keys containing dots when serialising the pact Fixes #39 (Beth Skurrie, Fri Jul 28 09:39:15 2017 +1000)
- 8c3e53d - Fixing recursive require problems for #36 (Beth Skurrie, Tue Jun 20 18:59:24 2017 +1000)
- 14789df - Adding missing requires for #36 (Beth Skurrie, Tue Jun 20 16:27:43 2017 +1000)
- 1659c54 - Add list of messages to diff output (Beth Skurrie, Mon Jun 19 09:39:08 2017 +1000)
- e18debc - Reify actual and expected when a type difference is encountered while doing exact matching (Beth Skurrie, Tue May 30 09:24:18 2017 +1000)
- 2ba49b6 - Updating matching rules extraction to use inheritance as per #34 (Beth Skurrie, Mon May 29 16:17:57 2017 +1000)
- e34374b - Extract rules for QueryHash and QueryString so we can include request matching rules in the pact. (Beth Skurrie, Thu May 11 09:11:19 2017 +1000)
- 0ad2ef5 - Stop removing trailing slash from path, as per https://github.com/pact-foundation/pact-specification/blob/version-2/testcases/request/path/missing%20trailing%20slash%20in%20path.json (Beth Skurrie, Wed Apr 12 14:59:04 2017 +1000)
- 7f93c00 - add a helper to match a non iso861 datetime string (Courtney Braafhart, Thu Apr 6 12:18:53 2017 -0500)
- 4627b56 - Explicit require of CGI class. (Tan Le, Thu Mar 9 17:01:37 2017 +1100)
- 26b6678 - Added colon support to matching rules path. (soundstep, Wed Mar 8 09:18:35 2017 +0000)
- 64a9a37 - Enable interactions to validate themselves (Taiki Ono, Wed Nov 9 19:08:49 2016 +0900)
- dea4645 - Clarify that pact-support will only work with ruby >= 2.0 (Sergei Matheson, Mon Jun 27 10:18:32 2016 +1000)
- 50ea21f - Update json_differ.rb (Beth Skurrie, Thu Jun 9 16:01:34 2016 +1000)
- d303870 - Comment. (Beth Skurrie, Thu Jun 9 15:57:34 2016 +1000)
- 768b382 - Add pactfile_write_order configuration (Alex Malkov, Mon May 23 11:02:27 2016 +0100)
- 289d4e5 - Handle loading local pact files as well as remote (Sergei Matheson, Tue May 3 12:56:51 2016 +1000)
- 6d4e559 - Update to ruby 2.3.1 in travis (Sergei Matheson, Tue May 3 10:46:46 2016 +1000)
- d8bc8fa - Remove pull request merge logs from changelog (Sergei Matheson, Fri Apr 29 10:06:51 2016 +1000)
- 24ba197 - Corrected v0.5.5 release date in CHANGELOG (Sergei Matheson, Fri Apr 29 10:05:11 2016 +1000)
- 9dcef8d - Retry reading pact file (Taiki Ono, Thu Apr 28 17:15:54 2016 +0900)
- 61ceda1 - Re-write test with WebMock (Taiki Ono, Thu Apr 28 15:50:29 2016 +0900)
- 62dcf66 - Use WebMock2 (Taiki Ono, Thu Apr 28 13:51:53 2016 +0900)
- eb9aa26 - Supporting nested Pact::SomethingLike reification (Takatoshi Maeda, Thu Apr 28 02:04:58 2016 +0900)
- 9e924c8 - Object supporting DSL can be built without block (Taiki Ono, Wed Mar 23 16:38:27 2016 +0900)
- 2b0e7b4 - Escape query string components (Taiki Ono, Mon Mar 14 15:22:29 2016 +0900)
- a383368 - Fix indent (Taiki Ono, Mon Mar 14 15:18:26 2016 +0900)
- dc54092 - Support latest jruby and drop supporting jruby 1.7 (Taiki Ono, Sun Mar 13 20:27:17 2016 +0900)
- 85fbb09 - Drop supporting ruby1.9 (Taiki Ono, Thu Mar 10 23:01:54 2016 +0900)
- 966fa3a -
raise_error
should be with specific error (Taiki Ono, Thu Mar 10 22:50:13 2016 +0900) - 2861742 - Cosmetic change (Taiki Ono, Thu Mar 10 22:11:51 2016 +0900)
- c491682 -
QueryHash
accepts nested hash query (Taiki Ono, Thu Mar 10 21:24:41 2016 +0900)
- 2791b72 - [+AM] Add like_datetime_with_milisecods helper method (David Sevcik, Wed Nov 4 17:40:53 2015 +0100)
- c7b1454 - Apply reification to ArrayLike flexible matcher. (Matt Fellows, Tue Sep 8 11:35:32 2015 +1000)
- cb88842 - Add shortcuts like_uuid, like_datetime, like_date (Alex Malkov, Thu Aug 13 09:34:23 2015 +0100)
- bd24aff - Remove rspec require from pact/support.rb to stop rspec's let method overriding minitest's let method (Beth Skurrie, Sun Jul 19 07:49:15 2015 +1000)
- bbe9553 - Support bracket notation in matching rule jsonpaths. (Beth Skurrie, Fri Jul 10 15:16:55 2015 +1000)
- 9451bf4 - Created helper methods for Pact::Term, SomethingLike and ArrayLike (Beth Skurrie, Fri Jul 10 11:44:45 2015 +1000)
- 6d9be6e - Create no rules for exact matching (Beth Skurrie, Thu Jul 9 14:28:56 2015 +1000)
- cf99e97 - Handle nils when symbolizing keys in a hash (Beth Skurrie, Tue Jul 7 11:52:50 2015 +1000)
- b100ccd - Log warning when no content type is found that text diff will be performed on body (Beth Skurrie, Sun May 10 21:57:07 2015 +1000)
- 75f98d7 - Added missing requires (Beth Skurrie, Sat May 9 16:20:07 2015 +1000)
- 7da52f3 - Switch from require_relative to require to avoid double-loading when symlinks are involved (John Meredith, Thu Apr 23 14:46:03 2015 +1000)
- 409bde5 - support url including basic authentication info, e.g.: http://username:[email protected] (lifei zhou, Wed Mar 18 21:49:29 2015 +1100)
- d0d42bb - added http basic authentication options when open uri (lifei zhou, Thu Feb 26 22:03:21 2015 +1100)
- e3d6d6d - Fixed bug when Content-Type is a Pact::Term. (Beth Skurrie, Tue Feb 24 17:25:10 2015 +1100)
- 4e29277 - Create a public API for extracting matching rules for pact-mock_service to use. (Beth Skurrie, Fri Feb 13 15:35:14 2015 +1100)
- 17ffb7e - Improve Pact::Term error message when value does not match regexp. (Beth Skurrie, Thu Feb 12 15:35:28 2015 +1100)
- ad0b37b - Added logic to convert Term and SomethingLike to v2 matching rules (Beth Skurrie, Thu Feb 12 14:55:34 2015 +1100)
- cc15c4d - Renamed to , and to (Beth Skurrie, Thu Feb 12 11:47:53 2015 +1100)
- 1b65c46 - Change "no difference here" to ... in unix diff output (Beth Skurrie, Thu Feb 12 11:43:58 2015 +1100)
- 3cb5b30 - Fix duplicate "no difference here!" in diff when actual array has more items than the expected (Beth Skurrie, Thu Feb 12 11:30:58 2015 +1100)
- a9da567 - Changed display of NoDiffAtIndex (Beth Skurrie, Tue Dec 23 15:16:49 2014 +1100)
- f9619e6 - Log warning message when unsupported rules are detected (Beth Skurrie, Tue Dec 23 14:42:22 2014 +1100)
- 9875bef - Added support for v2 regular expression matching in provider (Beth Skurrie, Tue Dec 23 14:15:00 2014 +1100)
- 4e26c75 - Ignore HTTP method case when determining if routes match. #3 (Beth, Tue Jan 20 20:15:20 2015 +1100)
- af96eba - Allow request path to be a Pact::Term (Beth, Tue Jan 20 19:37:23 2015 +1100)
A naughty release because bumping the minor version to 0.2.0 means I have to upgrade all the gems.
- bb5d893 - Added option to UnixDiffFormatter to not show the explanation (Beth, Tue Jan 20 08:39:42 2015 +1100)
- 27f3625 - Fixed bug rendering no diff indicator as JSON (Beth, Fri Dec 12 10:42:50 2014 +1100)
- 00280ac - Added logic to match form data when specified as a Hash (bethesque, Wed Oct 22 15:21:39 2014 +1100)
- ff6a01d - Disallowing unexpected params in the query (bethesque, Wed Oct 22 14:42:41 2014 +1100)
- fa7e03f - Removed JSON serialisation code from models. It has been moved to decorators in pact_mock-service. (bethesque, Wed Oct 22 12:53:21 2014 +1100)
- ebe5e32 - Added differ for application/x-www-form-urlencoded bodies. (bethesque, Mon Oct 20 20:26:13 2014 +1100)
- bab0b34 - Added possibility to provide queries as Hash. Then order of parameters in the query is not longer relevant. (André Allavena, Tue Oct 14 00:24:38 2014 +1000)
- e7080fe - Added a QueryString class in preparation for a QueryHash class (Beth, Sun Oct 12 14:32:15 2014 +1100)
- 8839151 - Added Travis config (Beth, Sun Oct 12 12:31:44 2014 +1100)
- 81ade54 - Removed CLI (Beth, Sun Oct 12 12:29:22 2014 +1100)
- 3bdde98 - Removing unused files (Beth, Sun Oct 12 12:11:48 2014 +1100)
- ef95717 - Made it build (Beth, Sat Oct 11 13:24:35 2014 +1100)
- 1e78b62 - Removed pact-test.rake (Beth, Sat Oct 11 13:20:49 2014 +1100)
- 3389b5e - Initial commit (Beth, Sat Oct 11 13:13:23 2014 +1100)