Satori-python

Latest version: v0.13.0

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.13.0

What's Changed
* `Session` 改名为 `ApiProtocol`, `account.session` 改为 `acoount.protocol`
* `Provider` 增加几类方法 (`ensure`, `proxy_urls`, `download_uploaded`)
* `Protocol` 新增方法 `upload_create`,用于上传文件并获取内部链接:[文件上传](https://satori.js.org/zh-CN/advanced/resource.html#api-upload-create)
* `Server` 现在支持 `upload.create` 路由与使用本地文件系统的默认实现
* `Server` 现在支持 `v1/proxy/{url}` 路由: [proxy-route](https://satori.js.org/zh-CN/advanced/resource.html#proxy-route)
* Update docs.md by hhhhhge in https://github.com/RF-Tar-Railt/satori-python/pull/8

New Contributors
* hhhhhge made their first contribution in https://github.com/RF-Tar-Railt/satori-python/pull/8

**Full Changelog**: https://github.com/RF-Tar-Railt/satori-python/compare/v0.12.0...v0.13.0

0.12.0

破坏性改动
- 删除 `Router` 与 `Adapter` 的 `on_call_api` 和 `on_call_internal_api`,现与 `Server.route` 的行为同步

新增
- `admin/login.list` 接口
- `Account` 新增属性 `self_info: Login`,用来为用户获取bot本身的信息

改进
- 部分适配 `Satori` 协议 v1.1 版本
- `App` 内部现在会处理 `login-added` 等事件

**Full Changelog**: https://github.com/RF-Tar-Railt/satori-python/compare/v0.11.5...v0.12.0

0.11.5

- 在 `Session` 上补充 `channel_mute` 和 `member_mute`

**Full Changelog**: https://github.com/RF-Tar-Railt/satori-python/compare/v0.11.4...v0.11.5

0.11.4

**Full Changelog**: https://github.com/RF-Tar-Railt/satori-python/compare/v0.11.3...v0.11.4

0.11.3

- 更新 `Author`, `Image`, `Audio` 等消息元素的字段
- 修复消息元素无法传入平台扩展字段的问题

**Full Changelog**: https://github.com/RF-Tar-Railt/satori-python/compare/v0.11.2...v0.11.3

0.11.2

- 为 `run_async` 补充 signal 处理
- 修复 `Quote`

**Full Changelog**: https://github.com/RF-Tar-Railt/satori-python/compare/v0.11.1...v0.11.2

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.