Notes
버그 수정
- 중복
uncaughtException핸들러 등록을 방지하기 위해 첫 번째 NrTransport에handleExceptions을(를) 할당하도록winston계측된을 업데이트했습니다(#4108) (d60a48d)- 더 이상 사용되지 않는 로거의
NrTransport객체가 전역process.on('uncaughtException')핸들러로 인해 해제되지 않기 때문에 선형 메모리 누수가 발생합니다
- 더 이상 사용되지 않는 로거의
선적 서류 비치
통합 연결
- 네이티브 버전 제품군이 Node 22에서 빌드되도록 CI npm을 11로 고정했습니다(#4114)(b844e94)
- 8분 버전 지정 샤드 시간 초과 제거 (#4111) (0ef6374)
- memcached CI 문제를 다시 수정하려고 시도했습니다(#4098)(f67fef5)
- CI 러너 간 버전 지정 테스트 샤딩 (#4101) (1471734)
테스트
- 하이브리드 에이전트 계측 사용을 권장하는 패키지에서 테스트 대상 버전을 줄이기 위해 prisma 및 next에
samples추가 (#4112) (7d8bd7c) - 실행 중인 제품군의
node_modules에서grpcproto-loader해결(#4110)(5b5a9f8)
지지 성명:
최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 90일 이내 버전으로 업데이트하세요. 에이전트에게 최신 정보를 제공하는 방법에 대해 자세히 알아보세요. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
에이전트 릴리스 및 지원 날짜에 대한 정보는 뉴렐릭 Node.js 에이전트 EOL 정책을 참조하세요. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
Notes
특징
- Node.js 26 지원 추가 (#4084) (4a7f777)
CpuProfiler샘플 데이터에span_id및trace_id레이블 추가 (#4049) (c2b1737)K_REVISION을(를) 포함하도록 새로운 GCP Cloud Run 호스트명 로직을 추가했습니다 (#4069) (02855dc)profiling.source_mapping.enabled구성 옵션 추가 (#4090) (43add80)- 발신
tracestate헤더에서spanId제거 (#4091) (40a8bf1)
코드 리팩토링
선적 서류 비치
잡일
통합 연결
- node-version에
lts/*을(를) 사용하도록release-creation업데이트 (#4080) (7eaed22) - 최신 버전의 node를 가져오도록
check-latest을(를) 포함하여setup-node작업 업데이트 (#4079) (4a425f6)
지지 성명:
최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 90일 이내 버전으로 업데이트하세요. 에이전트에게 최신 정보를 제공하는 방법에 대해 자세히 알아보세요. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
에이전트 릴리스 및 지원 날짜에 대한 정보는 뉴렐릭 Node.js 에이전트 EOL 정책을 참조하세요. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
Notes
선적 서류 비치
잡일
- OTEL 메트릭에 프록시 설정 지원을 추가했습니다(#4041) (6c04b8a)
- OTEL 메트릭 내보내기에 지원 가능성 메트릭을 추가했습니다(#4051) (db6e4e3)
@opentelemetry0.x패키지의 최소 버전을^0.219.0(으)로 업데이트했습니다(#4065) (3f58ad0)
지지 성명:
최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 90일 이내 버전으로 업데이트하세요. 에이전트에게 최신 정보를 제공하는 방법에 대해 자세히 알아보세요. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
에이전트 릴리스 및 지원 날짜에 대한 정보는 뉴렐릭 Node.js 에이전트 EOL 정책을 참조하세요. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
Notes
특징
버그 수정
코드 리팩토링
@hapi/hapi및@hapi/vision을(를) 구독자 기반으로 마이그레이션 (#3995) (54c60a8)- 발생한 이벤트를 구독하도록
koa계측을 리팩터링했습니다 (#4016) (e1f6c27) - 이전에 저장된 오류가 있는 경우에만 오류를 처리된 것으로 표시하도록 MiddlewareWrapper
maybeHandleError을(를) 업데이트했습니다 (#4032) (1b21cc8)
선적 서류 비치
- 계측이 에이전트에 병합됨에 따라
@newrelic/apollo-server-plugin에 대한 링크를 제거했습니다 (#4003) (9afd9cb) apollo-server문서를 문서 웹사이트로 이동했습니다 (#3994) (11ca2ae)- 호환성 보고서 업데이트 (#4028) (b16ad6e) (#4014) (3efa1ff) (#4002) (33a8236)
잡일
업데이트된 종속성
- 사용하지 않는 개발 종속성 제거(#4005) (e00f7d3)
@apm-js-collab/tracing-hooks을(를)0.9.1(으)로 업데이트했습니다 (#4043) (f05e5d4)commander을(를) 최신 버전으로 업데이트했습니다 (#4021) (83b1d58)nock을(를) 최신 버전으로 업데이트했습니다 (#4022) (9bf79ab)sinon을(를) 최신 버전으로 업데이트했습니다 (#4020) (0ced304)protobufjs을(를) 최신 버전으로 업데이트했습니다 (#4006) (45c61f3)glob을(를) 13으로 업그레이드했습니다 (#4008) (3053545)got및rimraf을(를) 최신 버전으로 업그레이드했습니다 (#4007) (b967593)
테스트
- AWS 테스트 에이전트 설정이 smithy >=4.7.3에서 작동하도록 안정적인
http.requestshim 추가 (#4010) (c5fd80a) - 자체 서명된 인증서 및
undici.Agent사용 시 동작을 확인하는 undici 버전 테스트를 추가했습니다 (#4026) (27507bc) >=4.1.4을(를) 테스트하도록mongodb-esm테스트 리팩터링 (#4023) (d85767f)glob에 대한 의존성을 제거하고fs.glob(으)로 대체했습니다 (#4019) (204f124)- 버전 <5.2.0에서는 지원되지 않으므로 사용자 지정 디스패처 사용을 건너뛰도록 undici.Agent 버전별 테스트를 업데이트했습니다 (#4029) (08cd079)
지지 성명:
최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 90일 이내 버전으로 업데이트하세요. 에이전트에게 최신 정보를 제공하는 방법에 대해 자세히 알아보세요. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
에이전트 릴리스 및 지원 날짜에 대한 정보는 뉴렐릭 Node.js 에이전트 EOL 정책을 참조하세요. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
Notes
⚠ BREAKING CHANGES
This version of the Node.js agent is a SemVer MAJOR update and contains the following breaking changes. MAJOR versions may drop support for language runtimes that have reached End-of-Life according to the maintainer. Additionally, MAJOR versions may drop support for and remove certain instrumentation. For more details on these changes please see the migration guide.
- Dropped support for Node.js 20
- Migrated
@apollo/severinstrumentation from a plugin(@newrelic/apollo-server-plugin) to traditional instrumentation - Removed Cross Application Tracing(CAT) functionality
- Removed support for License, Application, and Security Policies(LASP)
- Removed instrumentation for
koa-route - Removed instrumentation for
koa-router - Removed
shim.prefixRouteParametersas the logic was previously moved to when a transaction ends - Removed creating
MySQL Pool#querysegments - Removed
shim.argsToArray - Updated minimum supported version of
@nestjs/cliand@nestjs/coreto10.0.0 - Updated minimum supported version of
nextto 14 - Updated minimum supported version of
bluebirdto3.0.0 - Updated minimum supported version of
mysql2to3.0.0 - Updated minimum supported version for
cassandra-driverto4.0.0 - Dropped support for
fastify3.x - Updated
config.distributed_tracing.exclude_newrelic_headerto be set totrueby default
Features
- Dropped support for
fastify3.x (#3980) (720979b) - Dropped support for Node.js 20 (#3980) (5306223)
- Migrated
@apollo/severinstrumentation from a plugin(@newrelic/apollo-server-plugin) to traditional instrumentation (#3980) (736e0a4) - Removed
shim.argsToArray(#3980) (9183d29) - Removed
shim.prefixRouteParametersas the logic was previously moved to when a transaction ends (#3980) (9f1408e) - Removed creating
MySQL Pool#querysegments (#3980) (1d5a6dd) - Removed Cross Application Tracing(CAT) functionality (#3980) (a87ed4d)
- Removed instrumentation for
koa-route(#3980) (40c10d9) - Removed instrumentation for
koa-router(#3980) (038ecc7) - Removed support for License, Application, and Security Policies(LASP) (#3980) (bc09485)
- Updated
config.distributed_tracing.exclude_newrelic_headerto be set totrueby default (#3980) (774ce08) - Updated minimum supported version for
cassandra-driverto4.0.0(#3980) (419337a) - Updated minimum supported version of
@nestjs/cliand@nestjs/coreto10.0.0(#3980) (120e6de) - Updated minimum supported version of
bluebirdto3.0.0(#3980) (369f920) - Updated minimum supported version of
mysql2to3.0.0(#3980) (2861406) - Updated minimum supported version of
nextto 14 (#3980) (80c5c0c)
Code refactoring
- Updated how exclusive time and trace total time is calculated (#3980) (b227ed6)
- Updated instances of
tracer.bindFunctionwithtracer.runInContextto improve performance in hot paths (#3811) (5d77085)
Documentation
Miscellaneous chores
- Removed
huskyin lieu of git hooks, added security hardened options tonpm install(#3988) (e3a7dda) - Updated production dependencies to the latest (#3996) (b710bac)
Tests
- Added
minSupportedto the nest js versioned tests package.json to ensure the compatibility report will show we support@nestjs/core(#3982) (bfa4aa1) - Added prisma 7 tests (#3980) (116ee9c)
- Moved versioned test runner code from
@newrelic/test-utiltiesto agent (#3980) (d4f9a0c) - Removed
@newrelic/test-utilities(#3980) (1751147) - Decrease smoke-like esm tests' sample size (#3986) (40669fb)
- Fixed
test/lib/get-package-version.js(#3993) (5d31f08) - Fixed version lookup issue in aws-sdk-v3 tests (#3992) (7be3f4a)
- Restructure
aws-sdk-v3test runner to usegroupedDependencies(#3984) (fc67490) - Updated a few versioned test stanzas to reduce the number of combinations it runs (#3991) (d606305)
Continuous integration
- Added
contents: writetopost-releaseto allow commit/push of api docs (#3978) (90c4e61) - Updated remaining actions so they are running on Node 24 (#3980) (ea21934)
- Updated version of
actions/download-artifactto v8 (#3980) (54a58b9) - Updated versions of actions to ensure they are running on node 24 (#3980) (6302002)
Support statement:
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)