Skip to content

Commit

Permalink
chore: 发布 0.11.0 (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
st1020 authored Nov 3, 2024
1 parent 011fe17 commit 3bbdf9a
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 21 deletions.
1 change: 1 addition & 0 deletions .release.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,6 @@ def write_version_toml(file: Path, version: str, *, is_package: bool = False) ->
).replace("_", "\\_")
)
subprocess.run(["pnpm", "exec", "prettier", "--write", "docs/changelog.md"], check=True)
subprocess.run(["uv", "sync", "--all-extras", "--dev", "--upgrade"], check=True)
subprocess.run(["git", "add", "."], check=True)
subprocess.run(["git", "commit", "-m", "chore: 发布 " + version], check=True)
23 changes: 23 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,29 @@ sidebar: auto

# 更新日志

## [0.11.0](https://github.com/AliceBotProject/alicebot/compare/v0.10.0...v0.11.0) (2024-11-03)

### Bug Fixes

- 修复部分类型错误 ([#131](https://github.com/AliceBotProject/alicebot/issues/131)) ([35d85b0](https://github.com/AliceBotProject/alicebot/commit/35d85b0bb9e4ef628f31d3d35775fc452cd50c06))
- **onebot:** 修复 OneBot 适配器 typo ([#132](https://github.com/AliceBotProject/alicebot/issues/132)) ([5a23f51](https://github.com/AliceBotProject/alicebot/commit/5a23f519a4c4e70e69557610b70ad3aa00990cf6))

### Features

- 使用 AnyIO 重构 ([#138](https://github.com/AliceBotProject/alicebot/issues/138)) ([c518c2b](https://github.com/AliceBotProject/alicebot/commit/c518c2b489332bfb482cff65db967722079e65c1))
- 添加 override 装饰器 ([#130](https://github.com/AliceBotProject/alicebot/issues/130)) ([7b2a9b6](https://github.com/AliceBotProject/alicebot/commit/7b2a9b6b9cb8e1f8a6d34f84f5a2eb918e013be0))
- 移除 Python 3.8 支持 ([#129](https://github.com/AliceBotProject/alicebot/issues/129)) ([1813a64](https://github.com/AliceBotProject/alicebot/commit/1813a6446cadb002475f4d475d5c5e0f206af972))
- **bot:** 为 Bot 类的 \_\_init\_\_ 添加用于控制是否处理系统信号的 handle_signals 参数 ([#140](https://github.com/AliceBotProject/alicebot/issues/140)) ([a0e175f](https://github.com/AliceBotProject/alicebot/commit/a0e175f4cece5b6304c10dd972a17b4241142862))
- **bot:** Bot 类新增用于安全退出的 exit() 方法 ([#139](https://github.com/AliceBotProject/alicebot/issues/139)) ([7a58d41](https://github.com/AliceBotProject/alicebot/commit/7a58d41b81048365ce98df552e84370add9b2394))
- **cqhttp:** 修改 CQHTTP 适配器事件的 detail_type 判断方式 ([#146](https://github.com/AliceBotProject/alicebot/issues/146)) ([ffa2c40](https://github.com/AliceBotProject/alicebot/commit/ffa2c40a42ce36fed563d4f84701a84ab8474cd3))
- **telegram:** 新增 Telegram 协议适配器 ([#147](https://github.com/AliceBotProject/alicebot/issues/147)) ([77ea80b](https://github.com/AliceBotProject/alicebot/commit/77ea80bac9071a76c93c3e21fbdd2360d005d31e))
- **telegram:** 优化 API 和 Event 的代码生成 ([#150](https://github.com/AliceBotProject/alicebot/issues/150)) ([42e3174](https://github.com/AliceBotProject/alicebot/commit/42e3174c0350cba8a2a897cc72e197d4a89df188))

### BREAKING CHANGES

- **bot:** 移除 Bot 类型的 should_exit 公开属性
- 移除 Python 3.8 支持

## [0.10.0](https://github.com/AliceBotProject/alicebot/compare/v0.9.0...v0.10.0) (2024-03-22)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "alicebot",
"type": "module",
"version": "0.10.0",
"version": "0.11.0",
"private": true,
"description": "A simple asynchronous python chat bot framework.",
"author": "st1020 <[email protected]>",
Expand Down
4 changes: 2 additions & 2 deletions packages/alicebot-adapter-apscheduler/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "alicebot-adapter-apscheduler"
version = "0.10.0"
version = "0.11.0"
description = "APScheduler adapter for AliceBot."
authors = [{ name = "st1020", email = "[email protected]" }]
license = { text = "MIT" }
Expand All @@ -17,7 +17,7 @@ classifiers = [
"Topic :: Communications :: Chat",
]
requires-python = ">=3.9"
dependencies = ["alicebot==0.10.0", "apscheduler>=3.7,<4.0"]
dependencies = ["alicebot==0.11.0", "apscheduler>=3.7,<4.0"]

[project.urls]
Homepage = "https://docs.alicebot.dev/"
Expand Down
4 changes: 2 additions & 2 deletions packages/alicebot-adapter-cqhttp/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "alicebot-adapter-cqhttp"
version = "0.10.0"
version = "0.11.0"
description = "OneBot(CQHTTP) adapter for AliceBot."
authors = [{ name = "st1020", email = "[email protected]" }]
license = { text = "MIT" }
Expand All @@ -17,7 +17,7 @@ classifiers = [
"Topic :: Communications :: Chat",
]
requires-python = ">=3.9"
dependencies = ["alicebot==0.10.0"]
dependencies = ["alicebot==0.11.0"]

[project.urls]
Homepage = "https://docs.alicebot.dev/"
Expand Down
4 changes: 2 additions & 2 deletions packages/alicebot-adapter-dingtalk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "alicebot-adapter-dingtalk"
version = "0.10.0"
version = "0.11.0"
description = "DingTalk adapter for AliceBot."
authors = [{ name = "st1020", email = "[email protected]" }]
license = { text = "MIT" }
Expand All @@ -17,7 +17,7 @@ classifiers = [
"Topic :: Communications :: Chat",
]
requires-python = ">=3.9"
dependencies = ["alicebot==0.10.0"]
dependencies = ["alicebot==0.11.0"]

[project.urls]
Homepage = "https://docs.alicebot.dev/"
Expand Down
4 changes: 2 additions & 2 deletions packages/alicebot-adapter-mirai/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "alicebot-adapter-mirai"
version = "0.10.0"
version = "0.11.0"
description = "Mirai adapter for AliceBot."
authors = [{ name = "st1020", email = "[email protected]" }]
license = { text = "AGPL-3.0-or-later" }
Expand All @@ -17,7 +17,7 @@ classifiers = [
"Topic :: Communications :: Chat",
]
requires-python = ">=3.9"
dependencies = ["alicebot==0.10.0"]
dependencies = ["alicebot==0.11.0"]

[project.urls]
Homepage = "https://docs.alicebot.dev/"
Expand Down
4 changes: 2 additions & 2 deletions packages/alicebot-adapter-onebot/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "alicebot-adapter-onebot"
version = "0.10.0"
version = "0.11.0"
description = "OneBot v12 adapter for AliceBot."
authors = [{ name = "st1020", email = "[email protected]" }]
license = { text = "MIT" }
Expand All @@ -17,7 +17,7 @@ classifiers = [
"Topic :: Communications :: Chat",
]
requires-python = ">=3.9"
dependencies = ["alicebot==0.10.0"]
dependencies = ["alicebot==0.11.0"]

[project.urls]
Homepage = "https://docs.alicebot.dev/"
Expand Down
4 changes: 2 additions & 2 deletions packages/alicebot-adapter-telegram/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "alicebot-adapter-telegram"
version = "0.10.0"
version = "0.11.0"
description = "Telegram adapter for AliceBot."
authors = [{ name = "AliceBot", email = "[email protected]" }]
license = { text = "MIT" }
Expand All @@ -17,7 +17,7 @@ classifiers = [
"Topic :: Communications :: Chat",
]
requires-python = ">=3.9"
dependencies = ["alicebot==0.10.0"]
dependencies = ["alicebot==0.11.0"]

[project.urls]
Homepage = "https://docs.alicebot.dev/"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "alicebot"
version = "0.10.0"
version = "0.11.0"
description = "A simply asynchronous python chatbot framework."
authors = [{ name = "st1020", email = "[email protected]" }]
license = { text = "MIT" }
Expand Down
14 changes: 7 additions & 7 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3bbdf9a

Please sign in to comment.