Bump version to 0.4.0

This commit is contained in:
Richard Chien
2018-10-16 01:09:53 +08:00
parent 2e82b3fa61
commit d8f6066193
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,11 @@
# 更新日志
## v0.4.0
- `message_preprocessor` 装饰器现要求被装饰函数接收 `bot``ctx` 两个参数
- 调整了 Type Hint使其更准确并新增 `none.typing` 模块,提供部分常用类型
- 规范部分模块的导入,现可通过 `none.Message` 访问 `aiocqhttp.Message`,通过 `none.CQHttpError` 访问 `aiocqhttp.Error`
## v0.3.2
- `none.message` 模块现已导入所有 `aiocqhttp.message` 中的内容,因此不必再从后者导入 `Message``escape` 等类和函数