Skip to content

Releases: spawnia/sailor

v0.8.0

28 Jul 14:43
Compare
Choose a tag to compare

Changed

  • Remove forced dependency on guzzle/guzzle

v0.7.0

16 Jul 13:15
aa1f3a1
Compare
Choose a tag to compare

Added

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

v0.6.0

05 Jul 14:08
0125a10
Compare
Choose a tag to compare

Added

  • Add Log client for integration testing #24

v0.5.0

10 Jun 13:52
Compare
Choose a tag to compare

Changed

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

v0.4.2

27 May 08:11
Compare
Choose a tag to compare

Fixed

  • Fix initialization of Result from Response

v0.4.1

01 Apr 13:48
fd8326b
Compare
Choose a tag to compare

Changed

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

v0.4.0

23 Mar 12:35
ef22496
Compare
Choose a tag to compare

Added

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

v0.3.0

15 Mar 13:11
Compare
Choose a tag to compare

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

15 Feb 12:07
Compare
Choose a tag to compare

Added

  • Support PHP 8

Changed

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

v0.1.0

15 Feb 10:46
Compare
Choose a tag to compare

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