Skip to content

Releases: newrelic/newrelic-php-agent

New Relic PHP Agent 11.3.0.16

21 Oct 19:24
f30642f
Compare
Choose a tag to compare

New Features

Bug Fixes

  • Improve magic file recognition performance by @lavarou in #970 and #975
  • Tarball installer checks for existing ini in mods-available directory by @ZNeumann in #971
  • Don't skip arguments when calling mysqli::real_connect by @kovshenin in #976
    • Huge thanks to @kovshenin for their community contribution!!

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.

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: v11.2.0.15...v11.3.0.16

v11.2.0.15

30 Sep 17:29
2321b9e
Compare
Choose a tag to compare

New Relic PHP Agent 11.2.0.15

New Features

  • feat(agent): if possible, use composer runtime API to collect information about PHP packages used by the application for New Relic Vulnerability Management. This feature is controlled via the new newrelic.vulnerability_management.composer_api.enabled INI value (off by default). by @lavarou in #962
  • Symfony 6 & 7 support verified.

Security

  • security(daemon): upgrade golang to 1.23.1 by @zsistla in #964

Bug Fixes

  • fix(agent): Fixes newrelic_notice_error() API for PHP 8+ when using the 4 parameter API variant by @mfulb in #960

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.

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: v11.1.0.14...v11.2.0.15

Release 11.1.0.14

26 Aug 18:47
263681e
Compare
Choose a tag to compare

New Relic PHP agent v11.1.0.14

New features

  • Drupal 11 verified and supported.

Bug fixes

  • Fixes an issue where newrelic.so was not able to resolve the strlcpy symbol on Linux using glibc version 2.39 or higher.

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.
**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 11.0.0.13

30 Jul 19:06
ef7200a
Compare
Choose a tag to compare

New Relic PHP agent v11.0.0.13

New features

  • Add countDocuments mongodb instrumentation for PHP 7.x (#926)
  • Doctrine 3.x verified and supported.
  • Laravel 11 verified and supported. Note: excludes Laravel Horizon support.

Security updates

  • security(daemon): Upgrade golang to 1.22.5 (#940)
  • Instructions for configuring New Relic apt repository have been updated to no longer use deprecated apt-key utility. Please use the updated instructions

Important end-of-life information

  • Support for PHP versions 7.0 and 7.1 has been EOLed and is removed in this release. If you are still using these PHP versions, please make sure to pin your agent version to 10.22.0.12.

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.
**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.22.0.12

26 Jun 16:38
687e42d
Compare
Choose a tag to compare

New Relic PHP agent v10.22.0.12

Bug fixes

  • Fix MongoDB instrumentation for PHP 8.0+ (#878)
  • Fix error where Guzzle 7+ was sending up major version for VM (#904)
  • Install correctly on minimalist operating systems (#913)
  • Fix Doctrine 2.18+ detection (#916)
  • Slim transaction naming updates (#917)
  • Fix rhel and alpine init scripts (#919)

Important end-of-life information

  • Support for PHP versions 7.0 and 7.1 has been EOL'd and will be removed in the next release. If you are still using these versions, please make sure to pin your agent version.

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.
**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.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