Skip to content

4.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 06 May 10:11

4.0.0 (2025-05-06)

Bug Fixes

  • Add more robust query array parameter handling (959bf8d)
  • Allow array query parameters (00c0f24)
  • Allow assertions in mock request builder that() (703d5e7)
  • Allow data multi-parts (0091853)
  • Allow override of multipart file mimetype (da6f106)
  • Check for 7z presence (98f09d8)
  • deps: Update dependencies (5de0ace)
  • Don not rely on possibly incorrect data TABLE_ROWS (65985a6)
  • Drop PHP 8.1 support (272aa36)
  • Drop thecodingmachine/safe < 2.0 support (94e9f35)
  • http-client-mock: add content-length to body (f199f49)
  • pass size to content cb in MockRequestBuilder (e52ff9e)
  • Raise dependency versions, require php 8.3, require phpunit 11 (3d2715b)
  • Raise phpstan level to 6 (8582e9d)
  • Remove legacy check (6dc6ce7)
  • Upgrade to phpstan 2, phpunit 12 and allow safe 3 (f7ed117)
  • Use attributes for after and before (27cc7c3)

Features

  • Improve multipart handling in request builder (9b48406)
  • Provide UUID factory (5690fc2)
  • Refactor http client mock (65320d4)
  • Support 7z files (5638731)
  • Support switching between Dama and normal Mysql Schema Strategy in a test run (bdd00d8)

BREAKING CHANGES

  • Request matcher behaviour has changed for headers, queryParams, requestParams and multiparts
  • Use MockRequestBuilder->multipart() instead of MockRequestBuilder->multipartFile()
  • The functional test helpers now require phpunit 10.x+