Skip to content

v0.3.0

Choose a tag to compare

@carltonsmith carltonsmith released this 10 Mar 20:26
· 6 commits to main since this release
Immutable release. Only release title and notes can be modified.
ddddde5

Added

  • contract(:name) lookup helper for matcher composition in examples.
  • Internal deprecation utility: RSpec::Rest::Deprecation.warn(key:, message:) with once-per-key emission.
  • Keyword request description support on verbs: get(path, description: "...") { ... } (and same for other verbs).

Changed

  • Failure-time curl output now uses $API_AUTH_TOKEN placeholders for redacted auth-like headers.
  • Authorization and Proxy-Authorization scheme prefixes are preserved in redacted curl output (for example Basic, Digest).
  • README examples now prefer contract(:name) and keyword request descriptions.
  • Added README RuboCop compatibility guidance for Rails/HttpPositionalArguments and RSpec/EmptyExampleGroup.

Deprecated (removal target: 1.0)

  • expect_json_contract(name) -> use contract(:name).
  • Positional verb descriptions (for example get(path, "description")) -> use description: keyword.