Skip to content

v1.0.1

Choose a tag to compare

@jdwx jdwx released this 29 Mar 03:11
· 15 commits to main since this release

New features:

  • Add SimpleMessage::withHeaders().
  • Add SimpleUri::from().
  • Add a mock HTTP client implementation for testing.
  • Add SimpleFactory. (Provides RequestFactoryInterface, ResponseFactoryInterface, UriFactoryInterface, StreamFactoryInterface)
  • Add ClientDecorator, Client, and ClientInterface. (Client adds Client::get() and Client::post() to make simple requests even easier.)

Bug fixes:

  • SimpleMessage::withHeaderAdded() no longer incorrectly appends multiple values.
  • SimpleRequest::getRequestTarget() no longer unconditionally appends ? to the path.

Tests were added and updated to cover regressions and maintain 100% coverage. Some tests and support classes were reorganized.