diff --git a/docs/changelog/index.md b/docs/changelog/index.md index f02e9ca9..e32fe4d3 100644 --- a/docs/changelog/index.md +++ b/docs/changelog/index.md @@ -24,6 +24,10 @@ sidebar: false ### 改进 +- 升级后端 Go 依赖至最新稳定版(Gin、GORM、OpenTelemetry、ClickHouse 驱动、AWS SDK、Redis 客户端等),并完成升级兼容性适配:OpenTelemetry 资源 schema 与语义约定版本对齐,ClickHouse 驱动新增格式查询/插入接口的测试替身补齐。 +- 升级前端 npm 依赖至最新稳定版(Next.js 16.3、React 19.2、recharts 3、react-day-picker 10、lucide-react 1.x、Tailwind CSS 4.3 等),适配图表/日历组件 API 变化,并将 ESLint 配置迁移为 eslint-config-next 16 的 flat config。 +- 受工具链兼容性限制,TypeScript 固定 6.0.3(typescript-eslint 尚不支持 7.x)、ESLint 固定 9.39.5(eslint-plugin-react 尚不支持 10.x);react-hooks v7 新增的严格规则暂在 lint 配置中豁免,后续可分批采纳。 + - Agent 不再将 GeoLite2 Country/City MMDB 嵌入二进制:Docker 镜像在默认数据目录 COPY 数据库文件,裸二进制首次启动时按需下载,显著减小 Agent 包体积;OpenResty 仍从磁盘路径读取 MMDB。Server 控制面仍仅内嵌 Country MMDB(不含 City),供可选 MaxMind 提供方离线初始化。 ## [v3.4.4] - 2026-08-06 diff --git a/frontend/app/(main)/access-logs/components/overview-tab.tsx b/frontend/app/(main)/access-logs/components/overview-tab.tsx index 778253be..741afe2c 100644 --- a/frontend/app/(main)/access-logs/components/overview-tab.tsx +++ b/frontend/app/(main)/access-logs/components/overview-tab.tsx @@ -244,8 +244,12 @@ function PieDistributionCard({ } /> } - className='flex-wrap justify-center gap-x-4 gap-y-1 pt-2 text-[11px]' + content={ + + } /> diff --git a/frontend/app/(main)/admin/files/components/file-stats.tsx b/frontend/app/(main)/admin/files/components/file-stats.tsx index ab608bf4..7c51c8b0 100644 --- a/frontend/app/(main)/admin/files/components/file-stats.tsx +++ b/frontend/app/(main)/admin/files/components/file-stats.tsx @@ -484,8 +484,12 @@ export function FileStats() { } /> } - className='flex-wrap justify-center gap-x-4 gap-y-1 text-[11px] pt-4' + content={ + + } /> @@ -577,8 +581,12 @@ export function FileStats() { } /> } - className='flex-wrap justify-center gap-x-4 gap-y-1 text-[11px] pt-4' + content={ + + } /> diff --git a/frontend/app/(main)/error-pages/components/html-editor-workspace.tsx b/frontend/app/(main)/error-pages/components/html-editor-workspace.tsx index c57896e0..38a668a5 100644 --- a/frontend/app/(main)/error-pages/components/html-editor-workspace.tsx +++ b/frontend/app/(main)/error-pages/components/html-editor-workspace.tsx @@ -72,7 +72,9 @@ export function HtmlEditorWorkspace({ {value.trim() === '' ? ' · 空则使用内置默认' : ''} -
{toolbarRight}
+
+ {toolbarRight} +
diff --git a/frontend/app/(main)/error-pages/edit/page.tsx b/frontend/app/(main)/error-pages/edit/page.tsx index dd817bc8..991ea7df 100644 --- a/frontend/app/(main)/error-pages/edit/page.tsx +++ b/frontend/app/(main)/error-pages/edit/page.tsx @@ -113,9 +113,7 @@ export default function ErrorPageEditPage() {
-

- 编辑 -

+

编辑

diff --git a/frontend/app/(main)/error-pages/page.tsx b/frontend/app/(main)/error-pages/page.tsx index f859136a..76b906bc 100644 --- a/frontend/app/(main)/error-pages/page.tsx +++ b/frontend/app/(main)/error-pages/page.tsx @@ -3,13 +3,7 @@ import Link from 'next/link'; import { useEffect, useMemo, useState } from 'react'; import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query'; -import { - Expand, - FileWarning, - Loader2, - Pencil, - Save, -} from 'lucide-react'; +import { Expand, FileWarning, Loader2, Pencil, Save } from 'lucide-react'; import { toast } from 'sonner'; import { useAuth } from '@/components/providers/auth-provider'; @@ -135,8 +129,8 @@ export default function ErrorPagesPage() {
触发状态码 - 支持单码(如 502)或闭区间(如 500-599),范围 - 400–599。默认 500-599。修改启用开关或状态码后需点击保存。 + 支持单码(如 502)或闭区间(如 500-599),范围 400–599。默认 + 500-599。修改启用开关或状态码后需点击保存。