PHP agent release notesRSS

May 13
PHP agent v11.9.0.23

뉴렐릭 PHP μ—μ΄μ „νŠΈ v11.9.0.23

μƒˆλ‘œμš΄ κΈ°λŠ₯

  • feat(agent): Drupal 11.1에 λ„μž…λœ 객체 μ§€ν–₯ 후크 κ΅¬ν˜„μ˜ μžλ™ μΈ‘μ •, μžλ™ λ°˜ν™˜ μΆ”κ°€

λ‹€λ₯Έ

  • refactor(agent): μ‚¬μš©μž ν•¨μˆ˜ μΈ‘μ •μ˜ μ„±λŠ₯ ν–₯상, PHP 8.0 이상에 λŒ€ν•œ λ¦¬μ†ŒμŠ€

μ•Œμ•„μ±„λ‹€

κΈ°λ³Έ μ•± 레벨 μ§€ν‘œ 섀정은 ν–₯ν›„ λ¦΄λ¦¬μŠ€μ—μ„œ ν™œμ„±ν™”μ—μ„œ λΉ„ν™œμ„±ν™”λ‘œ λ³€κ²½λ©λ‹ˆλ‹€. μ½”λ“œ 레벨 μ§€ν‘œλ₯Ό μ‚¬μš©ν•˜μ§€ μ•ŠμœΌλ©΄ μ•„λ¬΄λŸ° 영ν–₯도 보이지 μ•ŠμœΌλ©° μ•„λ¬΄λŸ° 쑰치λ₯Ό μ·¨ν•  ν•„μš”κ°€ μ—†μŠ΅λ‹ˆλ‹€. μ½”λ“œ 레벨 μ§€ν‘œλ₯Ό μ‚¬μš©ν•˜λŠ” 경우 newrelic.ini μ„€μ • νŒŒμΌμ— 주석 μ²˜λ¦¬λ˜μ§€ μ•Šμ€ newrelic.code_level_metrics.enabled INI 섀정이 있고 true둜 μ„€μ •λ˜μ–΄ μžˆλŠ”μ§€ ν™•μΈν•˜μ„Έμš”. 예: newrelic.code_level_metrics.enabled = true 이 λ³€κ²½ 사항은 κΈ°λ³Έ μ„€μ • κ°’μ—λ§Œ 영ν–₯을 λ―ΈμΉ©λ‹ˆλ‹€. μˆ˜λ™μœΌλ‘œ μ„€μ •ν•œ ꡬ성 값은 κ·ΈλŒ€λ‘œ μœ μ§€λ˜λ©°, CLM의 핡심 λ™μž‘μ—λŠ” 영ν–₯을 λ―ΈμΉ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

μ§€μ§€ μ„±λͺ…

μ€‘μš”

μ§€μ›λ˜μ§€ μ•ŠλŠ” PHP λ²„μ „μ΄λ‚˜ ν”Œλž«νΌμ„ μ‚¬μš©ν•˜μ—¬ μ„€μΉ˜ν•˜λŠ” 경우, PHP μ—μ΄μ „νŠΈ νŒ¨ν‚€μ§€μ˜ μžλ™ μ—…λ°μ΄νŠΈ λ©”μ»€λ‹ˆμ¦˜μ„ λΉ„ν™œμ„±ν™”ν•˜λŠ” 것이 μ’‹μŠ΅λ‹ˆλ‹€. νŒ¨ν‚€μ§€ μ—…κ·Έλ ˆμ΄λ“œλ₯Ό μœ„ν•œ μ œμ™Έ λͺ©λ‘μ— PHP μ—μ΄μ „νŠΈ νŒ¨ν‚€μ§€λ₯Ό μΆ”κ°€ν•˜λ©΄ λ©λ‹ˆλ‹€. λ˜λŠ” PHP μ—μ΄μ „νŠΈ νŒ¨ν‚€μ§€λ₯Ό 였래되고 μ§€μ›λ˜μ§€ μ•ŠλŠ” κΈ°λŠ₯을 μ§€μ›ν•˜λŠ” μ—μ΄μ „νŠΈ λ²„μ „μœΌλ‘œ κ³ μ •ν•  μˆ˜λ„ μžˆμŠ΅λ‹ˆλ‹€. μ—…κ·Έλ ˆμ΄λ“œλ₯Ό 막지 λͺ»ν•˜λ©΄ μ΅œμ‹  μ—μ΄μ „νŠΈ λ¦΄λ¦¬μŠ€κ°€ μ„€μΉ˜λ˜κ³  ν•„μˆ˜μ΄μ§€λ§Œ μ§€μ›λ˜μ§€ μ•ŠλŠ” κΈ°λŠ₯에 λŒ€ν•œ 지원이 쀑단될 수 μžˆμŠ΅λ‹ˆλ‹€. 이둜 인해 APM 데이터 μˆ˜μ§‘μ΄ μ€‘λ‹¨λ©λ‹ˆλ‹€.

영ν–₯을 λ°›λŠ” PHP μ—μ΄μ „νŠΈ νŒ¨ν‚€μ§€λŠ” λ‹€μŒκ³Ό κ°™μŠ΅λ‹ˆλ‹€.

  • newrelic-php5
  • newrelic-php5-common
  • newrelic 데λͺ¬

April 21
PHP agent v11.8.0.22

뉴렐릭 PHP μ—μ΄μ „νŠΈ v11.8.0.22

μƒˆλ‘œμš΄ κΈ°λŠ₯

  • feat(μ—μ΄μ „νŠΈ): AWS DynamoDB μΈ‘μ •, λ¦¬μ†ŒμŠ€ μΆ”κ°€

