This repository has been archived by the owner on Oct 20, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.15.0-M1
->2.16.0
2.15.0-M1
->2.16.0
2.15.0-M1
->2.16.0
Release Notes
mamoe/mirai (net.mamoe:mirai-core-utils)
v2.15.0
: 2.15.02.15.0 是 2.15 的稳定版本,此更新记录仅包含 2.15.0-RC 至 2.15.0 的更新。完整更新记录请查看前几个预览版本
mirai-core
不兼容变更
fa389f4
)新特性
val MiraiProtocol.isQRLoginSupported: Boolean
(#2726, #2642)优化和修复
关于包数据加密 / 签名 (Internal)(#2716)
mirai 不会内置任何第三方 签名/加密 服务,而是提供 SPI 让用户自行实现。
mirai 已经提供了外部 EncryptService SPI 供用户对接。如果您没有能力自行对接,您可以考虑到论坛寻找社区对接。
在使用社区服务前,您需要了解并理解以下内容
当,且仅当, 服务来源可信时,使用此服务。mirai 传递给服务的内容包括但不限于:
据最近观察,部分相关的服务实现并没有对消息进行加密,如果您所访问的服务位于公开网络,您的数据有被窃取的风险。
据最近观察,部分相关服务使用
HTTP GET
请求传递数据体,当远程服务出错时,服务对接可能会直接将此次请求的连接直接输出到日志中,此日志可能包含了此次尝试 签名/加密 的内容,而此内容可能包含关键信息。当您需要上传日志时,请记得移除相关的请求日志。
如果您无法分辨哪些请求需要被抹除时,您可以参考以下规则:
0-9
和ABCDEF
组成的序列 )v2.15.0-RC
: 2.15.0-RCmirai-core
不兼容变更
DeviceInfo
构造器及 serializer, 以DeviceInfoBuilder
和DeviceInfo.serializeToString
替代 (#2674)MessageSyncEvent
的MessageSource
的targetId
由机器人 ID 变为实际的消息发送对象 (#2122, #2513)新特性
更新登录协议 (#2613, #2592)
现在可以在
BotAuthorization.authorize
时通过BotAuthInfo
获取导致重新登录的原因 (#2664)优化插件 classpath 策略 (#2666)
AudioToSilkService
现在稳定 (#2658)支持使用 JSON 保存与读取
PluginData
与PluginConfig
(#2498 by @NoMathExpectation)支持获取和管理群精华消息 (
Group.essences
) (#837, #2293, #2314 by @cssxsh)以 Android Library 形式发布 Android 编译目标 (#2635, #2699 by @MrXiaoM)
优化和修复
修复扫码登录的已知问题 (无法进入登录验证等) (#2623, #2645, #2633 with @cssxsh)
修复刷新令牌后令牌不保存的问题 (#2590, #2584)
修复
java.lang.IllegalStateException: wLoginSigInfoField is not yet initialized
(#1603, #2449, #2450 by @sandtechnology)修复获取群活跃数据失败的问题 (#2609, #2610 by @cssxsh)
修复部分合并转发消息仅被作为APP消息接收的问题 (#2618, #2675)
修复
MessageSource
定位相关逻辑: (#2510, #2513)修复获取群精华消息报错 (#2668, #2672 by @cssxsh)
修复群公告协议 (#2619 by @cssxsh)
修复
OnlineAnnouncement.members
只能获取 50 个人的问题 (#2531, #2530 by @cssxsh)修复发送消息时实际发送的消息会忽略通过
MessagePreSendEvent
所进行的修改的问题 (#2525 by @NoMathExpectation)优化文档 (#2639 by @cssxsh)
完善了用户文档部分的内容 (#2541 by @MikkoAyaka)
在文档注释手表协议不支持戳一戳事件 (#2572 by @7aGiven)
在消息日志中去除特殊控制符
添加
QRCodeLoginListener.onCompleted()
用于资源释放mirai-core-mock
Image.isUploaded
(#2582 by @Nambers)mockHonorMember
(#2473 by @Nambers)mirai-console
优化和修复
AutoLoginEvent
与StartupEvent
的描述 (#2692 by @BakaFT)IDEA
新特性
jvmTarget
(#2387, #2631 by @Samarium150)gradle-wrapper.properties
文件和src/test
文件夹 (#2617, #2622 by @Samarium150)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.