Browse Source

chore(release): 升级版本至 3.2.13

Co-authored-by: Cursor <cursoragent@cursor.com>
darknessomi 4 days ago
parent
commit
4995bd0da9
8 changed files with 35 additions and 8 deletions
  1. 1 1
      README.md
  2. 2 2
      package-lock.json
  3. 1 1
      package.json
  4. 1 1
      src-tauri/Cargo.lock
  5. 1 1
      src-tauri/Cargo.toml
  6. 1 1
      src-tauri/tauri.conf.json
  7. 8 1
      src/lib/changelog.spec.ts
  8. 20 0
      src/lib/changelog.ts

+ 1 - 1
README.md

@@ -12,7 +12,7 @@
   <a href="https://github.com/Mochocyang/QMAI/releases">
     <img src="https://img.shields.io/github/v/release/Mochocyang/QMAI?style=flat-square" alt="Release" />
   </a>
-  <img src="https://img.shields.io/badge/version-3.2.12-blue?style=flat-square" alt="Version" />
+  <img src="https://img.shields.io/badge/version-3.2.13-blue?style=flat-square" alt="Version" />
   <img src="https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-blue?style=flat-square" alt="Platform" />
   <img src="https://img.shields.io/badge/license-GPL--3.0-blue?style=flat-square" alt="License" />
 </p>

+ 2 - 2
package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "qmai",
-  "version": "3.2.12",
+  "version": "3.2.13",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "qmai",
-      "version": "3.2.12",
+      "version": "3.2.13",
       "license": "GPL-3.0-or-later",
       "dependencies": {
         "@base-ui/react": "^1.7.0",

+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
   "name": "qmai",
   "private": true,
-  "version": "3.2.12",
+  "version": "3.2.13",
   "license": "GPL-3.0-or-later",
   "type": "module",
   "scripts": {

+ 1 - 1
src-tauri/Cargo.lock

@@ -5821,7 +5821,7 @@ checksum = "d55d956fa96f5ec02be2e13af0e20391a5aa83d6a074e3ad368959d0fab299ea"
 
 [[package]]
 name = "qmai"
-version = "3.2.12"
+version = "3.2.13"
 dependencies = [
  "arrow-array",
  "arrow-schema",

+ 1 - 1
src-tauri/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "qmai"
-version = "3.2.12"
+version = "3.2.13"
 description = "QMAI - AI writing system for long-form novels"
 authors = ["Mochocyang"]
 edition = "2021"

+ 1 - 1
src-tauri/tauri.conf.json

@@ -1,7 +1,7 @@
 {
   "$schema": "https://schema.tauri.app/config/2",
   "productName": "QMaiWrite",
-  "version": "3.2.12",
+  "version": "3.2.13",
   "identifier": "com.qingmuai.writer",
   "build": {
     "beforeDevCommand": "npm run dev",

+ 8 - 1
src/lib/changelog.spec.ts

@@ -6,7 +6,7 @@ describe("changelog", () => {
     const entries = allChangelog()
     const versions = entries.map((entry) => entry.version)
 
-    expect(versions.slice(0, 3)).toEqual(["3.2.12", "3.2.11", "3.2.10"])
+    expect(versions.slice(0, 3)).toEqual(["3.2.13", "3.2.12", "3.2.11"])
     expect(versions).toContain("3.0.9")
     expect(versions).toContain("2.2.37")
     expect(versions).toContain("2.1.0")
@@ -33,6 +33,13 @@ describe("changelog", () => {
       expect(versions).not.toContain(`1.0.${patch}`)
     }
 
+    const release3213 = currentVersionChangelog("3.2.13")[0]
+    expect(release3213.version).toBe("3.2.13")
+    expect(release3213.highlights.zh.join("\n")).toContain("平台基线")
+    expect(release3213.highlights.zh.join("\n")).toContain("联网搜索独立开关")
+    expect(release3213.highlights.zh.join("\n")).toContain("reasoning_effort")
+    expect(release3213.highlights.en.join("\n")).toContain("Platform Baseline")
+
     const release328 = currentVersionChangelog("3.2.8")[0]
     expect(release328.version).toBe("3.2.8")
     expect(release328.highlights.zh.join("\n")).toContain("拆书并行分析")

+ 20 - 0
src/lib/changelog.ts

@@ -7,6 +7,23 @@ interface ChangelogEntry {
   };
 }
 
+const THREE_POINT_TWO_THIRTEEN_CHANGELOG: ChangelogEntry = {
+  version: "3.2.13",
+  date: "2026-09-03",
+  highlights: {
+    en: [
+      "[Platform Baseline] Drops Intel Mac builds. macOS is Apple Silicon only, 13.0+. Windows is x64 with AVX2 from 10 2004; Linux is x86_64 with AVX2. Release binaries use -O3 and thin LTO.",
+      "[Writing Web Search Switch] Standard and strict writing modes both follow the writing-settings web-search toggle instead of locking search to strict mode. Entity extraction and query caps are raised, and search defaults to on when eligible.",
+      "[Cursor CLI reasoning_effort] ACP catalog filtering now reads reasoning_effort instead of effort, so models such as gemini-3.8-flash are no longer dropped.",
+    ],
+    zh: [
+      "【平台基线】停打 Intel Mac,macOS 仅 Apple Silicon 且最低 13.0;Windows 为 2004+ x64 且需 AVX2,Linux 仅 x86_64 且需 AVX2。正式包改为 -O3 与 thin LTO。",
+      "【写作联网搜索独立开关】标准和严格模式都按写作设置开关补搜,不再绑死严格模式;实体抽取与查询上限提高,符合条件时默认要搜。",
+      "【Cursor CLI 识别 reasoning_effort】ACP catalog 按 reasoning_effort 过滤,不再误丢 gemini-3.8-flash。",
+    ],
+  },
+};
+
 const THREE_POINT_TWO_TWELVE_CHANGELOG: ChangelogEntry = {
   version: "3.2.12",
   date: "2026-09-02",
@@ -1458,6 +1475,8 @@ const CHANGELOG: ChangelogEntry[] = [
 ];
 
 export function currentVersionChangelog(version: string): ChangelogEntry[] {
+  if (version === THREE_POINT_TWO_THIRTEEN_CHANGELOG.version)
+    return [THREE_POINT_TWO_THIRTEEN_CHANGELOG];
   if (version === THREE_POINT_TWO_TWELVE_CHANGELOG.version)
     return [THREE_POINT_TWO_TWELVE_CHANGELOG];
   if (version === THREE_POINT_TWO_ELEVEN_CHANGELOG.version)
@@ -1587,6 +1606,7 @@ export function currentVersionChangelog(version: string): ChangelogEntry[] {
 
 export function allChangelog(): ChangelogEntry[] {
   return [
+    THREE_POINT_TWO_THIRTEEN_CHANGELOG,
     THREE_POINT_TWO_TWELVE_CHANGELOG,
     THREE_POINT_TWO_ELEVEN_CHANGELOG,
     THREE_POINT_TWO_TEN_CHANGELOG,