diff --git a/.release.py b/.release.py index e38d722..20c2cf5 100644 --- a/.release.py +++ b/.release.py @@ -36,6 +36,7 @@ def write_version_json(file: Path, version: str) -> None: json_file["version"] = version with file.open("w", encoding="utf-8") as f: json.dump(json_file, f, indent=2) + f.write("\n") def write_version_toml(file: Path, version: str, *, is_package: bool = False) -> None: diff --git a/docs/changelog.md b/docs/changelog.md index 07a4fdd..138e8f0 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -4,6 +4,20 @@ sidebar: auto # 更新日志 +## [0.9.0](https://github.com/AliceBotProject/alicebot/compare/v0.8.1...v0.9.0) (2023-10-28) + +### Bug Fixes + +- 修复一些类型检查错误 ([#93](https://github.com/AliceBotProject/alicebot/issues/93)) ([fc48118](https://github.com/AliceBotProject/alicebot/commit/fc48118ce8b0fd6f8a83a0c91bc15f7573b5e769)) +- 修复在 Python 3.8 和 3.9 下的错误 ([815a7a6](https://github.com/AliceBotProject/alicebot/commit/815a7a61a0506b4c7b9992cc1975ec8394611b6d)) +- 修复在 Python 3.8 和 3.9 下的错误 ([6bdcedd](https://github.com/AliceBotProject/alicebot/commit/6bdceddfec1a5a52c6293e9332b0a66fd4a73641)) +- **mirai:** 修复拼写错误 ([#91](https://github.com/AliceBotProject/alicebot/issues/91)) ([e653af7](https://github.com/AliceBotProject/alicebot/commit/e653af7cc67e9070df51eb26ef21429341d15730)) + +### Features + +- **bot:** 修改部分日志输出 ([#85](https://github.com/AliceBotProject/alicebot/issues/85)) ([c07b68a](https://github.com/AliceBotProject/alicebot/commit/c07b68aa0ba4e456eda1aa4871ca4c370a660c38)) +- **plugin:** 支持在运行时读取插件类的泛型参数以获取初始化状态和插件配置类 ([#98](https://github.com/AliceBotProject/alicebot/issues/98)) ([c20e7bb](https://github.com/AliceBotProject/alicebot/commit/c20e7bbeef980c7f60ad472ce17b8ab98dc92383)) + ## [0.8.1](https://github.com/AliceBotProject/alicebot/compare/v0.8.0...v0.8.1) (2023-08-27) ### Bug Fixes diff --git a/package.json b/package.json index 9671d6f..cecd974 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "alicebot", - "version": "0.8.1", + "version": "0.9.0", "description": "A simple asynchronous python chat bot framework.", "private": true, "type": "module", diff --git a/packages/alicebot-adapter-apscheduler/pyproject.toml b/packages/alicebot-adapter-apscheduler/pyproject.toml index d48ded9..2d6f293 100644 --- a/packages/alicebot-adapter-apscheduler/pyproject.toml +++ b/packages/alicebot-adapter-apscheduler/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "alicebot-adapter-apscheduler" -version = "0.8.1" +version = "0.9.0" description = "APScheduler adapter for AliceBot." authors = [{ name = "st1020", email = "stone_1020@qq.com" }] license = { text = "MIT" } @@ -17,7 +17,7 @@ classifiers = [ "Topic :: Communications :: Chat", ] requires-python = ">=3.8" -dependencies = ["alicebot==0.8.1", "apscheduler>=3.7,<4.0"] +dependencies = ["alicebot==0.9.0", "apscheduler>=3.7,<4.0"] [project.urls] Homepage = "https://docs.alicebot.dev/" diff --git a/packages/alicebot-adapter-cqhttp/pyproject.toml b/packages/alicebot-adapter-cqhttp/pyproject.toml index b58b23b..2787eb3 100644 --- a/packages/alicebot-adapter-cqhttp/pyproject.toml +++ b/packages/alicebot-adapter-cqhttp/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "alicebot-adapter-cqhttp" -version = "0.8.1" +version = "0.9.0" description = "OneBot(CQHTTP) adapter for AliceBot." authors = [{ name = "st1020", email = "stone_1020@qq.com" }] license = { text = "MIT" } @@ -17,7 +17,7 @@ classifiers = [ "Topic :: Communications :: Chat", ] requires-python = ">=3.8" -dependencies = ["alicebot==0.8.1"] +dependencies = ["alicebot==0.9.0"] [project.urls] Homepage = "https://docs.alicebot.dev/" diff --git a/packages/alicebot-adapter-dingtalk/pyproject.toml b/packages/alicebot-adapter-dingtalk/pyproject.toml index 162f0e8..81dbba0 100644 --- a/packages/alicebot-adapter-dingtalk/pyproject.toml +++ b/packages/alicebot-adapter-dingtalk/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "alicebot-adapter-dingtalk" -version = "0.8.1" +version = "0.9.0" description = "DingTalk adapter for AliceBot." authors = [{ name = "st1020", email = "stone_1020@qq.com" }] license = { text = "MIT" } @@ -17,7 +17,7 @@ classifiers = [ "Topic :: Communications :: Chat", ] requires-python = ">=3.8" -dependencies = ["alicebot==0.8.1"] +dependencies = ["alicebot==0.9.0"] [project.urls] Homepage = "https://docs.alicebot.dev/" diff --git a/packages/alicebot-adapter-mirai/pyproject.toml b/packages/alicebot-adapter-mirai/pyproject.toml index 6e31850..72fcb50 100644 --- a/packages/alicebot-adapter-mirai/pyproject.toml +++ b/packages/alicebot-adapter-mirai/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "alicebot-adapter-mirai" -version = "0.8.1" +version = "0.9.0" description = "Mirai adapter for AliceBot." authors = [{ name = "st1020", email = "stone_1020@qq.com" }] license = { text = "AGPL-3.0-or-later" } @@ -17,7 +17,7 @@ classifiers = [ "Topic :: Communications :: Chat", ] requires-python = ">=3.8" -dependencies = ["alicebot==0.8.1"] +dependencies = ["alicebot==0.9.0"] [project.urls] Homepage = "https://docs.alicebot.dev/" diff --git a/packages/alicebot-adapter-onebot/pyproject.toml b/packages/alicebot-adapter-onebot/pyproject.toml index e68c780..559edca 100644 --- a/packages/alicebot-adapter-onebot/pyproject.toml +++ b/packages/alicebot-adapter-onebot/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "alicebot-adapter-onebot" -version = "0.8.1" +version = "0.9.0" description = "OneBot v12 adapter for AliceBot." authors = [{ name = "st1020", email = "stone_1020@qq.com" }] license = { text = "MIT" } @@ -17,7 +17,7 @@ classifiers = [ "Topic :: Communications :: Chat", ] requires-python = ">=3.8" -dependencies = ["alicebot==0.8.1"] +dependencies = ["alicebot==0.9.0"] [project.urls] Homepage = "https://docs.alicebot.dev/" diff --git a/pdm.lock b/pdm.lock index f90e782..3e81a3e 100644 --- a/pdm.lock +++ b/pdm.lock @@ -100,58 +100,58 @@ files = [ [[package]] name = "alicebot-adapter-apscheduler" -version = "0.8.1" +version = "0.9.0" requires_python = ">=3.8" editable = true path = "./packages/alicebot-adapter-apscheduler" summary = "APScheduler adapter for AliceBot." dependencies = [ - "alicebot==0.8.1", + "alicebot==0.9.0", "apscheduler<4.0,>=3.7", ] [[package]] name = "alicebot-adapter-cqhttp" -version = "0.8.1" +version = "0.9.0" requires_python = ">=3.8" editable = true path = "./packages/alicebot-adapter-cqhttp" summary = "OneBot(CQHTTP) adapter for AliceBot." dependencies = [ - "alicebot==0.8.1", + "alicebot==0.9.0", ] [[package]] name = "alicebot-adapter-dingtalk" -version = "0.8.1" +version = "0.9.0" requires_python = ">=3.8" editable = true path = "./packages/alicebot-adapter-dingtalk" summary = "DingTalk adapter for AliceBot." dependencies = [ - "alicebot==0.8.1", + "alicebot==0.9.0", ] [[package]] name = "alicebot-adapter-mirai" -version = "0.8.1" +version = "0.9.0" requires_python = ">=3.8" editable = true path = "./packages/alicebot-adapter-mirai" summary = "Mirai adapter for AliceBot." dependencies = [ - "alicebot==0.8.1", + "alicebot==0.9.0", ] [[package]] name = "alicebot-adapter-onebot" -version = "0.8.1" +version = "0.9.0" requires_python = ">=3.8" editable = true path = "./packages/alicebot-adapter-onebot" summary = "OneBot v12 adapter for AliceBot." dependencies = [ - "alicebot==0.8.1", + "alicebot==0.9.0", ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index 442cd2b..e5ee6f0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "alicebot" -version = "0.8.1" +version = "0.9.0" description = "A simply asynchronous python chatbot framework." authors = [{ name = "st1020", email = "stone_1020@qq.com" }] license = { text = "MIT" }