Skip to content

Releases: newrelic/newrelic-php-agent

Release 10.21.0.11

20 May 15:38
ddc5230
Compare
Choose a tag to compare

Bug fixes

  • fix(agent): end guzzle's external segment for rejected request (#883)

Security updates

  • security(daemon): Upgrade golang to 1.22 (#890)

Important end-of-life information

  • Support for PHP versions 7.0 and 7.1 will EOL on June 1st, 2024

Support statement

  • New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our PHP EOL policy.
  • The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.

Important information

For installations using an unsupported PHP version or platform, it's highly recommended that you disable the auto-update mechanisms for the PHP agent packages. This can be done by adding the PHP agent packages to an exclusion list for package upgrades. Or you could version pin the PHP agent package to an agent version that supports the old, unsupported feature(s). Failure to prevent upgrades may result in a newer agent release being installed and the removal of support for the required, unsupported features. This would disrupt APM data collection.
The PHP agent packages that are affected are:

  • newrelic-php5
  • newrelic-php5-common
  • newrelic-daemon

Full Changelog: v10.20.0.10...v10.21.0.11

Release 10.20.0.10

06 May 15:14
4f470da
Compare
Choose a tag to compare

New features

  • feat(agent): add support for Yii v2 by @razvanphp and @lavarou in #848 (resolves #821)
  • feat(agent): Add supportability metrics for PHP packages that provide major version by @hahuja2 in #868
  • feat(agent): update default for newrelic.framework.wordpress.hooks.options options by @lavarou in #880

Bug fixes

  • fix(agent): Fix error reporting for errors converted by PHP to exceptions by @zsistla in #876 (resolves #872)
  • fix(agent): Fix warning from mysqli when explaining slow SQL queries by @mfulb in #881 (resolves #875)
  • fix(agent): improve exception handler instrumentation for PHPs 8.0+ by @lavarou in #877
  • fix(daemon): fix json struct tag for docker id by @bduranleau-nr in #870
  • fix: improve communications of PHP packages data to the backend by @bduranleau-nr in #871

Security updates

  • security(daemon): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /daemon by @dependabot in #855
  • security(daemon): bump golang.org/x/net from 0.20.0 to 0.23.0 in /daemon by @dependabot in #879

Contributors

Thank you @razvanphp and @NiklasBr for your contributions!
Thank you @iaibai for excellent bug report in #875!

Important end-of-life information

  • Support for PHP versions 7.0 and 7.1 will EOL on June 1st, 2024

Support statement

  • New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our PHP EOL policy.
  • The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.

Important information

For installations using an unsupported PHP version or platform, it's highly recommended that you disable the auto-update mechanisms for the PHP agent packages. This can be done by adding the PHP agent packages to an exclusion list for package upgrades. Or you could version pin the PHP agent package to an agent version that supports the old, unsupported feature(s). Failure to prevent upgrades may result in a newer agent release being installed and the removal of support for the required, unsupported features. This would disrupt APM data collection.
The PHP agent packages that are affected are:

  • newrelic-php5
  • newrelic-php5-common
  • newrelic-daemon

Full Changelog: v10.19.0.9...v10.20.0.10

Release 10.19.0.9

18 Mar 16:01
9caf27b
Compare
Choose a tag to compare

New features

  • feat(agent): Always link error traces using transaction ID by @mfulb in #812

Bug fixes

  • fix(agent): change detection file for Magento by @hahuja2 in #846

  • fix(agent): Add support for E_RECOVERABLE_ERROR, E_DEPRECATED, E_USER_DEPRECATED error types to fix error categorization and prioritization. E_RECOVERABLE_ERROR, E_DEPRECATED, E_USER_DEPRECATED are no longer recorded as Error by @zsistla in #850

  • fix(agent): revert to using zend_error_cb hook in PHPs 8.0+ for error reporting. This fixes error recording for PHPs 8.0+ by honoring user_error_handler: the agent will not record an error if user_error_handler handled the error by @ZNeumann in #851

Full Changelog: v10.18.0.8...v10.19.0.9

Important end-of-life information

  • Support for PHP versions 7.0 and 7.1 will EOL on June 1st, 2024

Support statement

  • New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our PHP EOL policy.
  • The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.

Important information

For installations using an unsupported PHP version or platform, it's highly recommended that you disable the auto-update mechanisms for the PHP agent packages. This can be done by adding the PHP agent packages to an exclusion list for package upgrades. Or you could version pin the PHP agent package to an agent version that supports the old, unsupported feature(s). Failure to prevent upgrades may result in a newer agent release being installed and the removal of support for the required, unsupported features. This would disrupt APM data collection.
The PHP agent packages that are affected are:

  • newrelic-php5
  • newrelic-php5-common
  • newrelic-daemon

Release 10.18.0.8

04 Mar 16:04
e78afe1
Compare
Choose a tag to compare

New Relic PHP agent v10.18.0.8

New features

  • PHP's Just-In-Time Compilation is no longer disabled when the PHP Agent is enabled. PHP has this on-by-default starting with PHP 8.0.

Bug fixes

  • Fixes a bug where the agent would not properly automatically detect the Lumen framework

Important end-of-life information

  • Support for PHP versions 7.0 and 7.1 will EOL on June 1st, 2024

Support statement

  • New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our PHP EOL policy.
  • The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.

Important information

For installations using an unsupported PHP version or platform, it's highly recommended that you disable the auto-update mechanisms for the PHP agent packages. This can be done by adding the PHP agent packages to an exclusion list for package upgrades. Or you could version pin the PHP agent package to an agent version that supports the old, unsupported feature(s). Failure to prevent upgrades may result in a newer agent release being installed and the removal of support for the required, unsupported features. This would disrupt APM data collection.
The PHP agent packages that are affected are:

  • newrelic-php5
  • newrelic-php5-common
  • newrelic-daemon

Release 10.17.0.7

21 Feb 16:56
f4c8604
Compare
Choose a tag to compare

New Relic PHP agent v10.17.0.7

New features

  • The PHP agent now sends up package detection information that can be viewed on the environment page. This feature will be enabled by default and you can find more information about this INI configuration here.

Bug fixes

  • Fixes a locale bug in DT W3C trace state header generation

Important end-of-life information

  • Support for PHP versions 7.0 and 7.1 will EOL on June 1st, 2024

Support statement

  • New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our PHP EOL policy.
  • The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.

Important information

For installations using an unsupported PHP version or platform, it's highly recommended that you disable the auto-update mechanisms for the PHP agent packages. This can be done by adding the PHP agent packages to an exclusion list for package upgrades. Or you could version pin the PHP agent package to an agent version that supports the old, unsupported feature(s). Failure to prevent upgrades may result in a newer agent release being installed and the removal of support for the required, unsupported features. This would disrupt APM data collection.
The PHP agent packages that are affected are:

  • newrelic-php5
  • newrelic-php5-common
  • newrelic-daemon

Release 10.16.0.5

23 Jan 18:14
320ea57
Compare
Choose a tag to compare

New Relic PHP agent v10.16.0.5

Security

  • Agent debugging log obfuscation improved for relevant agent configuration values.

New features

Miscellaneous improvements

  • Several performance-related improvements for agent when using the Wordpress framework.

Important end-of-life information

  • Support for PHP versions 7.0 and 7.1 will EOL on June 1st, 2024

Support statement

  • New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our PHP EOL policy.
  • The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.

Important information

For installations using an unsupported PHP version or platform, it's highly recommended that you disable the auto-update mechanisms for the PHP agent packages. This can be done by adding the PHP agent packages to an exclusion list for package upgrades. Or you could version pin the PHP agent package to an agent version that supports the old, unsupported feature(s). Failure to prevent upgrades may result in a newer agent release being installed and the removal of support for the required, unsupported features. This would disrupt APM data collection.
The PHP agent packages that are affected are:

  • newrelic-php5
  • newrelic-php5-common
  • newrelic-daemon

Release 10.15.0.4

20 Dec 19:48
6c27106
Compare
Choose a tag to compare

New Relic PHP agent v10.15.0.4

New features

  • Adds support for PHP 8.3

Bug fixes

  • Removes a warning message for NULL Docker ID

Miscellaneous improvements

  • Several performance-related improvements

Important end-of-life information

  • Support for PHP versions 7.0 and 7.1 will EOL on June 1st, 2024

Support statement

  • New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our PHP EOL policy.
  • The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.

Important information

For installations using an unsupported PHP version or platform, it's highly recommended that you disable the auto-update mechanisms for the PHP agent packages. This can be done by adding the PHP agent packages to an exclusion list for package upgrades. Or you could version pin the PHP agent package to an agent version that supports the old, unsupported feature(s). Failure to prevent upgrades may result in a newer agent release being installed and the removal of support for the required, unsupported features. This would disrupt APM data collection.
The PHP agent packages that are affected are:

  • newrelic-php5
  • newrelic-php5-common
  • newrelic-daemon

Release 10.14.0.3

13 Nov 20:52
1563e80
Compare
Choose a tag to compare

New Relic PHP agent v10.14.0.3

Security

  • Updated the Golang version used to build the Daemon from 1.20 to 1.21.1.

New features

  • The PHP agent now supports APM log context attributes. See the PHP Logs In Context page for more information.

  • The agent now supports detecting Docker container IDs via cgroup v2.

Bug Fixes

  • A fix was added that removes erroneous deprecation warnings which could appear using the mysqli extension with PHP 8.1 and later.

  • When PHP 8+ is built in debug mode, zpp/arginfo mismatches are now Fatal Errors. Fixed the mismatches that existed in the code base.

  • Resolved an issue impacting duplicative telemetry data.

Important end-of-life information

  • Support for PHP versions 7.0 and 7.1 will EOL in early 2024.

Support statement

  • New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our PHP EOL policy.
  • The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.

Important Information

For installations using an unsupported PHP version or platform, it's highly recommended that you disable the auto-update mechanisms for the PHP agent packages. This can be done by adding the PHP agent packages to an exclusion list for package upgrades. Or you could version pin the PHP agent package to an agent version that supports the old, unsupported feature(s). Failure to prevent upgrades may result in a newer agent release being installed and the removal of support for the required, unsupported features. This would disrupt APM data collection.
The PHP agent packages that are affected are:

  • newrelic-php5
  • newrelic-php5-common
  • newrelic-daemon

New Relic PHP Agent v10.13.0.2

03 Oct 16:12
fa8c3e6
Compare
Choose a tag to compare

New Relic PHP agent v10.13.0.2

New features

Important end-of-life information

  • Support for PHP versions 7.0 and 7.1 will EOL in early 2024.

Support statement

  • New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our PHP EOL policy.
  • The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.

Important Information

For installations using an unsupported PHP version or platform, it's highly recommended that you disable the auto-update mechanisms for the PHP agent packages. This can be done by adding the PHP agent packages to an exclusion list for package upgrades. Or you could version pin the PHP agent package to an agent version that supports the old, unsupported feature(s). Failure to prevent upgrades may result in a newer agent release being installed and the removal of support for the required, unsupported features. This would disrupt APM data collection.
The PHP agent packages that are affected are:

  • newrelic-php5
  • newrelic-php5-common
  • newrelic-daemon

New Relic PHP Agent v10.12.0.1

20 Sep 19:51
b3f200e
Compare
Choose a tag to compare

New features

  • Improved Guzzle 5 and 6 detection.
  • Adds newrelic_set_error_group_callback API, allowing an application to register a callback function with the PHP Agent that will generate a custom error group name. Read more about this API here.
  • Adds newrelic_set_user_id API, allowing an application to assign a unique user ID to a transaction. Read more about this API here.
  • Adds a link to documentation to the install error message when installing an unsupported version of PHP.
  • Verified support for Guzzle 7.
  • Verified support for Laravel 9 and 10.

Bug Fixes

  • Reduces the log level for a Drupal-specific message to a more appropriate value.
  • Fixes a bug in Infinite Tracing where distributed traces were missing a parentID attribute that caused issues displaying a distributed application in the UI.

Important end-of-life information

  • Support for PHP versions 7.0 and 7.1 will EOL in early 2024.

Support statement

  • New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our PHP EOL policy.
  • The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.