Skip to content

Latest commit

 

History

History
100 lines (54 loc) · 1.84 KB

CHANGELOG.md

File metadata and controls

100 lines (54 loc) · 1.84 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

v0.9.0

Added

Changed

  • Response::fromResponseInterface() no longer accepts non-200 status codes

v0.8.0

Changed

  • Remove forced dependency on guzzle/guzzle

v0.7.0

Added

  • Add methods Log::requests() and Log::clear() to ease assertions on Log client spawnia#25

v0.6.0

Added

  • Add Log client for integration testing spawnia#24

v0.5.0

Changed

  • Return the first registered mock instance for each operation class on subsequent calls to Operation::mock()

v0.4.2

Fixed

  • Fix initialization of Result from Response

v0.4.1

Changed

  • Improve error message when trying to map unknown fields onto result classes

v0.4.0

Added

  • Add method Result::errorFree() to ease safe access to a result class without errors

v0.3.0

Added

  • Allow mocking single operations with Mockery

Fixed

  • Fix codegen for operations with multiple parameters

Changed

  • Require Directive.isRepeatable on introspection
  • Use typed properties
  • Rewrite Configuration class

Removed

  • Remove EndpointConfig::$mockClient and EndpointConfig::client()

v0.2.0

Added

  • Support PHP 8

Changed

  • Require PHP 7.4 or 8
  • Require newer versions of various dependencies

v0.1.0

Added

  • Fetch introspection results via vendor/bin/sailor introspect
  • Define operations in .graphql files and automatically generate client code
  • Statically validate correctness of defined operations