From 43c09b16ae09d88f91e88949bdbc78f18eab5bb1 Mon Sep 17 00:00:00 2001 From: mrickard Date: Wed, 27 Jul 2022 19:49:56 +0000 Subject: [PATCH 1/4] Setting version to v0.3.0. --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index ae36609..7d9ae40 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@newrelic/next", - "version": "0.2.0", + "version": "0.3.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@newrelic/next", - "version": "0.2.0", + "version": "0.3.0", "license": "Apache-2.0", "dependencies": { "semver": "^7.3.7" diff --git a/package.json b/package.json index 5651ec5..f09df43 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@newrelic/next", - "version": "0.2.0", + "version": "0.3.0", "description": "Next.js instrumentation for the New Relic Node.js agent. ", "main": "index.js", "scripts": { From 9b80c9a1423a7e16a9282df6210c7ca4c8bb652a Mon Sep 17 00:00:00 2001 From: mrickard Date: Wed, 27 Jul 2022 19:49:58 +0000 Subject: [PATCH 2/4] Adds auto-generated release notes. --- CHANGELOG.md | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cfea1ff..8f99056 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,93 @@ +### v0.3.0 (2022-07-27) + +* Dropped support for Node 12 + * Dropped 12 from engines in project and versioned tests. + +* Updated CI to run for Node versions 14-18. + +--- NOTES NEEDS REVIEW --- +Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4. +
+Changelog +

Sourced from moment's changelog.

+
+

2.29.4

+
    +
  • Release Jul 6, 2022 +
      +
    • #6015 [bugfix] Fix ReDoS in preprocessRFC2822 regex
    • +
    +
  • +
+

2.29.3 Full changelog

+
    +
  • Release Apr 17, 2022 +
      +
    • #5995 [bugfix] Remove const usage
    • +
    • #5990 misc: fix advisory link
    • +
    +
  • +
+
+
+
+Commits + +
+
+ + +[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=moment&package-manager=npm_and_yarn&previous-version=2.29.2&new-version=2.29.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) + +Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. + +[//]: # (dependabot-automerge-start) +[//]: # (dependabot-automerge-end) + +--- + +
+Dependabot commands and options +
+ +You can trigger Dependabot actions by commenting on this PR: +- `@dependabot rebase` will rebase this PR +- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it +- `@dependabot merge` will merge this PR after your CI passes on it +- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it +- `@dependabot cancel merge` will cancel a previously requested merge and block automerging +- `@dependabot reopen` will reopen this PR if it is closed +- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually +- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) +- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) +- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) +- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language +- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language +- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language +- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language + +You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/newrelic/newrelic-node-nextjs/network/alerts). + +
+-------------------------- + +* Updated `README` and segment/span docs to call out middleware behavior in the plugin. + * Middleware is now stable in Next.js as of 12.2.0, the plugin only supports 12.2.0+. + +* Updated sample app to use `http.get` instead of `fetch` to make subrequests to API to avoid async context propogation breakage in Node 18. + ### v0.2.0 (2022-07-05) * **BREAKING**: Fixed instrumentation to only support middleware in `>=12.2.0` of Next.js From 2544edd0bdd0578d2eac093ba7cc34b0c87b57d0 Mon Sep 17 00:00:00 2001 From: Maurice Rickard Date: Wed, 27 Jul 2022 16:19:34 -0400 Subject: [PATCH 3/4] Updated CHANGELOG.md Removing audit-bot cruft --- CHANGELOG.md | 154 ++++++++++++++------------------------------------- 1 file changed, 43 insertions(+), 111 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f99056..f92f456 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,112 +1,44 @@ -### v0.3.0 (2022-07-27) - -* Dropped support for Node 12 - * Dropped 12 from engines in project and versioned tests. - -* Updated CI to run for Node versions 14-18. - ---- NOTES NEEDS REVIEW --- -Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4. -
-Changelog -

Sourced from moment's changelog.

-
-

2.29.4

-
    -
  • Release Jul 6, 2022 -
      -
    • #6015 [bugfix] Fix ReDoS in preprocessRFC2822 regex
    • -
    -
  • -
-

2.29.3 Full changelog

-
    -
  • Release Apr 17, 2022 -
      -
    • #5995 [bugfix] Remove const usage
    • -
    • #5990 misc: fix advisory link
    • -
    -
  • -
