The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
- Add support for QueryParam in the AuthenticationPlugin
- Deprecation warnings on Symfony 4.1
- Allow to configure the
AddPathPlugin
per client, under theadd_path
configuration key. - Allow to configure clients with a
service
instead of a factory.
- Allow to configure the
BaseUriPlugin
per client, under thebase_uri
configuration key.
PluginClientFactory
name conflict with PHP 5.x.
- Symfony 4 support.
- Support autowiring of
Http\Client\Common\PluginClientFactory
. - Any third party library using
Http\Client\Common\PluginClientFactory
to createHttp\Client\Common\PluginClient
instances now gets zero config profiling. Http\HttplugBundle\Collector\Collector::reset()
ProfilePlugin
andStackPlugin
are no longer registered as (private) services decorators. Those decorators are now created through theHttp\HttplugBundle\Collector\PluginClientFactory
.
- The
Http\HttplugBundle\ClientFactory\PluginClientFactory
class.
- Removed wrapping auto discovered clients in a
PluginClient
, prevent double profiling. - Added missing service reference for
CachePlugin
'scache_key_generator
configuration option so that the option now actually works.
- Display of the profiler panel when used in a symfony/flex project.
- Add
Http\Message\MessageFactory
,Http\Message\StreamFactory
,Http\Message\UriFactory
andHttp\Client\HttpAsyncClient
services aliases for autowiring in Symfony 3.3. - Redirect requests are now displayed as nested.
- Plugins are now displayed with their FQCN instead of service id.
- The
DummyClient
interface.
- Made the "factory" configuration key optional.
- We do collect profiler data after the request is processed by a plugin. With this change we
will for example see the changes of
HeaderAppendPlugin
at that plugin instead of the next one.
- The real request method and target url are now displayed in the profiler.
- Support the cache plugin configuration for
respect_response_cache_directives
. - Extended WebProfilerToolbar item to list request with details.
- You can now copy any request as cURL command in the profiler.
- Support for autowring in Symfony 3.3
- Improved configuration validation
- The profiler design has been updated.
- Removed stopwatch-plugin in favor of
ProfileClient
.
- The configuration option
cache.config.respect_cache_headers
should no longer be used. Usecache.config.respect_response_cache_directives
instead.
- Make sure we always have a stack
- The profiler collector has been rewritten to use objects instead of arrays.
- Bumped minimum Symfony version to 2.8.
- Updated profiler badges to match Symfony 2.8+ profiler design.
- WebProfiler is no longer broken when there was a redirect.
- Dummy client should provide methods of HttpClient and HttpAsyncClient
- You can now also configure client specific plugins in the
plugins
option of a client. - Some plugins that you previously had to define in your own services can now be configured on the client.
- Support for BatchClient
- The stopwatch plugin included by default when using profiling.
- All clients are registered with the PluginClient (even in production)
- Improved debug tool registration
auto
value intoolbar.enabled
configtoolbar
config, useprofiling
instead
- Decoder, Redirect and Retry plugins can now be used and no longer trigger an error because of incorrect constructor arguments.
- Do not register debug tools when debugging is disabled (eg. in prod mode)
- Auto discovery by using the appropriate discovery class
- Support for cRUL constant names in configuration
- Flexible and HTTP Methods client support
- Discovery strategy to discover configured clients and/or add profiling
- Improved collector to include plugin stack in profile data
- Removed Puli logic and require
php-http/discovery:0.9
which makes Puli optional.
- Client factories for Buzz.
- Guzzle 6 client is now created according to the Httplug specifications with automated minimal behaviour. Make sure you configure the Httplug plugins as needed, for example if you want to get exceptions for failure HTTP status codes.
- [BC] PluginClientFactory returns an instance of
Http\Client\Common\PluginClient
(see php-http/client-common#14) - Plugins are loaded from their new packages
- Puli autoload issue on >=PHP 5.6, see puli/issues#190
- New configuration for authentication plugin. You may now specify the authentication credentials directly in the bundle's configuration. This will break previous authentication configuration.
- Client factories for Curl, React and Socket.
- Bug with circular reference when a client was named 'default'
- Dependency on
php-http/discovery
. You must now installpuli/symfony-bundle
to use auto discovery.