github newrelic/newrelic-php-agent v12.1.0.26
New Relic PHP Agent v12.1.0.26

18 hours ago

New Relic PHP agent v12.1.0.26

New features

  • Add sampling controls based on upstream w3c trace sampling decision - #1104
    • See new ini values here
  • Add configuration option to skip instrumentation of framework exception handlers - #1113
    • See new ini value here

Security

  • Bump golang version to 1.25.1

Bug fixes

  • Fix potential memleak when calling newrelic_end_transaction(true) - #1072
  • Don't attempt any instrumentation when not recording - #1112

Support statement

  • PHP Agent support for the following library/framework versions will end September 30, 2025:

    • WordPress 5.9
    • Drupal 8.x
    • Laravel 6.x, 8.x
    • PHPUnit 8.x
  • 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.

    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

Don't miss a new newrelic-php-agent release

NewReleases is sending notifications on new releases.