From 83a52fc35401d892156b0384ccf76cda9984365f Mon Sep 17 00:00:00 2001 From: Japlin Chen Date: Tue, 18 Aug 2026 11:32:13 +0700 Subject: [PATCH] docs: bump version to 1.0.20 + release notes --- installer/typetwo.iss | 2 +- release/release_notes_v1.0.20.md | 12 ++++++++++++ typetwo_flutter/lib/models/app_constants.dart | 2 +- typetwo_flutter/pubspec.yaml | 2 +- .../test/services/update_service_test.dart | 2 +- 5 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 release/release_notes_v1.0.20.md diff --git a/installer/typetwo.iss b/installer/typetwo.iss index 1e16acb..dea2d5a 100644 --- a/installer/typetwo.iss +++ b/installer/typetwo.iss @@ -1,6 +1,6 @@ ; Inno Setup script for TypeTwo #define MyAppName "TypeTwo" -#define MyAppVersion "1.0.19" +#define MyAppVersion "1.0.20" #define MyAppPublisher "TypeTwo" #define MyAppExeName "TypeTwo.exe" diff --git a/release/release_notes_v1.0.20.md b/release/release_notes_v1.0.20.md new file mode 100644 index 0000000..a817242 --- /dev/null +++ b/release/release_notes_v1.0.20.md @@ -0,0 +1,12 @@ +## 重點更新 + +- **徹底修正翻譯結果出現 `` 標籤**:v1.0.19 只處理整段輸出被標籤包住的情況;本版改為移除輸出中任何獨立成行的 `` / `` 標籤,位置不限,涵蓋所有引擎與模型。 + +## 安裝方式 + +- 下載下方 `setup_typetwo.exe` +- 執行安裝後,從開始選單啟動 TypeTwo + +## 建議升級對象 + +- v1.0.19 之後翻譯結果仍偶爾出現 `` 標籤的使用者 diff --git a/typetwo_flutter/lib/models/app_constants.dart b/typetwo_flutter/lib/models/app_constants.dart index 4e006cd..4aabe87 100644 --- a/typetwo_flutter/lib/models/app_constants.dart +++ b/typetwo_flutter/lib/models/app_constants.dart @@ -1,4 +1,4 @@ -const kAppVersion = '1.0.19'; +const kAppVersion = '1.0.20'; const kAutoDetectLang = 'auto'; diff --git a/typetwo_flutter/pubspec.yaml b/typetwo_flutter/pubspec.yaml index bd8e162..5ce4ddc 100644 --- a/typetwo_flutter/pubspec.yaml +++ b/typetwo_flutter/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.19+19 +version: 1.0.20+20 environment: sdk: '>=3.0.0 <4.0.0' diff --git a/typetwo_flutter/test/services/update_service_test.dart b/typetwo_flutter/test/services/update_service_test.dart index d65c599..bf2b984 100644 --- a/typetwo_flutter/test/services/update_service_test.dart +++ b/typetwo_flutter/test/services/update_service_test.dart @@ -3,7 +3,7 @@ import 'package:typetwo/services/update_service.dart'; import 'package:typetwo/models/app_constants.dart'; void main() { - test('kAppVersion is 1.0.19', () => expect(kAppVersion, '1.0.19')); + test('kAppVersion is 1.0.20', () => expect(kAppVersion, '1.0.20')); group('version comparison', () { test('patch bump is newer',