New Relic PHP agent v11.8.0.22
New features
- feat(agent): Add AWS DynamoDB Instrumentation
Security
- security(daemon): bump golang to 1.24.2
- security(daemon): bump golang.org/x/net from 0.36.0 to 0.38.0
Notice
The default Code Level Metrics configuration will change in an upcoming release from enabled to disabled.
If you do not use Code Level Metrics, you should see no impact and will not have to take any action.
If you do rely on Code Level Metrics, ensure that your newrelic.ini configuration file has the
newrelic.code_level_metrics.enabled
INI setting uncommented and set to true.
e.g:
newrelic.code_level_metrics.enabled = true
This change only impacts the default configuration value. Manually set configuration values will be honored, and core CLM behavior will remain unaffected.
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 New Relic PHP Agent EOL policy.
- The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.
Importante
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
Agente New Relic PHP v11.8.0.22
Novo recurso
- feat(agente): Adicionar instrumentação AWS DynamoDB
Segurança
- segurança(daemon): aumentar golang para 1.24.2
- segurança(daemon): bump golang.org/x/net de 0,36,0 a 0,38,0
Perceber
O nível padrão do código métrico de configuração será alterado em uma versão futura de ativado para desativado. Se você não usar o nível do código métrico, não verá nenhum impacto e não precisará tomar nenhuma providência. Se você confiar no nível do código métrico, certifique-se de que seu arquivo de configuração newrelic.ini tenha a configuração INI newrelic.code_level_metrics.enabled
descomentada e definida como verdadeira. por exemplo: newrelic.code_level_metrics.enabled = true
Esta alteração afeta apenas o valor de configuração padrão. Os valores de configuração definidos manualmente serão respeitados e o comportamento principal do CLM permanecerá inalterado.
Declaração de apoio
- A New Relic recomenda que você atualize o agente regularmente e, no mínimo, a cada 3 meses. Para obter mais informações sobre versões de agentes suportadas e cronogramas de fim de vida útil, confira nossa política de fim de vida útil do PHP do agenteNew Relic .
- A página de compatibilidade do agente e requisitos do PHP deve ser consultada para obter as informações mais recentes sobre as versões e plataformas suportadas do PHP.
Importante
Para instalação usando uma versão ou plataforma PHP não suportada, é altamente recomendável que você desabilite os mecanismos de atualização automática para os pacotes PHP do agente. Isso pode ser feito adicionando os pacotes do agente PHP a uma lista de exclusão para atualizações de pacotes. Ou você pode fazer o versionamento do pacote PHP do agente para uma versão do agente que suporte os recursos antigos e sem suporte. A falha em impedir atualizações pode resultar na instalação de uma versão mais recente do agente e na remoção do suporte para o recurso necessário e não suportado. Isso interromperia a coleta de dados do APM.
Os pacotes do agente PHP afetados são:
- newrelic-php5
- newrelic-php5-common
- daemon-newrelic
New Relic PHP agent v11.7.0.21
New features
- feat(agent): Adds label forwarding to log events
- feat(agent): Add AWS Lambda Relationship
Security
- security(daemon): bump golang.org/x/net from 0.33.0 to 0.36.0
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 New Relic PHP Agent EOL policy.
- The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.
Importante
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 v11.6.0.19
New features
- Added support for aws-sdk-php SQS version 3 instrumentation
- Added support for php-amqplib version 3.7 RabbitMQ instrumentation
- Added support for Yii version 1.1 instrumentation
- The agent will now generate MessageBroker metrics and attributes
Security
- Daemon Golang version upgraded to 1.23.6
Bug fixes
- Fixed daemon to enable
go vet
check on pull requests - Fixed memory leak in Laravel Queue Instrumentation
- Fixed nr_header_create_distributed_trace_map memory leak
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 New Relic PHP Agent EOL policy.
- The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.
Importante
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 v11.5.0.18
New feature
- Adds support for PHP 8.4
Bug Fixes
- Fix Drupal error and exception handling
- This fix may conflict with the error and exception handling of the Drupal new_relic_rpm module. If you have this module installed and you aren't seeing your errors reported natively by the agent, try disabling the new_relic_rpm module. If you still experience issues after disabling this module, please reach out to New Relic Support.
- Fix error where externalCallCount should be added to the transaction and not just the error event.
- Address aws-sdk-php versioning change.
Security
- Daemon golang.org/x/net module upgraded to v0.33.0
Support statement
- New Relic recommends that you upgrade the agent regularly and at a minimum every three months. For more information on supported agent versions and EOL timelines, check out our New Relic PHP Agent EOL policy.
- The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.
Importante
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 v11.4.0.17
New feature
- Added support for CakePHP framework versions 4.x and 5.x.
Support statement
- New Relic recommends that you upgrade the agent regularly and at a minimum every three 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.
Importante
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 v11.3.0.16
New Features
- Memcached instance metrics with host name
- Dockerized Daemon now supports arm64
Bug Fixes
- Improve magic file recognition performance
- Tarball installer checks for existing ini in mods-available directory
- Don't skip arguments when calling
mysqli::real_connect
- 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.
Importante
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 v11.2.0.15
New features
- 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). - Symfony 6 & 7 support verified.
Security
- Daemon Golang version upgraded to 1.23.1.
Bug fixes
- Fixes newrelic_notice_error() API for PHP 8+ when using the 4 parameter API variant.
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.
Importante
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 v11.1.0.14
New features
- Drupal 11 verified and supported.
Bug fixes
- Fixes an issue where
newrelic.so
was not able to resolve thestrlcpy
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.
Importante
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 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.
Importante
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