Skip to content

Commit

Permalink
docs: update release note
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Mar 17, 2023
1 parent c0ab124 commit a9573b6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 9 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# `Easydict` Changelog

## [v2.8.0] - 2023-03-17

### ✨ Features

- Support OpenAI ChatGPT translation.

## [v2.7.3] - 2023-02-28

### 💎 Improvement
Expand Down
26 changes: 17 additions & 9 deletions src/releaseVersion/versionInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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() {
Expand Down

0 comments on commit a9573b6

Please sign in to comment.