Releases: newrelic/newrelic-node-nextjs
v0.10.0
Features
- Added support for Node 22
Documentation
- Added FAQs to assist with common issues with next.js instrumentation (#190) (9a44d17)
- updated FAQs and README with app router examples (#192) (ea20b76)
- Updated targets to include minimum agent version for compatibility repo (#189) (92bc602)
- Added missing quotation mark in faq docs (#202) (db92086)
Miscellaneous chores
- Added Node 22 to CI (#193) (4a449c8)
- Updated minimum versions of dev dependencies(#203) (e3b832c) (#204) (a81fd04)(#206) (31098b1)
- Enabled quiet mode for CI runs (#188) (b0b1c6a)
- Made pre-commit hook require dependency changes (#191) (d4e2a72)
Tests
Continuous integration
- Removed
use_new_release
input from prepare release workflow (#186) (640500e) - removed changelog.json file (#185) (e5fa205)
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/)
v0.9.0
Features
- Added a shim to externalize all 3rd party libraries the Node.js agent instruments (#175) (127e3c0)
- Added a test suite for App Router. (#176) (e7bc0db)
Miscellaneous chores
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/)
v0.8.0
- Updated instrumentation to construct spec objects at instrumentation.
- Fixed instrumentation to only pass in route parameters to be added to Next.js segments.
- Updated minimum version of agent to 11.12.0.
- Updated dev deps
follow-redirects
,@babel/traverse
to fix bugs and CVEs
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/)
v0.7.0
-
Updated the module path to properly instrument Next.js with
require-in-the-middle
. -
Updated minimum version of peer dependency
newrelic
to>=11.0.0
to ensure the new path to Next.js server instrumentation will work. -
Updated the contributing docs.
-
Updated versioned test helper to handle next@13.4.15 changes.
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/)
v0.6.0
- BREAKING - Dropped support for Node 14.
- Added support for Node 20.
- Updated instrumentation to no longer record spans for middleware execution. Middleware instrumentation is now recorded only for Next.js 12.2.0-13.4.12.
- Updated instrumentation for api requests to properly extract the params and page.
- Updated CI to run against versions 16-20.
- Updated
semver
,word-wrap
,protobuf
,fast-xml-parser
, and@aws-sdk/client-lambda
to resolve CVEs.
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/)
v0.5.2
-
Fixed Next.js
getServerSideProps
instrumentation to register viarenderToResponseWithComponents
instead ofrenderHTML
-
Updated README links to point to new forum link due to repolinter ruleset change
Support statement:
- New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
v0.5.1
- Updated instrumentation to work in versions >= 13.3.1 as the methods we try to wrap no longer have setters.
Support statement:
- New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
v0.5.0
-
BREAKING - Route (URL) parameters are now stored as
request.parameters.route.*
attributes on Transactions -
Updated README header image to latest OSS office required images
-
Bumped json5 from 2.2.1 to 2.2.3.
-
Added lockfile checks to CI workflow to prevent malicious changes
Support statement:
- New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
v0.4.0
-
Added ability to capture code level metrics attributes for middleware,
getServerSideProps
functions, and API handlers.- This will require customers to use New Relic Node.js version >= 9.7.1.
- Please note that the integration with CodeStream is not finished. A future release of agent will enable code level metrics by default.
-
Updated versioned tests to include v13 of Next.js.
Support statement:
- New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
v0.3.1
-
Updated newrelic peer dependency to be >= 8.14.0. This makes the hasToRemoveScriptWrapper property available for api.getBrowserTimingHeader.
Thanks for your contribution @siuvdlec!
-
Updated injecting browser agent snippet in both README and docs.
-
Updated example application to include the browser agent snippet and README to using example project.
-
Removed browser agent injection test from versioned tests
Support statement:
- New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.