You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
mirai-core
不兼容变更
EventChannel
receiver 版本替换 (弃用无 receiver 的事件扩展函数, 增加其 EventChannel receiver 版本替换 #1827, 弃用无 receiver 的事件扩展函数, 增加其EventChannel
receiver 版本替换 #1754)FileMessage
, 但仍然允许通过RemoteFile.upload
创建的FileMessage
的上传 (撤销 '阻止用户发送FileMessage
' (#1646) 的修改, 改为日志警告, 并在未来版本再恢复禁止 #1715)EventChannel.asChannel
, 以EventChannel.forwardToChannel
替换 (Deprecate experimentalEventChannel.asChannel
and addEventChannel.forwardToChannel
#1753)新特性
EventChannel.forwardToChannel
(Deprecate experimentalEventChannel.asChannel
and addEventChannel.forwardToChannel
#1753)优化和修复
FriendMessageSyncEvent
的问题 (好友无法消息同步(FriendMessageSyncEvent) #1624)MemberHonorChangeEvent
事件会重复收到两次的问题 (MemberHonorChangeEvent 事件会重复收到两次 #1707)Bot.close
时没有广播BotOfflineEvent.Active
的问题 (bot.close()时不会通知到BotOfflineEvent #1717)imageId
发送的图片有时无法正常显示的问题 (Id发送图片无法正常显示 #1769)redirectNetworkLogToDirectory
后日志identity
为Bot
的问题 (修复设置 redirectNetworkLogToDirectory 后日志 identity 为 Bot 的问题 #1751 by @StarWishsama)redirectBotLogToDirectory
和redirectNetworkLogToDirectory
后日志文件中都为Net
日志的问题 (同时设置redirectBotLogToDirectory()、redirectNetworkLogToDirectory(),日志文件中都为Net日志 #1743 by @imldy)SimpleMessage
以解决安全隐患 (Log4jLoggerAdapter
被实现在 Mirai 内部,而目前的实现有将完全不需要参数求解的log(这是MiraiLogger的语义)传递给log4j参数求解器的隐患 #1729)AbstractImage
到 mirai-core internals #1670)mirai-console
新特性
Instant
,LocalTime
) 等的CommandValueArgumentParser
(add: TemporalArgumentParser #1748 by @cssxsh)ConsoleLaunchOptions
(仅) 供前端实现修改默认行为优化和修复
mirai-console-intellij
MessageContent.Key
的使用增加了一个警告 (弃用MessageContent.Key
#1363, Add inspection for usages of abstract message keys in restricted areas #1759)This discussion was created from the release 2.10.0-RC.
Beta Was this translation helpful? Give feedback.
All reactions