Update dependency com.mikuac:shiro to v2.5.2#14
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
Conversation
68a7a48 to
a0a8839
Compare
cee12a4 to
0ffd2b5
Compare
a78ad2c to
26cb1cf
Compare
26cb1cf to
bb71481
Compare
bb71481 to
45dc38f
Compare
45dc38f to
c61265c
Compare
c61265c to
6a0c26a
Compare
6a0c26a to
4073a0c
Compare
4073a0c to
c9a7593
Compare
c9a7593 to
414e2d5
Compare
414e2d5 to
63a5233
Compare
63a5233 to
bdc42ba
Compare
bdc42ba to
c5bc4c4
Compare
7cac093 to
17b0b80
Compare
17b0b80 to
ae1b729
Compare
ae1b729 to
2c24070
Compare
2c24070 to
feb3835
Compare
feb3835 to
fba4d9f
Compare
fba4d9f to
641a6c1
Compare
641a6c1 to
2432725
Compare
2432725 to
9a73d3a
Compare
9a73d3a to
5c51aad
Compare
5c51aad to
86e334a
Compare
86e334a to
bcfd0e5
Compare
bcfd0e5 to
f8a91fc
Compare
f8a91fc to
6683ea3
Compare
6683ea3 to
65735a8
Compare
65735a8 to
17f571c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.3.7→2.5.2Release Notes
MisakaTAT/Shiro (com.mikuac:shiro)
v2.5.2: Shiro v2.5.2改进
修复了在 bot 上报消息时,拦截器
BotMessageEventInterceptor无法拦截 bot 自身发送消息的问题。新增默认的 bot 自身消息过滤机制:默认情况下将拦截并过滤 bot 发送的消息,除非开发者在senders中显式指定了对应的 bot ID,才会取消该过滤行为。调整构建配置build.gradle.kts,在打包为 JAR 文件时添加 Manifest 属性(包含项目名称与项目版本),支持在运行时获取 Shiro 框架自身版本信息,用于数据展示或其他业务处理场景。#363 @FlanChanXwOv2.5.1: Shiro v2.5.1变化
Spring Boot 3.x → 4.x
升级建议:
不保证与 Spring Boot 3.x 的运行时兼容性。
Jackson 2.x → 3.x
改进
PayloadSender并发实现CompletableFuture替代Lock / Condition,降低复杂度修复
SESSION_LOCKS,避免 Session 级资源泄漏finally清理逻辑,防止 callback map 内存泄漏v2.5.0: Shiro v2.5.0修复
在将消息转换为 ArrayMsg 时,增加了非法 JSON 格式的过滤,避免文本消息被误解析为 JSON 节点而导致数据错误
v2.4.9: Shiro v2.4.9修复
优化了 AT 过滤条件判定逻辑 #345
针对 PluginManager 的一些小修复 #346 @qingshu-ui
v2.4.8: Shiro v2.4.8变更
v2.4.7: Shiro v2.4.7变更
@Shiro注解的插件增加 MESSAGE_BLOCK 支持 #334 @TinyTsukiv2.4.6: Shiro v2.4.6变更
替换 fastjson2 为 jackson #331 @MisakaTAT @HollisMeynell
v2.4.5: Shiro v2.4.5修复
修复了一些线程安全问题 #325 @Chowhound-ch
修复了在 array 上报的消息中值被错误转义的问题 #323
优化
重构了从 string 消息到 array 的转换方法,提升约90%左右的性能。
v2.4.4: Shiro v2.4.4新增
Bot 实现 Closeable 接口,并提供 close() 方法,允许主动断开连接 @HollisMeynell #317
修正了 MESSAGE_SEQ 常量的值,从 "message_seq" 改为 "messageSeq" @sa-yi #315
添加NapCat群聊和好友戳一戳支持 @sa-yi #322
v2.4.3: Shiro v2.4.3💡 需要注意的是,2.4.2 和 2.4.3 两个版本在内容上完全一致,没有任何差别。此次发布主要是为了纠正命名空间的问题。
v2.4.1: Shiro v2.4.1新增
增加了一个支持自定义
type和其他参数的音乐消息构造 #300支持获取好友和群聊的历史消息 #298 @sa-yi
v2.4.0: Shiro v2.4.0新增
在 MsgUtils 中添加了对图片字节数组的支持 #294
修复
解决 MultiValueMap 操作导致的 UnsupportedOperationException #297
v2.3.9: Shiro v2.3.9新增
扩展合并转发方法,支持自定义消息(仅在协议端为 napcat 进行测试) #291 @sa-yi
修复
修复了一个依赖传递的问题 #291 @sa-yi
v2.3.8: Shiro v2.3.8新增
支持自动下载外部插件依赖。#285 @sa-yi
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 this update again.
This PR was generated by Mend Renovate. View the repository job log.