From a9573b6891df33626a99ede6fed4c0e5cadcec5b Mon Sep 17 00:00:00 2001 From: tisfeng Date: Fri, 17 Mar 2023 18:08:47 +0800 Subject: [PATCH] docs: update release note --- CHANGELOG.md | 6 ++++++ src/releaseVersion/versionInfo.ts | 26 +++++++++++++++++--------- 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 11a8e4b..248300b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # `Easydict` Changelog +## [v2.8.0] - 2023-03-17 + +### ✨ Features + +- Support OpenAI ChatGPT translation. + ## [v2.7.3] - 2023-02-28 ### 💎 Improvement diff --git a/src/releaseVersion/versionInfo.ts b/src/releaseVersion/versionInfo.ts index 9b711f2..8bd2c2f 100644 --- a/src/releaseVersion/versionInfo.ts +++ b/src/releaseVersion/versionInfo.ts @@ -2,7 +2,7 @@ * @author: tisfeng * @createTime: 2022-07-01 19:05 * @lastEditor: tisfeng - * @lastEditTime: 2023-02-28 21:44 + * @lastEditTime: 2023-03-17 18:07 * @fileName: versionInfo.ts * * Copyright (c) 2022 by tisfeng, All Rights Reserved. @@ -26,24 +26,32 @@ export class Easydict { static repo = "Raycast-Easydict"; // * NOTE: this is new version info, don't use it directly. Use getCurrentStoredVersionInfo() instead. - version = "2.7.3"; - buildNumber = 22; - versionDate = "2023-02-28"; - isNeedPrompt = false; + version = "2.8.0"; + buildNumber = 23; + versionDate = "2023-03-17"; + isNeedPrompt = true; hasPrompted = false; // * always default false, only show once, then should be set to true. releaseMarkdown = ` ## [v${this.version}] - ${this.versionDate} -### 💎 优化 +### ✨ 新功能 -- 当使用 Easydict 作为 Fallback Command 时,优先使用用户输入文本作为查询词(而不是选中文本)。 +- 支持 OpenAI ChatGPT 翻译。 + +#### 如果觉得这个扩展还不错,给个 [Star](https://github.com/tisfeng/Raycast-Easydict) ⭐️ 支持一下吧 (^-^) + +## 推荐 + +[Easydict](https://github.com/tisfeng/Easydict) 是一个简洁优雅的翻译词典 macOS App。开箱即用,支持离线 OCR 识别,支持有道词典,🍎苹果系统翻译,DeepL,谷歌,百度和火山翻译。 + +![iShot_2023-01-05_11.32.00-1672889552](https://raw.githubusercontent.com/tisfeng/ImageBed/main/uPic/iShot_2023-01-05_11.32.00-1672889552.png) --- -### 💎 Improvement +### ✨ Features -- When using Easydict as Fallback Command, use the user input text as the query word (not the selected text). +- Support OpenAI ChatGPT translation. `; getRepoUrl() {