Skip to content

Releases: guzzle/command

2.0.0

Choose a tag to compare

@GrahamCampbell GrahamCampbell released this 20 Jul 14:02
d839161
  • Drop support for PHP 7.2 and 7.3
  • Require guzzlehttp/guzzle ^8.0, guzzlehttp/promises ^3.0, and guzzlehttp/psr7 ^3.0
  • Escape unsafe command names and previous messages in generated command exceptions
  • Reject native PHP serialization of ServiceClient
  • Require custom implementations and subclasses of public command APIs to match native method signatures
  • Require service client response transformers to return ResultInterface values
  • Require command collections to be iterable and reject single commands in executeAll() and executeAllAsync()
  • Require custom middleware, transformers, and executeAll() callbacks to accept exact argument types instead of relying on scalar coercion
  • Redact credential-bearing command and HTTP arguments from PHP 8.2+ backtraces
  • Preserve requests from PSR-18 request and network exceptions and from Guzzle transfer exceptions when wrapping command failures
  • Allow command exception constructors to accept any previous Throwable
  • Add generic PHPDoc return types to asynchronous service client APIs
  • Improve PHPDoc for command handler stacks, transformer callables, and concurrent command callbacks

1.5.3

Choose a tag to compare

@GrahamCampbell GrahamCampbell released this 17 Jul 12:31
5bf0572
  • Require guzzlehttp/guzzle ^7.15 and guzzlehttp/psr7 ^2.13

1.5.2

Choose a tag to compare

@GrahamCampbell GrahamCampbell released this 08 Jul 16:33
7608869
  • Require guzzlehttp/guzzle ^7.13.3, guzzlehttp/promises ^2.5.1, and guzzlehttp/psr7 ^2.12.4

1.5.0

Choose a tag to compare

@GrahamCampbell GrahamCampbell released this 02 Jun 12:46
9df9d45
  • Require guzzlehttp/guzzle ^7.11, guzzlehttp/promises ^2.5, and guzzlehttp/psr7 ^2.11
  • Deprecate non-iterable command collections

1.4.0

Choose a tag to compare

@GrahamCampbell GrahamCampbell released this 18 May 22:34
6047a2a
  • Add PHP 8.5 support
  • Require guzzlehttp/guzzle ^7.10, guzzlehttp/promises ^2.3, and guzzlehttp/psr7 ^2.8
  • Remove stale createPool references from ServiceClientInterface documentation

1.3.2

Choose a tag to compare

@GrahamCampbell GrahamCampbell released this 04 Feb 09:57
888e74f
  • Add PHP 8.4 support

1.3.1

Choose a tag to compare

@GrahamCampbell GrahamCampbell released this 03 Dec 20:46
0eebc65
  • Add PHP 8.3 support

1.3.0

Choose a tag to compare

@GrahamCampbell GrahamCampbell released this 21 May 14:17
3372bcf
  • Add support for guzzlehttp/promises 2.x
  • Replace deprecated promise helper calls

1.2.3

Choose a tag to compare

@GrahamCampbell GrahamCampbell released this 18 Apr 08:31
3c9383a
  • Add PHP 8.2 support
  • Bump minimum Guzzle dependency versions

1.2.2

Choose a tag to compare

@GrahamCampbell GrahamCampbell released this 08 Feb 10:21
7883359
  • Fix PHP 8.1 return type deprecation notices
  • Bump minimum Guzzle dependency versions