From 39ebce12c340cf00e50ba564fa605a9fb61d69ce Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 31 Oct 2025 17:19:50 +0000 Subject: [PATCH] fix: update outdated plugin upgrade instructions Co-authored-by: philippe.serhal --- .../build/src/log/messages/compatibility.ts | 4 ++-- .../tests/plugins_list/snapshots/tests.js.md | 22 +++++++++--------- .../plugins_list/snapshots/tests.js.snap | Bin 4556 -> 4571 bytes 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/build/src/log/messages/compatibility.ts b/packages/build/src/log/messages/compatibility.ts index b2d618e72c..40a730d5fb 100644 --- a/packages/build/src/log/messages/compatibility.ts +++ b/packages/build/src/log/messages/compatibility.ts @@ -140,10 +140,10 @@ const getUpgradeInstruction = function (loadedFrom, origin) { } if (origin === 'ui') { - return 'To upgrade this plugin, please uninstall and re-install it from the Netlify plugins directory (https://app.netlify.com/plugins)' + return 'To upgrade this plugin, go to Project Configuration > Build & deploy > Build settings in your site dashboard' } - return 'To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)' + return 'To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead' } // Print a warning message when plugins are using a version that is too recent diff --git a/packages/build/tests/plugins_list/snapshots/tests.js.md b/packages/build/tests/plugins_list/snapshots/tests.js.md index 54f6d4b033..66fda061f9 100644 --- a/packages/build/tests/plugins_list/snapshots/tests.js.md +++ b/packages/build/tests/plugins_list/snapshots/tests.js.md @@ -935,7 +935,7 @@ Generated by [AVA](https://avajs.dev). ␊ > Outdated plugins␊ - netlify-plugin-contextual-env 0-1-0: latest version is 0-3-0␊ - To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)␊ + To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead␊ ␊ netlify-plugin-contextual-env (onPreBuild event) ␊ ────────────────────────────────────────────────────────────────␊ @@ -997,7 +997,7 @@ Generated by [AVA](https://avajs.dev). ␊ > Outdated plugins␊ - netlify-plugin-contextual-env 0-1-0: latest version is 0-3-0␊ - To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)␊ + To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead␊ ␊ netlify-plugin-contextual-env (onPreBuild event) ␊ ────────────────────────────────────────────────────────────────␊ @@ -1059,7 +1059,7 @@ Generated by [AVA](https://avajs.dev). ␊ > Outdated plugins␊ - netlify-plugin-contextual-env 0-2-0: latest version is 0-3-0␊ - To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)␊ + To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead␊ ␊ netlify-plugin-contextual-env (onPreBuild event) ␊ ────────────────────────────────────────────────────────────────␊ @@ -1121,7 +1121,7 @@ Generated by [AVA](https://avajs.dev). ␊ > Outdated plugins␊ - netlify-plugin-contextual-env 0-2-0: latest version is 0-3-0␊ - To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)␊ + To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead␊ ␊ netlify-plugin-contextual-env (onPreBuild event) ␊ ────────────────────────────────────────────────────────────────␊ @@ -1183,7 +1183,7 @@ Generated by [AVA](https://avajs.dev). ␊ > Outdated plugins␊ - netlify-plugin-contextual-env 0-2-0: latest version is 0-3-0␊ - To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)␊ + To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead␊ ␊ netlify-plugin-contextual-env (onPreBuild event) ␊ ────────────────────────────────────────────────────────────────␊ @@ -1304,7 +1304,7 @@ Generated by [AVA](https://avajs.dev). > Outdated plugins␊ - netlify-plugin-contextual-env 0-1-0: latest version is 0-3-0␊ Migration guide: http://test.com␊ - To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)␊ + To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead␊ ␊ netlify-plugin-contextual-env (onPreBuild event) ␊ ────────────────────────────────────────────────────────────────␊ @@ -1366,7 +1366,7 @@ Generated by [AVA](https://avajs.dev). ␊ > Outdated plugins␊ - netlify-plugin-contextual-env 0-2-0: latest version is 0-3-0␊ - To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)␊ + To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead␊ ␊ netlify-plugin-contextual-env (onPreBuild event) ␊ ────────────────────────────────────────────────────────────────␊ @@ -1602,7 +1602,7 @@ Generated by [AVA](https://avajs.dev). ␊ > Outdated plugins␊ - netlify-plugin-contextual-env 0-2-0: latest version is 0-3-0␊ - To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)␊ + To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead␊ ␊ netlify-plugin-contextual-env (onPreBuild event) ␊ ────────────────────────────────────────────────────────────────␊ @@ -1664,7 +1664,7 @@ Generated by [AVA](https://avajs.dev). ␊ > Outdated plugins␊ - netlify-plugin-contextual-env 0-2-0: latest version is 0-3-0␊ - To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)␊ + To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead␊ ␊ netlify-plugin-contextual-env (onPreBuild event) ␊ ────────────────────────────────────────────────────────────────␊ @@ -2558,7 +2558,7 @@ Generated by [AVA](https://avajs.dev). ␊ > Outdated plugins␊ - netlify-plugin-contextual-env 0-3-0: latest version is 1-0-0␊ - To upgrade this plugin, please uninstall and re-install it from the Netlify plugins directory (https://app.netlify.com/plugins)␊ + To upgrade this plugin, go to Project Configuration > Build & deploy > Build settings in your site dashboard␊ ␊ netlify-plugin-contextual-env (onPreBuild event) ␊ ────────────────────────────────────────────────────────────────␊ @@ -2621,7 +2621,7 @@ Generated by [AVA](https://avajs.dev). ␊ > Outdated plugins␊ - netlify-plugin-contextual-env 0-3-0: latest version is 1-0-0␊ - To upgrade this plugin, please uninstall and re-install it from the Netlify plugins directory (https://app.netlify.com/plugins)␊ + To upgrade this plugin, go to Project Configuration > Build & deploy > Build settings in your site dashboard␊ ␊ netlify-plugin-contextual-env (onPreBuild event) ␊ ────────────────────────────────────────────────────────────────␊ diff --git a/packages/build/tests/plugins_list/snapshots/tests.js.snap b/packages/build/tests/plugins_list/snapshots/tests.js.snap index 28839faa404018abf5353ee363ad9c943aded14c..d626a23034f119556bbbe73e59b6c2434cc411f9 100644 GIT binary patch literal 4571 zcmV<15hU(GRzVbDX8n@vinn)&i1K{1fM7yRm z_S<{yJ$=Xhi1cLxAf(;2-vO1Rv;mONSV*Qsa{5#V)q$7_U&CorILBw97as4 z-5z_P(uB(0V-m6O(0-u-pznPWE7@u2QnlZC#H9K#i8^4C+La8*usj>GTBeu|D)zL>EYD*OqTviD9IZeM+T> zj%f&iNxuPLQnba8b|WSS3l;1rl_v@7Gv0xa_DCA(VzdclztsZ9<5bBGynNNj-fdyO zG0K`rElarr_DNb2X*BglEwct6wYAVk|JeTvg2%bwRxySQ(!PW%N$k%nc09{^) zPmjzkK0Eh>>BFY;Q50AYM5;ofDm%QtQzB}N9bONJdYIRj?`S>C=+YQFN^-@pEtYvr zsEeKA+8TC>>t}AM{-yg=1p_KU4Jc?o1)^u0CLCuxlGq`hqmtH-Z{Mkn9b)VdZ!}x6 zL+qKkMd#a3cytPJ!nm4=Pssk?6_UbGgme<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