diff --git a/docs/changelogs/CHANGELOG.v1.4.9.md b/docs/changelogs/CHANGELOG.v1.4.9.md new file mode 100644 index 00000000..7ace6066 --- /dev/null +++ b/docs/changelogs/CHANGELOG.v1.4.9.md @@ -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) diff --git a/src/onebot11/action/group/SetGroupAddRequest.ts b/src/onebot11/action/group/SetGroupAddRequest.ts index f442e3ac..c4ad7ed2 100644 --- a/src/onebot11/action/group/SetGroupAddRequest.ts +++ b/src/onebot11/action/group/SetGroupAddRequest.ts @@ -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; diff --git a/src/onebot11/version.ts b/src/onebot11/version.ts index e8f5c96a..6e5882d4 100644 --- a/src/onebot11/version.ts +++ b/src/onebot11/version.ts @@ -1 +1 @@ -export const version = '1.4.8'; +export const version = '1.4.9'; diff --git a/src/webui/ui/NapCat.ts b/src/webui/ui/NapCat.ts index db2562d4..b7f79512 100644 --- a/src/webui/ui/NapCat.ts +++ b/src/webui/ui/NapCat.ts @@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) { SettingItem( 'Napcat', undefined, - SettingButton('V1.4.8', 'napcat-update-button', 'secondary') + SettingButton('V1.4.9', 'napcat-update-button', 'secondary') ), ]), SettingList([ diff --git a/static/assets/renderer.js b/static/assets/renderer.js index bd113244..eaabf082 100644 --- a/static/assets/renderer.js +++ b/static/assets/renderer.js @@ -167,7 +167,7 @@ async function onSettingWindowCreated(view) { SettingItem( 'Napcat', void 0, - SettingButton("V1.4.8", "napcat-update-button", "secondary") + SettingButton("V1.4.9", "napcat-update-button", "secondary") ) ]), SettingList([