From e44f83fb9c13e4fab8aee07603632d533d12b4d8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 3 Jan 2023 15:51:49 +0900 Subject: [PATCH] update AiScript to 0.12.0 --- CHANGELOG.md | 3 + packages/backend/package.json | 1 - packages/frontend/package.json | 2 +- .../frontend/src/components/page/page.vue | 30 +-------- packages/frontend/src/pages/scratchpad.vue | 8 ++- .../frontend/src/pages/settings/general.vue | 2 - .../src/pages/settings/plugin.install.vue | 31 +++++++--- .../pages/settings/preferences-backups.vue | 1 - packages/frontend/src/plugin.ts | 15 ++--- .../frontend/src/scripts/hpml/evaluator.ts | 61 ++----------------- packages/frontend/src/scripts/hpml/lib.ts | 7 +-- packages/frontend/src/store.ts | 4 -- packages/frontend/src/widgets/aiscript.vue | 8 ++- packages/frontend/src/widgets/button.vue | 8 ++- yarn.lock | 51 +++++----------- 15 files changed, 75 insertions(+), 157 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b39c6604..284399b55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,9 @@ You should also include the user name that made the change. - You may have to `yarn run clean-all`, `sudo corepack enable` and `yarn set version berry` before running `yarn install` if you're still on yarn classic - 新たに動的なPagesを作ることはできなくなりました - 代わりに今後AiScriptを用いてより柔軟に動的なコンテンツを作成できるMisskey Play機能の実装を予定しています。 +- AiScriptが0.12.0にアップデートされました + - 0.12.0の変更点についてはこちら https://github.com/syuilo/aiscript/blob/master/CHANGELOG.md#0120 + - 0.12.0未満のプラグインは読み込むことはできません - iOS15以下のデバイスはサポートされなくなりました - API: カスタム絵文字エンティティに`url`プロパティが含まれなくなりました - 絵文字画像を表示するには、`/emoji/.webp`にリクエストすると画像が返ります。 diff --git a/packages/backend/package.json b/packages/backend/package.json index e4e3274c0..e78b3ef70 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -37,7 +37,6 @@ "@nestjs/testing": "9.2.1", "@peertube/http-signature": "1.7.0", "@sinonjs/fake-timers": "10.0.2", - "@syuilo/aiscript": "0.11.1", "accepts": "^1.3.8", "ajv": "8.11.2", "archiver": "5.3.1", diff --git a/packages/frontend/package.json b/packages/frontend/package.json index e38016568..2506e8e9d 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -11,7 +11,7 @@ "@rollup/plugin-alias": "4.0.2", "@rollup/plugin-json": "6.0.0", "@rollup/pluginutils": "5.0.2", - "@syuilo/aiscript": "0.11.1", + "@syuilo/aiscript": "0.12.0", "@tabler/icons": "^1.118.0", "@vitejs/plugin-vue": "4.0.0", "@vue/compiler-sfc": "3.2.45", diff --git a/packages/frontend/src/components/page/page.vue b/packages/frontend/src/components/page/page.vue index b5cb73c00..87a288bef 100644 --- a/packages/frontend/src/components/page/page.vue +++ b/packages/frontend/src/components/page/page.vue @@ -6,7 +6,6 @@