From d8f6066193abdd2bcac64978102842dc23403e30 Mon Sep 17 00:00:00 2001 From: Richard Chien Date: Tue, 16 Oct 2018 01:09:53 +0800 Subject: [PATCH] Bump version to 0.4.0 --- CHANGELOG.md | 6 ++++++ setup.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 39969a0a..2587d1e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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` 等类和函数 diff --git a/setup.py b/setup.py index f53e189b..782317db 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ with open('README.md', 'r', encoding='utf-8') as f: setup( name='none-bot', - version='0.3.2', + version='0.4.0', packages=find_packages(include=('none', 'none.*')), url='https://github.com/richardchien/none-bot', license='MIT License',