柳华芳 发表于 2016-11-26 23:27:43

WeRoBot 1.0.0 , Python 的微信公众号开发框架

WeRoBot 1.0.0 发布了。WeRoBot 1.0.0 中对之前的一部分代码进行了重构,并加入了许多新的功能,修复了大量 bug。具体更新如下:
[*]增加对消息加解密的支持
[*]重写 werobot.messages, 完善对 Event 的支持
[*]将微信消息的 id 属性重命名为 message_id
[*]增加 werobot.reply.SuccessReply
[*]增加 werobot.reply.ImageReply
[*]增加 werobot.reply.VoiceReply
[*]增加 werobot.reply.VideoReply
[*]删除 werobot.reply.create_reply()
[*]为 werobot.reply.WeChatReply 增加 process_args 方法
[*]为 werobot.robot.BaseRoBot 增加 parse_message 方法
[*]为 werobot.robot.BaseRoBot 增加 get_encrypted_reply 方法
[*]删去了 Reply 中过时的 flag
[*]修复 werobot.session.filestorage.FileStorage 在 PyPy 下的兼容性问题
[*]增加 werobot.session.sqlitestorage.SQLiteStorage
[*]将默认的 SessionBackend 切换为 werobot.session.sqlitestorage.SQLiteStorage
[*]将图文消息单个消息的渲染函数放到 werobot.replies.Article 内
[*]取消对 Python2.6, Python3.3 的支持
[*]增加与 Django 1.6+, Flask, Bottle, Tornado 集成的支持
[*]替换 inspect.getargspec()
详细的更新日志可以参考: https://werobot.readthedocs.io/zh_CN/latest/changelog.html#version-1-0-0文档地址:https://werobot.readthedocs.io/zh_CN/latest/index.html项目地址:https://github.com/whtsky/WeRoBot下载地址:
[*]Source code (zip)
[*]Source code (tar.gz)

页: [1]
查看完整版本: WeRoBot 1.0.0 , Python 的微信公众号开发框架