packagist php-http/httplug-bundle 1.15.0

latest releases: 2.x-dev, dev-1-to-2, 1.x-dev...
5 years ago

Added

  • Autowiring support for FlexibleClient, HttpMethodsClientInterface and
    BatchClientInterface if they are enabled on the default/first client.
    (Only available with Httplug 2)
  • Configuration for the content_type plugin
  • Support for namespaced Twig classes.
  • Configuration option default_client_autowiring that you can set to false
    to prevent autowiring the HttpClient and HttpAsyncClient

Changed

  • Moved source code to src/ and tests to tests/
  • Removed twig/twig dependency
  • Removed hard dependency on php-http/cache-plugin. If you want to use the
    cache plugin, you need to require it in your project.
  • Allow to set httpplug.profiling.captured_body_length configuration to null
    to avoid body limitation size.

Fixed

  • MockFactory now accepts any client, e.g. a mock client decorated with the
    plugin client for the development panel, so that configuring a mock client
    actually works. The MockFactory is now final.
  • Width of the HTTPlug icon in Profiler Toolbar.
  • RequestExceptionInterface formatting (getResponse() is not called anymore).

Don't miss a new httplug-bundle release

NewReleases is sending notifications on new releases.