Releases: DataDog/dd-trace-php
0.68.0
Note: the internal structure of the newly released dd-library-php-x86_64-linux-*.tar.gz
archive is intended for internal use and might vary in the future.
Added
- Bring priority sampling to internal #1366
- SpanData::$parent property #1369
- Add queue and channel components #1388
- Add log component #1390
- Add arena component #1391
- Add stack sample component #1392
- Add uuid component #1393
- Add time component #1394, #1408
- Add profiler installation #1422
- Zai/json #1378, #1397
- Add Code Coverage #1389
Changed
- (PHP 8) Migrate ObjectKVStore to WeakMap internally #1362
- Adjust components #1387
- Export only specific symbols #1407
- Sanitize user information from urls #1396
- Split INI setting in installer so they can be added separately when missing #1415
- Use the new targz bundle format with the new PHP installer #1421
- Have both legacy and new installer to fail when json PHP extension is not enabled #1410
Fixed
- Fix Laravel unnamed route with caching and domain specification #1364
- Fix http.url of internal root span #1360
- Add small framework to stress test our internal API with bogus inputs #1365
- PDOIntegration::parseDSN fails to parse some DSN #1373
- Fix constructor of OpenTracing wrapper when no Datadog tracer is provided #1406 - thanks @OGKevin for the reproduction case
- Fix parsing of urls without schema into host name #1385
0.67.0
0.66.0
⚠️ Breaking changes ⚠️
- Global tags are now assigned early. This means that users have to make sure to not overwrite
meta
, but only add to it instead, if they don't want to lose global tags. Wrong:$span->meta = [ 'some' => 'tag' ]
. Correct$span->meta['some'] = 'tag'
. - Support for legacy param
DD_TRACE_RESOURCE_URI_MAPPING
has been dropped with the migration to C code, after more than a year of deprecation. UseDD_TRACE_RESOURCE_URI_FRAGMENT_REGEX
,DD_TRACE_RESOURCE_URI_MAPPING_INCOMING
, andDD_TRACE_RESOURCE_URI_MAPPING_OUTGOING
instead. See resource mapping for more details.
Added
- (PHP 8) Migrate _dd.origin and distributed header sending to internal (#1267)
- (PHP 5) Add headers ZAI implementation (#1308)
- Add support for PHP 8.1 (#1297)
Changed
- (PHP 7, 8) Internal (root) span initialization (#1329)
Fixed
0.65.1
0.65.0
WARNING: Resource names for “Lumen” applications will change by default to GET /actual/uri/path
from the previous format GET action_name
or GET App\Controller@action_method
. You might need to adjust your monitors and filters for the change. In order to go back to the previous behavior, instead, you can temporarily set DD_TRACE_URL_AS_RESOURCE_NAMES_ENABLED=false
Added
- Add functions ZAI support for PHP 5 and 7 #1300
- Add properties and exceptions ZAI implementations for PHP 5 #1306
- Enhance exception reporting on Laravel 5+ #1322
Changed
- Remove src/dd-doctor.php #1316
- Honor DD_TRACE_URL_AS_RESOURCE_NAMES_ENABLED in Lumen resource naming #1318
Fixed
- Fix CLI processes emitting empty root spans when CLI tracing is not enabled #1320
0.64.1
0.64.0
WARNING: this version presents a known bug and you should update to 0.64.1+
WARNING: With this release the file _generated.php
is not used anymore and files _generated_api.php
and _generated_internal.php
are generated instead. This only impacts users having a very custom installation procedure that requires custom builds and manual copy of files.
Added
- Bring ZAI config, internal spans, and improved exception handling to PHP 7 #1293
Fixed
- Disable flaky ext/ftp tests on PHP < 8.1 #1296
- Compatibility with PHP 7.4+ preloading #1298 (thank you @olsavmic for the investigation and reproduction case)
- Check for php8 binary in package/post-install.sh script #1301 (thank you for the contribution @daiwai)
- Support userland spans with custom root spans created internally #1303
- Fix memory leak of already defined global tags #1304
0.63.0
0.62.1
0.62.0
Added
- ZAI env #1250
- Add ZAI component for reading headers #1256
- (PHP 8) Add proper exception and error reporting #1272
- (PHP 8) Register SpanData->exception property and store exception info there instead of internally #1281
Changed
- Refactor internal span objects to be allocated together with their internal data #1254
- Enforce metrics to be floats in internal serializer #1258
- Allow for global debug mode, add zai testing to Makefile and more minor testing improvements #1265
- Move DDTrace\Format to src/api #1271
- Moving spans from userland to extension #1262
Fixed
- Fix msgpack serialization of empty arrays #1259
- Set SECBIT_NO_SETUID_FIXUP to prevent crashes after setuid() calls #1276
- Apply original curl headers when curl_setopt_array() fails #1279
- Fix owner of files included in the distributed .tar.gz archive #1280
- Fix tests: Pin Symfony 4 tests to laminas/laminas-code < 4.4 #1266