λ³΄μ•ˆ

  • security(데λͺ¬): golang을 1.24.2둜 μ˜¬λ €μ£Όμ„Έμš”
  • λ³΄μ•ˆ(데λͺ¬): golang.org/x/net을 μΆ©λŒμ‹œν‚΅λ‹ˆλ‹€. 0.36.0μ—μ„œ 0.38.0으둜

μ•Œμ•„μ±„λ‹€

κΈ°λ³Έ μ•± 레벨 μ§€ν‘œ 섀정은 ν–₯ν›„ λ¦΄λ¦¬μŠ€μ—μ„œ ν™œμ„±ν™”μ—μ„œ λΉ„ν™œμ„±ν™”λ‘œ λ³€κ²½λ©λ‹ˆλ‹€. μ½”λ“œ 레벨 μ§€ν‘œλ₯Ό μ‚¬μš©ν•˜μ§€ μ•ŠμœΌλ©΄ μ•„λ¬΄λŸ° 영ν–₯도 보이지 μ•ŠμœΌλ©° μ•„λ¬΄λŸ° 쑰치λ₯Ό μ·¨ν•  ν•„μš”κ°€ μ—†μŠ΅λ‹ˆλ‹€. μ½”λ“œ 레벨 μ§€ν‘œλ₯Ό μ‚¬μš©ν•˜λŠ” 경우 newrelic.ini μ„€μ • νŒŒμΌμ— 주석 μ²˜λ¦¬λ˜μ§€ μ•Šμ€ newrelic.code_level_metrics.enabled INI 섀정이 있고 true둜 μ„€μ •λ˜μ–΄ μžˆλŠ”μ§€ ν™•μΈν•˜μ„Έμš”. 예: newrelic.code_level_metrics.enabled = true 이 λ³€κ²½ 사항은 κΈ°λ³Έ μ„€μ • κ°’μ—λ§Œ 영ν–₯을 λ―ΈμΉ©λ‹ˆλ‹€. μˆ˜λ™μœΌλ‘œ μ„€μ •ν•œ ꡬ성 값은 κ·ΈλŒ€λ‘œ μœ μ§€λ˜λ©°, CLM의 핡심 λ™μž‘μ—λŠ” 영ν–₯을 λ―ΈμΉ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

μ§€μ§€ μ„±λͺ…

μ€‘μš”

μ§€μ›λ˜μ§€ μ•ŠλŠ” PHP λ²„μ „μ΄λ‚˜ ν”Œλž«νΌμ„ μ‚¬μš©ν•˜μ—¬ μ„€μΉ˜ν•˜λŠ” 경우, PHP μ—μ΄μ „νŠΈ νŒ¨ν‚€μ§€μ˜ μžλ™ μ—…λ°μ΄νŠΈ λ©”μ»€λ‹ˆμ¦˜μ„ λΉ„ν™œμ„±ν™”ν•˜λŠ” 것이 μ’‹μŠ΅λ‹ˆλ‹€. νŒ¨ν‚€μ§€ μ—…κ·Έλ ˆμ΄λ“œλ₯Ό μœ„ν•œ μ œμ™Έ λͺ©λ‘μ— PHP μ—μ΄μ „νŠΈ νŒ¨ν‚€μ§€λ₯Ό μΆ”κ°€ν•˜λ©΄ λ©λ‹ˆλ‹€. λ˜λŠ” PHP μ—μ΄μ „νŠΈ νŒ¨ν‚€μ§€λ₯Ό 였래되고 μ§€μ›λ˜μ§€ μ•ŠλŠ” κΈ°λŠ₯을 μ§€μ›ν•˜λŠ” μ—μ΄μ „νŠΈ λ²„μ „μœΌλ‘œ κ³ μ •ν•  μˆ˜λ„ μžˆμŠ΅λ‹ˆλ‹€. μ—…κ·Έλ ˆμ΄λ“œλ₯Ό 막지 λͺ»ν•˜λ©΄ μ΅œμ‹  μ—μ΄μ „νŠΈ λ¦΄λ¦¬μŠ€κ°€ μ„€μΉ˜λ˜κ³  ν•„μˆ˜μ΄μ§€λ§Œ μ§€μ›λ˜μ§€ μ•ŠλŠ” κΈ°λŠ₯에 λŒ€ν•œ 지원이 쀑단될 수 μžˆμŠ΅λ‹ˆλ‹€. 이둜 인해 APM 데이터 μˆ˜μ§‘μ΄ μ€‘λ‹¨λ©λ‹ˆλ‹€.

영ν–₯을 λ°›λŠ” PHP μ—μ΄μ „νŠΈ νŒ¨ν‚€μ§€λŠ” λ‹€μŒκ³Ό κ°™μŠ΅λ‹ˆλ‹€.

  • newrelic-php5
  • newrelic-php5-common
  • newrelic 데λͺ¬

March 19
PHP agent v11.7.0.21

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

μ€‘μš”

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

February 18
PHP agent v11.6.0.19

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

μ€‘μš”

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

January 13
PHP agent v11.5.0.18

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

μ€‘μš”

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

December 9, 2024
PHP agent v11.4.0.17

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.

μ€‘μš”

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

October 21, 2024
PHP agent v11.3.0.16

New Relic PHP agent v11.3.0.16

New Features

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.

μ€‘μš”

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

September 30, 2024
PHP agent v11.2.0.15

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.

μ€‘μš”

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