-
-
-
-Commits - -
-
- - -[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=moment&package-manager=npm_and_yarn&previous-version=2.29.2&new-version=2.29.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) - -Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. - -[//]: # (dependabot-automerge-start) -[//]: # (dependabot-automerge-end) - ---- - -
-Dependabot commands and options -
- -You can trigger Dependabot actions by commenting on this PR: -- `@dependabot rebase` will rebase this PR -- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it -- `@dependabot merge` will merge this PR after your CI passes on it -- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it -- `@dependabot cancel merge` will cancel a previously requested merge and block automerging -- `@dependabot reopen` will reopen this PR if it is closed -- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language -- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language -- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language -- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - -You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/newrelic/newrelic-node-nextjs/network/alerts). - -
--------------------------- - -* Updated `README` and segment/span docs to call out middleware behavior in the plugin. - * Middleware is now stable in Next.js as of 12.2.0, the plugin only supports 12.2.0+. - -* Updated sample app to use `http.get` instead of `fetch` to make subrequests to API to avoid async context propogation breakage in Node 18. - -### v0.2.0 (2022-07-05) - +### v0.3.0 (2022-07-27) + +## Proposed Release Notes + +* **BREAKING** Removed support for Node 12. + +The minimum supported version is now Node v14. For further information on our support policy, see: https://docs.newrelic.com/docs/agents/nodejs-agent/getting-started/compatibility-requirements-nodejs-agent. + +* Added support for Node 18.x + +* Updated sample app to use `http.get` instead of `fetch` to make subrequests to API to avoid async context propagation breakage in Node 18. + +## Links + +* PR: https://github.com/newrelic/newrelic-node-nextjs/pull/80 +* PR: https://github.com/newrelic/newrelic-node-nextjs/pull/78 +* PR: https://github.com/newrelic/newrelic-node-nextjs/pull/75 +* PR: https://github.com/newrelic/newrelic-node-nextjs/pull/77 +* PR: https://github.com/newrelic/newrelic-node-nextjs/pull/73 +* PR: https://github.com/newrelic/newrelic-node-nextjs/pull/76 + + +### v0.2.0 (2022-07-05) + * **BREAKING**: Fixed instrumentation to only support middleware in `>=12.2.0` of Next.js - * Next.js has made middleware [stable](https://nextjs.org/docs/advanced-features/middleware). - * All attempts in `@newrelic/next` to track middleware before 12.2.0 have been removed. - -* Added an additional path to register `next-server` when running a Next.js app with a standalone server. - -* Updated dev-dependencies to clear security audit warnings. - -### v0.1.1 (2022-04-04) - -* Added support for middleware in > 12.1.1 of Next.js. The return of `getModuleContext` is now an async function. - -* Fixed a few small documentation items. - -### v0.1.0 (2022-03-01) - * Initial release of the Node.js Next.js instrumentation. - * Transaction naming based on Next.js page or API route. - * Segment/Span capture for middleware, and getServerSideProps. - * Documentation around manually injecting the New Relic browser agent. - * Verified support on Next.js >= 12.0.9 + * Next.js has made middleware [stable](https://nextjs.org/docs/advanced-features/middleware). + * All attempts in `@newrelic/next` to track middleware before 12.2.0 have been removed. + +* Added an additional path to register `next-server` when running a Next.js app with a standalone server. + +* Updated dev-dependencies to clear security audit warnings. + +### v0.1.1 (2022-04-04) + +* Added support for middleware in > 12.1.1 of Next.js. The return of `getModuleContext` is now an async function. + +* Fixed a few small documentation items. + +### v0.1.0 (2022-03-01) + * Initial release of the Node.js Next.js instrumentation. + * Transaction naming based on Next.js page or API route. + * Segment/Span capture for middleware, and getServerSideProps. + * Documentation around manually injecting the New Relic browser agent. + * Verified support on Next.js >= 12.0.9 From 508bcc14910c6b1b35be7d56325a3eb5188116b3 Mon Sep 17 00:00:00 2001 From: Maurice Rickard Date: Wed, 27 Jul 2022 17:03:15 -0400 Subject: [PATCH 4/4] Updated CHANGELOG.md Removed PR links from changelog --- CHANGELOG.md | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f92f456..f80b4ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,5 @@ ### v0.3.0 (2022-07-27) -## Proposed Release Notes - * **BREAKING** Removed support for Node 12. The minimum supported version is now Node v14. For further information on our support policy, see: https://docs.newrelic.com/docs/agents/nodejs-agent/getting-started/compatibility-requirements-nodejs-agent. @@ -10,16 +8,6 @@ The minimum supported version is now Node v14. For further information on our su * Updated sample app to use `http.get` instead of `fetch` to make subrequests to API to avoid async context propagation breakage in Node 18. -## Links - -* PR: https://github.com/newrelic/newrelic-node-nextjs/pull/80 -* PR: https://github.com/newrelic/newrelic-node-nextjs/pull/78 -* PR: https://github.com/newrelic/newrelic-node-nextjs/pull/75 -* PR: https://github.com/newrelic/newrelic-node-nextjs/pull/77 -* PR: https://github.com/newrelic/newrelic-node-nextjs/pull/73 -* PR: https://github.com/newrelic/newrelic-node-nextjs/pull/76 - - ### v0.2.0 (2022-07-05) * **BREAKING**: Fixed instrumentation to only support middleware in `>=12.2.0` of Next.js