From a906f07672b9087252100f6eff9cc0d5ea03e6af Mon Sep 17 00:00:00 2001
From: Matt Shaver <60105315+matthewshaver@users.noreply.github.com>
Date: Wed, 4 Sep 2024 10:35:13 -0400
Subject: [PATCH 1/3] Update EOL banners
---
website/src/theme/DocRoot/Layout/Main/index.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/website/src/theme/DocRoot/Layout/Main/index.js b/website/src/theme/DocRoot/Layout/Main/index.js
index 29e7efdc253..aeade7007d4 100644
--- a/website/src/theme/DocRoot/Layout/Main/index.js
+++ b/website/src/theme/DocRoot/Layout/Main/index.js
@@ -86,12 +86,12 @@ export default function DocRootLayoutMain({
if (new Date() > new Date(EOLDate)) {
setEOLData({
showEOLBanner: true,
- EOLBannerText: `This version of dbt Core is no longer supported. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, you should upgrade to ${latestStableRelease}, the latest stable version.`,
+ EOLBannerText: `This version of dbt Core is no longer supported. There will be no more patches or security fixes. For improved performance, security, and features, upgrade to the latest stable version.`,
});
} else if (new Date() > threeMonths) {
setEOLData({
showEOLBanner: true,
- EOLBannerText: `This version of dbt Core is nearing the end of its critical support period. For better performance, improved security, and new features, you should upgrade to ${latestStableRelease}, the latest stable version.`,
+ EOLBannerText: `This version of dbt Core is nearing the end of its critical support period. For improved perfomance, security, and features, upgrade to the latest stable version.`,
});
} else {
setEOLData({
From 4608fdb37132d3ce3c71f19bf7aefd4eb4cd141f Mon Sep 17 00:00:00 2001
From: Matt Shaver <60105315+matthewshaver@users.noreply.github.com>
Date: Wed, 4 Sep 2024 10:59:30 -0400
Subject: [PATCH 2/3] Apply suggestions from code review
Co-authored-by: Mirna Wong <89008547+mirnawong1@users.noreply.github.com>
---
website/src/theme/DocRoot/Layout/Main/index.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/website/src/theme/DocRoot/Layout/Main/index.js b/website/src/theme/DocRoot/Layout/Main/index.js
index aeade7007d4..d09c39768ca 100644
--- a/website/src/theme/DocRoot/Layout/Main/index.js
+++ b/website/src/theme/DocRoot/Layout/Main/index.js
@@ -86,12 +86,12 @@ export default function DocRootLayoutMain({
if (new Date() > new Date(EOLDate)) {
setEOLData({
showEOLBanner: true,
- EOLBannerText: `This version of dbt Core is no longer supported. There will be no more patches or security fixes. For improved performance, security, and features, upgrade to the latest stable version.`,
+ EOLBannerText: `This version of dbt Core is no longer supported. There will be no more patches or security fixes. For improved performance, security, and features, upgrade to the latest stable version.`,
});
} else if (new Date() > threeMonths) {
setEOLData({
showEOLBanner: true,
- EOLBannerText: `This version of dbt Core is nearing the end of its critical support period. For improved perfomance, security, and features, upgrade to the latest stable version.`,
+ EOLBannerText: `This version of dbt Core is nearing the end of its critical support period. For improved perfomance, security, and features, upgrade to the latest stable version.`,
});
} else {
setEOLData({
From 4c64c0f57de030a7f73dc08368b33ce3dd5028dc Mon Sep 17 00:00:00 2001
From: Matt Shaver <60105315+matthewshaver@users.noreply.github.com>
Date: Wed, 4 Sep 2024 11:10:43 -0400
Subject: [PATCH 3/3] Adding link to beta
---
website/src/theme/DocRoot/Layout/Main/index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/website/src/theme/DocRoot/Layout/Main/index.js b/website/src/theme/DocRoot/Layout/Main/index.js
index d09c39768ca..458cb9d8716 100644
--- a/website/src/theme/DocRoot/Layout/Main/index.js
+++ b/website/src/theme/DocRoot/Layout/Main/index.js
@@ -71,7 +71,7 @@ export default function DocRootLayoutMain({
} else {
setPreData({
showisPrereleaseBanner: true,
- isPrereleaseBannerText: `You are viewing the docs for a prerelease version of dbt Core. There may be features described that are still in development, incomplete, or unstable.`,
+ isPrereleaseBannerText: `You are viewing the docs for a prerelease version of dbt Core. There may be features described that are still in development, incomplete, or unstable. For the latest generally available features, install the latest stable version`,
});
}
// If EOLDate not set for version, do not show banner