From 53227181c9f31d3eceea4cef85186c9a0f982284 Mon Sep 17 00:00:00 2001
From: Matt Shaver <60105315+matthewshaver@users.noreply.github.com>
Date: Wed, 4 Sep 2024 11:17:49 -0400
Subject: [PATCH] Update EOL banners (#6009)
## What are you changing in this pull request and why?
Updating the EOL banner texts, removing versions and fixing links in the
text.
## Checklist
- [ ] I have reviewed the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md)
so my content adheres to these guidelines.
- [ ] The topic I'm writing about is for specific dbt version(s) and I
have versioned it according to the [version a whole
page](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version)
and/or [version a block of
content](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-blocks-of-content)
guidelines.
- [ ] I have added checklist item(s) to this list for anything anything
that needs to happen before this PR is merged, such as "needs technical
review" or "change base branch."
---------
Co-authored-by: Mirna Wong <89008547+mirnawong1@users.noreply.github.com>
---
website/src/theme/DocRoot/Layout/Main/index.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/website/src/theme/DocRoot/Layout/Main/index.js b/website/src/theme/DocRoot/Layout/Main/index.js
index 29e7efdc253..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
@@ -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({