Skip to content

v1.2.7

Choose a tag to compare

@github-actions github-actions released this 16 Oct 19:19
· 41 commits to main since this release

[1.2.7] - 2026-10-16

Changed

  • datacontract breaking consistently grades changes from the consumer's perspective by default (previously an inconsistent mix of consumer and producer perspective) (#1746)

Added

  • datacontract test: API servers send POST requests with query parameters and a JSON body, set by the method, params and body custom properties, and an X-API-Key header from DATACONTRACT_API_HEADER_X_API_KEY (also used by datacontract import odata) (#1747)
  • datacontract breaking --perspective consumer|producer (and perspective on POST /breaking) selects whose expectations changes are graded against, and the output shows whether each change tightens or loosens the contract (#1746)
  • datacontract import openapi imports POST operations, and writes required query parameters to the params custom property (#1747)

Security

  • datacontract api: a posted contract's api server may not reach private network addresses unless the server runs with --allow-private-network, and is refused while DATACONTRACT_API_HEADER_AUTHORIZATION or DATACONTRACT_API_HEADER_X_API_KEY is set on the server (#1747)