Skip to content

Commit

Permalink
release: v1.4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed Jun 3, 2024
1 parent 935d83a commit 7f99982
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
11 changes: 11 additions & 0 deletions docs/changelogs/CHANGELOG.v1.4.9.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# v1.4.9

QQ Version: Windows 9.9.10-24108 / Linux 3.2.7-23361

## 修复与优化
* 修复接口调用问题 接口标准化 API:set_group_add_request

## 新增与调整


新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
2 changes: 1 addition & 1 deletion src/onebot11/action/group/SetGroupAddRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const SchemaData = {
approve: { type: 'boolean' },
reason: { type: 'string' }
},
required: ['flag', 'approve', 'reason']
required: ['flag', 'approve']
} as const satisfies JSONSchema;

type Payload = FromSchema<typeof SchemaData>;
Expand Down
2 changes: 1 addition & 1 deletion src/onebot11/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '1.4.8';
export const version = '1.4.9';
2 changes: 1 addition & 1 deletion src/webui/ui/NapCat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
undefined,
SettingButton('V1.4.8', 'napcat-update-button', 'secondary')
SettingButton('V1.4.9', 'napcat-update-button', 'secondary')
),
]),
SettingList([
Expand Down
2 changes: 1 addition & 1 deletion static/assets/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ async function onSettingWindowCreated(view) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
void 0,
SettingButton("V1.4.8", "napcat-update-button", "secondary")
SettingButton("V1.4.9", "napcat-update-button", "secondary")
)
]),
SettingList([
Expand Down

0 comments on commit 7f99982

Please sign in to comment.