diff --git a/NEWS.md b/NEWS.md index 1784c138d0..a7483391a6 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,42 @@ +### v12.0.0 (2024-07-31) +#### ⚠ BREAKING CHANGES + +* Dropped support for Node.js 16 +* Removed legacy context manager +* Removed support for `redis` < 2.6.0 +* Removed instrumentation for `director` +* Updated `mongodb` instrumentation to drop support for versions 2 and 3 + +#### Features + +* Dropped support for Node.js 16 ([#2394](https://github.com/newrelic/node-newrelic/pull/2394)) ([1870010](https://github.com/newrelic/node-newrelic/commit/1870010a1d7dc417fc03ae526a9709e382b3fe1f)) +* Removed legacy context manager ([#2404](https://github.com/newrelic/node-newrelic/pull/2404)) ([321244c](https://github.com/newrelic/node-newrelic/commit/321244c357bc5dd9b4aeefc308cda5e80b8012b0)) +* Removed support for `redis` < 2.6.0 ([#2405](https://github.com/newrelic/node-newrelic/pull/2405)) ([e2c0a31](https://github.com/newrelic/node-newrelic/commit/e2c0a31b5230e0ffbdc3d4567619190570b7167c)) +* Removed instrumentation for `director` ([#2402](https://github.com/newrelic/node-newrelic/pull/2402)) ([1b355e7](https://github.com/newrelic/node-newrelic/commit/1b355e733aef0e14c5f4cb2899642a3d5b6f18ce)) +* Added `server.address` to amqplib spans ([#2406](https://github.com/newrelic/node-newrelic/pull/2406)) ([09636a4](https://github.com/newrelic/node-newrelic/commit/09636a4ce90969e7aea229ef008bd35f57e09217)) +* Updated `mongodb` instrumentation to drop support for versions 2 and 3 ([#2398](https://github.com/newrelic/node-newrelic/pull/2398)) ([a0ae32a](https://github.com/newrelic/node-newrelic/commit/a0ae32a6a61112e0473d477075543485d02313cf)) +* Migrated instrumentation for `next` into agent ([#2409](https://github.com/newrelic/node-newrelic/pull/2409)) ([b55d8e1](https://github.com/newr elic/node-newrelic/commit/b55d8e1ca09e6055ea09f4fcd773a05245e7203f)) + * You no longer need to load Next.js instrumentation via `@newrelic/next`. + * Instead you must load the agent via `NODE_OPTIONS='-r newrelic' next start` + +#### Documentation + +* Updated compatibility report ([#2401](https://github.com/newrelic/node-newrelic/pull/2401)) ([a53085d](https://github.com/newrelic/node-newrelic/commit/a53085ddce2f2d7a4c9288fbf63fbf82436fb15f)) + +#### Miscellaneous chores + +* Added test configs for defined targets in the aws test suite ([#2403](https://github.com/newrelic/node-newrelic/pull/2403)) ([cf514d9](https://github.com/newrelic/node-newrelic/commit/cf514d97b82889b14a342cbded630bae73992c35)) +* Added producer and consumer metrics to kafkajs instrumentation ([#2407](https://github.com/newrelic/node-newrelic/pull/2407)) ([41c1cc6](https://github.com/newrelic/node-newrelic/commit/41c1cc6d9815a1b89a7ab043b5da5f032969a87e)) +* Switched to using Node built-in test runner ([#2387](https://github.com/newrelic/node-newrelic/pull/2387)) ([b9f64b7](https://github.com/newrelic/node-newrelic/commit/b9f64b76b8777fc790a4694a95318f401a56abdd)) +* Updated `@newrelic/native-metrics` to 11.0.0 ([#2412](https://github.com/newrelic/node-newrelic/pull/2412)) ([aef69e2](https://github.com/newrelic/node-newrelic/commit/aef69e28cc3ead2079cfc0bdf9bde74129a3711f)) +* Updated dashboard links in developer-setup.md ([#2397](https://github.com/newrelic/node-newrelic/pull/2397)) ([16866da](https://github.com/newrelic/node-newrelic/commit/16866da381366ad848ea06be44fd838d57c9fb67)) +* Verified MySQL host:port metric is recorded ([#2400](https://github.com/newrelic/node-newrelic/pull/2400)) ([74176f7](https://github.com/newrelic/node-newrelic/commit/74176f77f70247a3cf65b1b49c5414279b4eeca6)) + +#### Tests + +* Removed mongodb-esm tests as they are not atomic and conflicting with mongodb tests in CI ([#2416](https://github.com/newrelic/node-newrelic/pull/2416)) ([e587b9d](https://github.com/newrelic/node-newrelic/commit/e587b9dcb795cca3c29c6e0da18770401c3085a0)) +* Updated minimum version of lesser used versions of 3rd party libraries ([#2399](https://github.com/newrelic/node-newrelic/pull/2399)) ([ef8c006](https://github.com/newrelic/node-newrelic/commit/ef8c00674c22b4794c6cee823d46ad9db7d67fed)) + ### v11.23.2 (2024-07-22) #### Features diff --git a/changelog.json b/changelog.json index dcdf1f863f..3379061a26 100644 --- a/changelog.json +++ b/changelog.json @@ -1,6 +1,24 @@ { "repository": "newrelic/node-newrelic", "entries": [ + { + "version": "12.0.0", + "changes": { + "security": [ + ], + "bugfixes": [ + ], + "features": [ + "Added `server.address` to amqplib spans", + "Removed support for `redis` < 2.6.0", + "Removed legacy context manager", + "Removed instrumentation for `director`", + "Updated `mongodb` instrumentation to drop support for versions 2 and 3", + "Dropped support for Node.js 16", + "Migrated instrumentation for `next` into agent" + ] + } + }, { "version": "11.23.2", "changes": { diff --git a/package.json b/package.json index 9686cbbf33..d2b434184d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "newrelic", - "version": "11.23.2", + "version": "12.0.0", "author": "New Relic Node.js agent team ", "license": "Apache-2.0", "contributors": [