Releases: DataDog/dd-trace-php
Releases · DataDog/dd-trace-php
0.11.0
WARNING: THIS IS A BREAKING CHANGE RELEASE
This change should not impact most of the users as starting from 0.10.0
it is not required (and not recommended) to
manually set the transport. DDtrace\Transport\Http
no longer accepts a logger as the second argument as it uses
the globally registered logger. If you are using the Http
class, just remove the second argument from the constructor
invocation.
Added
- Support for guzzle 6 #254
- Configurable Sampler #260
- Debug mode for logging #261
- Basic tracing for unsupported and custom frameworks #264
- Support for symfony 3.3 #266 and #243
- Build php 5.4 extension locally #267
Fixed
- Composer PHP compatibility declaration #247
- Release notes for PECL and fix type-os in CHANGELOG #248
- Add missing files to PECL releases #252
- PHP 5.4 installation and build #255
- Trigger of autoloader un-tracing did not respect object #256
- docker-compose based packages verification #257
- Incorrect tar command in one-liner example from getting_started.md #258 - thanks @danielkay
- Auto-instrumentation in Symfony 3.4 and PHP 5.6 #262
- Type-o in command to install .deb packages #263
0.10.0
WARNING: THIS IS A BREAKING CHANGE RELEASE
Refer to the Migration Guide for a detailed description.
At an high level here are the breaking changes we introduced:
- We removed OpenTracing as a required dependency. We still support OpenTracing, so you can do
OpenTracing\GlobalTracer::get()
in your code and still retrieve an OpenTracing compliant tracer, but OpenTracing dependency is now optional. - We introduced auto-instrumentation and 1-step installation in place of manual registration of providers/bundles.
Before, in order to see traces, you had to install our extension, add two dependencies to the composer file and add a provider (Laravel) or a bundle (Symfony). Starting from now you will only have to install the extension. You still have freedom to manually instrument the code, but only for advanced usage.
Added
- Request init hook configuration allowing running arbitrary code before actual request execution #175
- Support OpenTracing without depending on it #193
- Initial C extension PHP 5.4 support #205
- Removal of external dependencies to support auto-instrumentation #206
- Migration from namespace based constants to class based constants for tags, formats and types #207
- Track integration loading to avoid re-loading unnecessary ones #211
- Documenting release steps #223
- Ability to run web framework tests in external web server #232
- Support for auto-instrumentation #237
- Support for Zend Framework 1 #238
Tracer::startRootSpan()
to track the rootScope
instance which can be accessed withTracer::getRootScope()
#241
Fixed
- The INI settings now appear in
phpinfo()
and when running$ php -i
#242
0.9.1
0.9.0
Added
- PHP code compatibility with PHP 5.4 #194
- Move framework tests to tests root folder #198
- Move integrations tests to tests root folder #200
- Allow testing of multiple library versions #203
- Downgrade of phpunit to 4.* in order to prepare for php 5.4 #208
- Configurable autofinishing of unfinished spans on tracer flush #217
Fixed
- Predis integration supporting constructor options as an object #187 - thanks @raffaellopaletta
- Properly set http status code tag in Laravel 4 integration #195
- Agent calls traced when using Symfony 3 integration #197
- Fix for trace and span ID's that were improperly serialized on the wire in distributed tracing contexts #204
- Fix noop tracer issues with Laravel integration #220
0.8.1
0.8.0
0.7.1
0.7.0
Added
- Possibility to enable/disable distributed tracing and priority sampling #160
- Tracing for the legacy MongoDB extension for PHP 5 #166
- Injecting distributed tracing headers in guzzle and curl requests #167
- Possibility to autoload all integrations and to disable specific ones #168
- Priority Sampling handling #169
Fixed
- "Undefined offset: 0" errors in ElasticSearch integration #165