From 746ecf891b2ec78348d3bd6338ac425e8a951f42 Mon Sep 17 00:00:00 2001 From: Oreo Yang <2167young@163.com> Date: Fri, 13 Mar 2026 09:21:00 +0800 Subject: [PATCH 1/2] release page: Reorder historicalVersions --- .../releases-page.mdx | 130 +++++++++--------- src/pages/releases-page.mdx | 42 +++--- 2 files changed, 86 insertions(+), 86 deletions(-) diff --git a/i18n/zh-CN/docusaurus-plugin-content-pages/releases-page.mdx b/i18n/zh-CN/docusaurus-plugin-content-pages/releases-page.mdx index 37fe9ef..b5fa6fb 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-pages/releases-page.mdx +++ b/i18n/zh-CN/docusaurus-plugin-content-pages/releases-page.mdx @@ -54,59 +54,54 @@ export const VersionTable = () => { const historicalVersions = [ { - date: '2021年12月15日', - version: 'IvorySQL 1.0 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v1.0/v1.0/1.html' - }, - { - date: '2022年1月25日', - version: 'IvorySQL 1.1 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v1.1/v1.1/1.html' + date: '2025年12月18日', + version: 'IvorySQL 5.1 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v5.1/v5.1/1.html' }, { - date: '2022年2月28日', - version: 'IvorySQL 1.2 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v1.2/v1.2/1.html' + date: '2025年11月25日', + version: 'IvorySQL 5.0 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v5.0/v5.0/1.html' }, { - date: '2022年5月27日', - version: 'IvorySQL 1.3 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v1.3/v1.3/1.html' + date: '2025年9月10日', + version: 'IvorySQL 4.6 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v4.6/v4.6/1.html' }, { - date: '2022年6月28日', - version: 'IvorySQL 1.4 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v1.4/v1.4/1.html' + date: '2025年6月4日', + version: 'IvorySQL 4.5 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v4.5/v4.5/1.html' }, { - date: '2022年9月9日', - version: 'IvorySQL 1.5 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v1.5/v1.5/1.html' + date: '2025年3月10日', + version: 'IvorySQL 4.4 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v4.4/v4.4/1.html' }, { - date: '2022年12月14日', - version: 'IvorySQL 2.1 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v2.1/v2.1/1.html' + date: '2025年1月13日', + version: 'IvorySQL 4.2 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v4.2/v4.2/1.html' }, { - date: '2023年3月29日', - version: 'IvorySQL 2.2 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v2.2/v2.2/1.html' + date: '2024年12月23日', + version: 'IvorySQL 4.0 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v4.0/v4.0/1.html' }, { - date: '2023年6月28日', - version: 'IvorySQL 2.3 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v2.3/v2.3/1.html' + date: '2024年11月21日', + version: 'IvorySQL 1.8 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v1.8/v1.8/1.html' }, { - date: '2023年11月17日', - version: 'IvorySQL 3.0 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v3.0/v3.0/1.html' + date: '2024年9月26日', + version: 'IvorySQL 3.4 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v3.4/v3.4/1.html' }, { - date: '2024年1月26日', - version: 'IvorySQL 3.1 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v3.1/v3.1/1.html' + date: '2024年7月11日', + version: 'IvorySQL 3.3 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v3.3/v3.3/1.html' }, { date: '2024年4月11日', @@ -114,54 +109,59 @@ export const VersionTable = () => { url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v3.2/v3.2/1.html' }, { - date: '2024年7月11日', - version: 'IvorySQL 3.3 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v3.3/v3.3/1.html' + date: '2024年1月26日', + version: 'IvorySQL 3.1 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v3.1/v3.1/1.html' }, { - date: '2024年9月26日', - version: 'IvorySQL 3.4 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v3.4/v3.4/1.html' + date: '2023年11月17日', + version: 'IvorySQL 3.0 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v3.0/v3.0/1.html' }, { - date: '2024年11月21日', - version: 'IvorySQL 1.8 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v1.8/v1.8/1.html' + date: '2023年6月28日', + version: 'IvorySQL 2.3 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v2.3/v2.3/1.html' }, { - date: '2024年12月23日', - version: 'IvorySQL 4.0 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v4.0/v4.0/1.html' + date: '2023年3月29日', + version: 'IvorySQL 2.2 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v2.2/v2.2/1.html' }, { - date: '2025年1月13日', - version: 'IvorySQL 4.2 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v4.2/v4.2/1.html' + date: '2022年12月14日', + version: 'IvorySQL 2.1 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v2.1/v2.1/1.html' }, { - date: '2025年3月10日', - version: 'IvorySQL 4.4 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v4.4/v4.4/1.html' + date: '2022年9月9日', + version: 'IvorySQL 1.5 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v1.5/v1.5/1.html' }, { - date: '2025年6月4日', - version: 'IvorySQL 4.5 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v4.5/v4.5/1.html' + date: '2022年6月28日', + version: 'IvorySQL 1.4 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v1.4/v1.4/1.html' }, { - date: '2025年9月10日', - version: 'IvorySQL 4.6 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v4.6/v4.6/1.html' + date: '2022年5月27日', + version: 'IvorySQL 1.3 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v1.3/v1.3/1.html' }, { - date: '2025年11月25日', - version: 'IvorySQL 5.0 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v5.0/v5.0/1.html' + date: '2022年2月28日', + version: 'IvorySQL 1.2 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v1.2/v1.2/1.html' }, { - date: '2025年12月18日', - version: 'IvorySQL 5.1 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v5.1/v5.1/1.html' + date: '2022年1月25日', + version: 'IvorySQL 1.1 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v1.1/v1.1/1.html' + }, + { + date: '2021年12月15日', + version: 'IvorySQL 1.0 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v1.0/v1.0/1.html' }, ]; diff --git a/src/pages/releases-page.mdx b/src/pages/releases-page.mdx index 23fe59f..b3b245c 100644 --- a/src/pages/releases-page.mdx +++ b/src/pages/releases-page.mdx @@ -26,28 +26,28 @@ export const VersionTable = () => { ]; const historicalVersions = [ - { date: 'Dec 15, 2021', version: 'IvorySQL 1.0 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v1.0/v1.0/1.html' }, - { date: 'Jan 25, 2022', version: 'IvorySQL 1.1 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v1.1/v1.1/1.html' }, - { date: 'Feb 28, 2022', version: 'IvorySQL 1.2 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v1.2/v1.2/1.html' }, - { date: 'May 27, 2022', version: 'IvorySQL 1.3 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v1.3/v1.3/1.html' }, - { date: 'Jun 28, 2022', version: 'IvorySQL 1.4 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v1.4/v1.4/1.html' }, - { date: 'Sep 09, 2022', version: 'IvorySQL 1.5 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v1.5/v1.5/1.html' }, - { date: 'Dec 14, 2022', version: 'IvorySQL 2.1 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v2.1/v2.1/1.html' }, - { date: 'Mar 29, 2023', version: 'IvorySQL 2.2 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v2.2/v2.2/1.html' }, - { date: 'Jun 28, 2023', version: 'IvorySQL 2.3 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v2.3/v2.3/1.html' }, - { date: 'Nov 17, 2023', version: 'IvorySQL 3.0 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v3.0/v3.0/1.html' }, - { date: 'Jan 26, 2024', version: 'IvorySQL 3.1 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v3.1/v3.1/1.html' }, - { date: 'Apr 11, 2024', version: 'IvorySQL 3.2 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v3.2/v3.2/1.html' }, - { date: 'Jul 11, 2024', version: 'IvorySQL 3.3 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v3.3/v3.3/1.html' }, - { date: 'Sep 26, 2024', version: 'IvorySQL 3.4 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v3.4/v3.4/1.html' }, - { date: 'Nov 21, 2024', version: 'IvorySQL 1.8 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v1.8/v1.8/1.html' }, - { date: 'Dec 23, 2024', version: 'IvorySQL 4.0 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v4.0/v4.0/1.html' }, - { date: 'Jan 13, 2025', version: 'IvorySQL 4.2 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v4.2/v4.2/1.html' }, - { date: 'Mar 10, 2025', version: 'IvorySQL 4.4 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v4.4/v4.4/1.html' }, - { date: 'Jun 4, 2025', version: 'IvorySQL 4.5 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v4.5/v4.5/1.html' }, - { date: 'Sept 10, 2025', version: 'IvorySQL 4.6 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v4.6/v4.6/1.html' }, - { date: 'Nov 25, 2025', version: 'IvorySQL 5.0 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v5.0/v5.0/1.html' }, { date: 'Dec 18, 2025', version: 'IvorySQL 5.1 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v5.1/v5.1/1.html' }, + { date: 'Nov 25, 2025', version: 'IvorySQL 5.0 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v5.0/v5.0/1.html' }, + { date: 'Sept 10, 2025', version: 'IvorySQL 4.6 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v4.6/v4.6/1.html' }, + { date: 'Jun 4, 2025', version: 'IvorySQL 4.5 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v4.5/v4.5/1.html' }, + { date: 'Mar 10, 2025', version: 'IvorySQL 4.4 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v4.4/v4.4/1.html' }, + { date: 'Jan 13, 2025', version: 'IvorySQL 4.2 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v4.2/v4.2/1.html' }, + { date: 'Dec 23, 2024', version: 'IvorySQL 4.0 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v4.0/v4.0/1.html' }, + { date: 'Nov 21, 2024', version: 'IvorySQL 1.8 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v1.8/v1.8/1.html' }, + { date: 'Sep 26, 2024', version: 'IvorySQL 3.4 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v3.4/v3.4/1.html' }, + { date: 'Jul 11, 2024', version: 'IvorySQL 3.3 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v3.3/v3.3/1.html' }, + { date: 'Apr 11, 2024', version: 'IvorySQL 3.2 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v3.2/v3.2/1.html' }, + { date: 'Jan 26, 2024', version: 'IvorySQL 3.1 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v3.1/v3.1/1.html' }, + { date: 'Nov 17, 2023', version: 'IvorySQL 3.0 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v3.0/v3.0/1.html' }, + { date: 'Jun 28, 2023', version: 'IvorySQL 2.3 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v2.3/v2.3/1.html' }, + { date: 'Mar 29, 2023', version: 'IvorySQL 2.2 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v2.2/v2.2/1.html' }, + { date: 'Dec 14, 2022', version: 'IvorySQL 2.1 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v2.1/v2.1/1.html' }, + { date: 'Sep 09, 2022', version: 'IvorySQL 1.5 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v1.5/v1.5/1.html' }, + { date: 'Jun 28, 2022', version: 'IvorySQL 1.4 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v1.4/v1.4/1.html' }, + { date: 'May 27, 2022', version: 'IvorySQL 1.3 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v1.3/v1.3/1.html' }, + { date: 'Feb 28, 2022', version: 'IvorySQL 1.2 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v1.2/v1.2/1.html' }, + { date: 'Jan 25, 2022', version: 'IvorySQL 1.1 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v1.1/v1.1/1.html' }, + { date: 'Dec 15, 2021', version: 'IvorySQL 1.0 STABLE', url: 'https://docs.ivorysql.org/en/ivorysql-doc/v1.0/v1.0/1.html' }, ]; /* ── shared tokens ── */ From 68e80a3abf544f8641b93fc24d390d1b097b1903 Mon Sep 17 00:00:00 2001 From: Oreo Yang <2167young@163.com> Date: Fri, 13 Mar 2026 09:29:22 +0800 Subject: [PATCH 2/2] release page: Reorder currentVersions --- .../releases-page.mdx | 12 ++++++------ src/pages/releases-page.mdx | 14 +++++++------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/i18n/zh-CN/docusaurus-plugin-content-pages/releases-page.mdx b/i18n/zh-CN/docusaurus-plugin-content-pages/releases-page.mdx index b5fa6fb..722a72b 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-pages/releases-page.mdx +++ b/i18n/zh-CN/docusaurus-plugin-content-pages/releases-page.mdx @@ -39,17 +39,17 @@ export const VersionTable = () => { const [activeTab, setActiveTab] = useState('currentTab'); const currentVersions = [ - { - date: '2025年3月26日', - version: 'IvorySQL 1.17 稳定版', - url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v1.17/v1.17/1.html' - }, { date: '2026年3月12日', version: 'IvorySQL 5.3 稳定版', url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v5.3/1.html', highlight: true - }, + }, + { + date: '2025年3月26日', + version: 'IvorySQL 1.17 稳定版', + url: 'https://docs.ivorysql.org/cn/ivorysql-doc/v1.17/v1.17/1.html' + }, ]; const historicalVersions = [ diff --git a/src/pages/releases-page.mdx b/src/pages/releases-page.mdx index b3b245c..fb8f381 100644 --- a/src/pages/releases-page.mdx +++ b/src/pages/releases-page.mdx @@ -9,13 +9,6 @@ export const VersionTable = () => { const [activeTab, setActiveTab] = useState('currentTab'); const currentVersions = [ - { - date: 'Mar 26, 2025', - version: 'IvorySQL 1.17 STABLE', - url: 'https://docs.ivorysql.org/en/ivorysql-doc/v1.17/v1.17/1.html', - pg: 'PostgreSQL 14', - highlight: false, - }, { date: 'Mar 12, 2026', version: 'IvorySQL 5.3 STABLE', @@ -23,6 +16,13 @@ export const VersionTable = () => { pg: 'PostgreSQL 18', highlight: true, }, + { + date: 'Mar 26, 2025', + version: 'IvorySQL 1.17 STABLE', + url: 'https://docs.ivorysql.org/en/ivorysql-doc/v1.17/v1.17/1.html', + pg: 'PostgreSQL 14', + highlight: false, + }, ]; const historicalVersions = [