From e887f258037dbe51b5841aa7d1ed259505805ecd Mon Sep 17 00:00:00 2001 From: Victor Boucher Date: Tue, 6 Sep 2022 14:44:27 +0200 Subject: [PATCH 1/3] docs: update script version history --- docs/basic-features/script.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/basic-features/script.md b/docs/basic-features/script.md index 33df31800f4..2426ea88fd9 100644 --- a/docs/basic-features/script.md +++ b/docs/basic-features/script.md @@ -19,10 +19,11 @@ description: Next.js helps you optimize loading third-party scripts with the bui
Version History -| Version | Changes | -| --------- | ------------------------- | -| `v12.2.4` | `onReady` prop added. | -| `v11.0.0` | `next/script` introduced. | +| Version | Changes | +| --------- | ----------------------------------------------------- | +| `v12.2.4` | `onReady` prop added. | +| `v12.2.2` | Allow `next/script` to be placed in `_document` body. | +| `v11.0.0` | `next/script` introduced. |
From fc47085ff7531a47d9529831f133d5f350c8f940 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Mon, 12 Sep 2022 17:52:48 -0700 Subject: [PATCH 2/3] Apply suggestions from code review --- docs/basic-features/script.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/basic-features/script.md b/docs/basic-features/script.md index 2426ea88fd9..1a33a2489a7 100644 --- a/docs/basic-features/script.md +++ b/docs/basic-features/script.md @@ -22,7 +22,7 @@ description: Next.js helps you optimize loading third-party scripts with the bui | Version | Changes | | --------- | ----------------------------------------------------- | | `v12.2.4` | `onReady` prop added. | -| `v12.2.2` | Allow `next/script` to be placed in `_document` body. | +| `v12.2.2` | Allow `next/script` with `beforeInteractive` to be placed in `_document`. | | `v11.0.0` | `next/script` introduced. | From d950a260248063f94c6dd0e05390f7678719124f Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Mon, 12 Sep 2022 17:59:24 -0700 Subject: [PATCH 3/3] lint-fix --- docs/basic-features/script.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/basic-features/script.md b/docs/basic-features/script.md index 1a33a2489a7..0f92fad1c3d 100644 --- a/docs/basic-features/script.md +++ b/docs/basic-features/script.md @@ -19,11 +19,11 @@ description: Next.js helps you optimize loading third-party scripts with the bui
Version History -| Version | Changes | -| --------- | ----------------------------------------------------- | -| `v12.2.4` | `onReady` prop added. | +| Version | Changes | +| --------- | ------------------------------------------------------------------------- | +| `v12.2.4` | `onReady` prop added. | | `v12.2.2` | Allow `next/script` with `beforeInteractive` to be placed in `_document`. | -| `v11.0.0` | `next/script` introduced. | +| `v11.0.0` | `next/script` introduced. |