Releases: php-http/HttplugBundle
Releases · php-http/HttplugBundle
Release 1.18.0
See Changelog.md for all changes.
1.17.0
Added
- Support Symfony 5 and Twig 3.
- Configured clients are now tagged with
'httplug.client'
- Adds a link to profiler page when response is from a Symfony application with
profiler enabled - Adding
blacklisted_paths
option ofphp-http/cache-plugin
Changed
- Fixed error handling. Now TypeErrors and other \Throwable are correctly handled by ProfileClient
- Use tabular design in profiler for HTTP request/response headers
Deprecated
httplug.collector.twig.http_message
servicehttplug_markup
Twig function
1.16.0
Changed
- Dropped support for PHP < 7.1
- Dropped support for Symfony versions that do no longer receive bugfixes
Added
- Integration for VCR Plugin
Fixed
- Fix compatibility with curl-client
2.*
. TheCurlFactory
now builds the client using PSR-17 factories. Marked a conflict for curl-client1.*
.
1.15.2
1.15.1
1.15.0
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 totests/
- 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 tonull
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 nowfinal
. - Width of the HTTPlug icon in Profiler Toolbar.
RequestExceptionInterface
formatting (getResponse()
is not called anymore).
Release 1.14.0
See Changelog.md for all changes.
1.13.1
Release 1.13.0
Added
- Allow to configure the
QueryDefaultsPlugin
Release 1.12.0
Added
- Add configuration option to allow making client services public if needed