Releases: newrelic/newrelic-php-agent
Release 11.0.0.13
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.
The PHP agent packages that are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon
Release 10.22.0.12
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.
The PHP agent packages that are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon
Release 10.21.0.11
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
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
New features
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 asError
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 honoringuser_error_handler
: the agent will not record an error ifuser_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
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
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
New Relic PHP agent v10.16.0.5
Security
- Agent debugging log obfuscation improved for relevant agent configuration values.
New features
- INI value
newrelic.framework.wordpress.hooks.options
that allows tailoring WordPress instrumentation. Usingplugins_callbacks
orthreshold
values offer different instrumentation levels with reduced agent’s overhead. See https://docs.newrelic.com/docs/apm/agents/php-agent/configuration/php-agent-configuration/#inivar-framework-wordpress-hooks-options and https://docs.newrelic.com/docs/apm/agents/php-agent/frameworks-libraries/wordpress-specific-functionality/ for more details.
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
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
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