Răsfoiți Sursa

release: 升级版本至 3.2.11

过滤大纲与去AI味思考输出,并支持无章节短篇导入。
darknessomi 2 săptămâni în urmă
părinte
comite
845d196386

+ 2 - 2
package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "qmai",
-  "version": "3.2.10",
+  "version": "3.2.11",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "qmai",
-      "version": "3.2.10",
+      "version": "3.2.11",
       "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.10",
+  "version": "3.2.11",
   "license": "GPL-3.0-or-later",
   "type": "module",
   "scripts": {

+ 1 - 1
src-tauri/Cargo.lock

@@ -5793,7 +5793,7 @@ checksum = "d55d956fa96f5ec02be2e13af0e20391a5aa83d6a074e3ad368959d0fab299ea"
 
 [[package]]
 name = "qmai"
-version = "3.2.10"
+version = "3.2.11"
 dependencies = [
  "arrow-array",
  "arrow-schema",

+ 1 - 1
src-tauri/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "qmai"
-version = "3.2.10"
+version = "3.2.11"
 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.10",
+  "version": "3.2.11",
   "identifier": "com.qingmuai.writer",
   "build": {
     "beforeDevCommand": "npm run dev",

+ 1 - 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.10", "3.2.9", "3.2.8"])
+    expect(versions.slice(0, 3)).toEqual(["3.2.11", "3.2.10", "3.2.9"])
     expect(versions).toContain("3.0.9")
     expect(versions).toContain("2.2.37")
     expect(versions).toContain("2.1.0")

+ 18 - 0
src/lib/changelog.ts

@@ -7,6 +7,21 @@ interface ChangelogEntry {
   };
 }
 
+const THREE_POINT_TWO_ELEVEN_CHANGELOG: ChangelogEntry = {
+  version: "3.2.11",
+  date: "2026-08-28",
+  highlights: {
+    en: [
+      "[Filter Thinking Output] Outline generation and de-AI now strip model thinking segments, including unlabeled Gemini thought dumps. A thinking-only response retries once with reasoning off, so English analysis no longer leaks into the outline or chapter text.",
+      "[Short Story Import Without Chapters] When a file has no chapter markers, a non-empty full text is saved as a single chapter instead of failing import. Empty files are still rejected.",
+    ],
+    zh: [
+      "【过滤思考输出】大纲和去AI味会滤掉模型思考段(含 Gemini 无标签思考),纯思考响应会关 reasoning 再试一次,避免英文分析进正文或大纲",
+      "【无章节短篇导入】没有章节标记的短篇,会把非空全文当作一章导入,不再失败;空文件仍会拦截",
+    ],
+  },
+};
+
 const THREE_POINT_TWO_TEN_CHANGELOG: ChangelogEntry = {
   version: "3.2.10",
   date: "2026-08-28",
@@ -1422,6 +1437,8 @@ const CHANGELOG: ChangelogEntry[] = [
 ];
 
 export function currentVersionChangelog(version: string): ChangelogEntry[] {
+  if (version === THREE_POINT_TWO_ELEVEN_CHANGELOG.version)
+    return [THREE_POINT_TWO_ELEVEN_CHANGELOG];
   if (version === THREE_POINT_TWO_TEN_CHANGELOG.version)
     return [THREE_POINT_TWO_TEN_CHANGELOG];
   if (version === THREE_POINT_TWO_NINE_CHANGELOG.version)
@@ -1547,6 +1564,7 @@ export function currentVersionChangelog(version: string): ChangelogEntry[] {
 
 export function allChangelog(): ChangelogEntry[] {
   return [
+    THREE_POINT_TWO_ELEVEN_CHANGELOG,
     THREE_POINT_TWO_TEN_CHANGELOG,
     THREE_POINT_TWO_NINE_CHANGELOG,
     THREE_POINT_TWO_EIGHT_CHANGELOG,