Satori-python

Latest version: v0.16.2

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

Scan your dependencies

Page 1 of 7

0.16.2

- 增加 `Login` 的兼容逻辑

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

0.16.1

- 修复请求头内的 `Satori-User-ID`

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

0.16.0

破坏性改动
- 适配 `Satori Protocol version 1.2`, 原有写法被废弃:
- `Login` 删除 `self_id`, `proxy_urls`, 增加 `sn`, `adapter`
- `Event` 删除 `platform`, `self_id`, `id` 改为 `sn`, `login` 变为必需资源
- `Adapter` 的 `download_uploaded` 和 `download_proxied` 改为 `handle_internal` 和 `handle_proxied`
- `ApiProtocol` 增加 `meta_get`, 原有 `admin_login_get` 被废弃
- `Request` 删除 `headers` 参数,增加 `origin: starlette.request.Request` 参数
- `satori.config` 移至 `satori.client.config`

新增
- `server` 下新增 `WebhookEndpoint`, 与原有 `WebhookInfo` 区分开
- `ApiProtocol` 增加 `webhook_create` 和 `webhook_delete`

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

0.15.2

- App 可以传入一个默认的 ApiProtocol 类型
- `MessageObject` 和 `MessageReceipt` 的 message 现在可以 set

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

0.15.1

- `Request` 增加 `platform` 和 `self_id`
- 对 token 的鉴权移至 Server 上

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

0.15.0

What's Changed
* 适配 Satori 协议 v1.2, 主要在 Login 方面的更改
* 修改 `send_xxxx` 的返回值类型

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

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.