Skip to content

Pact Matching Library v1.2.3

Compare
Choose a tag to compare
@rholshausen rholshausen released this 30 May 05:50
· 211 commits to master since this release

Supports content type detection on Windows

This release updates the content type detection to use the infer crate, which provides the same behaviour on all platforms. Thanks to @YOU54F!

  • e0ffa61 - chore: refactor matching logic and add debug logs if text/plain detected, before we match (Yousaf Nabi)
  • 72c6e57 - chore: preserve original behaviour for text/plain content-type header with application/json body (Yousaf Nabi)
  • 57b16b8 - chore: only check with tree_magic if inferred_content_type is empty (Yousaf Nabi)
  • 6094477 - chore: inferred_content_type default is empty string if no match (Yousaf Nabi)
  • b0fd7e2 - chore: refactor to preserve existing error messages (Yousaf Nabi)
  • 968be07 - feat: update content_type_matching logic for binary payloads (Yousaf Nabi)