Releases: simple-robot/simpler-robot
Releases · simple-robot/simpler-robot
v3.1.0
What's Changed
🔧 修复
- 使生成的 xxxAsync 函数会正确的使用当前类作为 CoroutineScope (如果可以的话) by @ForliyScarlet in #672
- 增加对迷惑的ID类型的警告注解与部分说明 by @ForliyScarlet in #678
🎉 新特性
- ID 支持两个无符号整型类型 by @ForliyScarlet in #677
- 为 BotManagers 增加部分Java友好的API: getFirst(Class), getFirstOrNull(Class) by @ForliyScarlet in #684
- 提供 ID 和 Timestamp 的属性委托API by @ForliyScarlet in #688
- 支持对自动加载bot过程中出现的异常进行策略配置 by @ForliyScarlet in #690
📦 依赖更新
- build(deps): bump gradleCommon from 0.0.11 to 0.1.0 by @dependabot in #666
- build(deps): bump gradleCommon from 0.1.0 to 0.1.1 by @dependabot in #668
- build(deps): bump kotlinx-coroutines from 1.7.0 to 1.7.1 by @dependabot in #669
- build(deps): bump kotlinx-serialization from 1.5.0 to 1.5.1 by @dependabot in #664
- build(deps): bump com.charleskorn.kaml:kaml from 0.53.0 to 0.54.0 by @dependabot in #691
✨ 优化
- Application在使用
joinBlocking
时不再输出 timeout log by @ForliyScarlet in #685
Full Changelog: v3.0.0...v3.1.0
v3.0.0
Note
各组件会在后续陆续跟进更新。
What's Changed
⚠️ 不兼容
- 调整
FriendsContainer.friendCount
,ContactsContainer.contactCount
,GroupsContainer.groupCount
,GuildsContainer.guildCount
的默认行为和语义 by @ForliyScarlet in #644
🎉 新特性
- 新的简单'状态机'实现 by @ForliyScarlet in #641
- 独立
simbot-api
中的注解为新模块simbot-annotations
; - 独立
simbot-api
中 suspend 转化函数为新模块simbot-util-suspend-transformer
by @ForliyScarlet in #652
📦 依赖更新
- build(deps): bump kotlinx-serialization from 1.5.0-RC to 1.5.0 by @dependabot in #626
- build(deps): bump org.jetbrains:annotations from 23.0.0 to 24.0.1 by @dependabot in #628
- build(deps): bump ktor from 2.1.1 to 2.2.4 by @dependabot in #620
- build(deps): bump org.slf4j:slf4j-nop from 1.7.36 to 2.0.7 by @dependabot in #638
- build(deps): bump com.charleskorn.kaml:kaml from 0.49.0 to 0.53.0 by @dependabot in #637
- build(deps): bump openjdk-jmh from 1.35 to 1.36 by @dependabot in #635
- build(deps): bump love.forte.plugin.suspend-transform:suspend-transform-plugin-gradle from 0.2.2 to 0.2.7 by @dependabot in #634
- build(deps): bump spring-boot from 2.7.6 to 2.7.10 by @dependabot in #639
- build(deps): bump ktor from 2.2.4 to 2.3.0 by @dependabot in #651
- build(deps): bump org.jetbrains.kotlinx:lincheck from 2.16 to 2.17 by @dependabot in #647
- 更新Kotlin到v1.8.21 by @ForliyScarlet in #659
- 更新kotlinx.coroutines到v1.7.0 by @ForliyScarlet in #660
- build(deps): bump com.github.gmazzo.buildconfig from 3.1.0 to 4.0.4 by @dependabot in #658
- build(deps): bump spring-boot from 2.7.10 to 2.7.11 by @dependabot in #654
- 更新 slf4j-api 的版本并改进 simbot-logger-slf4j-impl 内的实现 by @ForliyScarlet in #661
Full Changelog: v3.0.0-RC.3...v3.0.0
v3.0.0-RC.3
此版本主要更新内容大多为文档以及模块相关优化。
如果后续没有什么需要修复的bug,则下一个版本应该就是 v3.0.0
了。
仓库参考
模块 | search.maven |
---|---|
simboot-api | v3.0.0-RC.3 |
simboot-core | v3.0.0-RC.3 |
simboot-core-annotation | v3.0.0-RC.3 |
simboot-core-spring-boot-starter | v3.0.0-RC.3 |
simbot-api | v3.0.0-RC.3 |
simbot-core | v3.0.0-RC.3 |
simbot-logger | v3.0.0-RC.3 |
simbot-logger-jvm | v3.0.0-RC.3 |
simbot-logger-js | v3.0.0-RC.3 |
simbot-logger-slf4j-impl | v3.0.0-RC.3 |
simbot-util-annotation-tool | v3.0.0-RC.3 |
simbot-util-api-requestor-core | v3.0.0-RC.3 |
simbot-util-api-requestor-core-jvm | v3.0.0-RC.3 |
simbot-util-api-requestor-core-js | v3.0.0-RC.3 |
simbot-util-api-requestor-ktor | v3.0.0-RC.3 |
simbot-util-api-requestor-ktor-jvm | v3.0.0-RC.3 |
simbot-util-api-requestor-ktor-js | v3.0.0-RC.3 |
simbot-util-di-api | v3.0.0-RC.3 |
simbot-util-di-core | v3.0.0-RC.3 |
simbot-util-stage-loop | v3.0.0-RC.3 |
simbot-util-stage-loop-jvm | v3.0.0-RC.3 |
simbot-util-stage-loop-js | v3.0.0-RC.3 |
What's Changed
✨ 优化
- 调整项目整体目录结构以优化生成的文档效果 by @ForliyScarlet in #575
- 新的KDoc发布地址: https://docs.simbot.forte.love/main by @ForliyScarlet in #577
- 优化KDoc的生成与表现效果 by @ForliyScarlet in #578
👀 其他变更
- 将 forte-di 和 annotation-tool 迁移到当前仓库 by @ForliyScarlet in #587
Full Changelog: v3.0.0-RC.2...v3.0.0-RC.3
v3.0.0-RC.2
仓库参考
模块 | search.maven |
---|---|
simbot-logger | v3.0.0-RC.2 |
simbot-logger-jvm | v3.0.0-RC.2 |
simbot-logger-js | v3.0.0-RC.2 |
simbot-logger-slf4j-impl | v3.0.0-RC.2 |
simbot-api | v3.0.0-RC.2 |
simboot-api | v3.0.0-RC.2 |
simboot-core | v3.0.0-RC.2 |
simboot-core-annotation | v3.0.0-RC.2 |
simboot-core-spring-boot-starter | v3.0.0-RC.2 |
simbot-core | v3.0.0-RC.2 |
Kotlin的更新和编译器插件的更新有可能会产生破坏性影响,此版本的使用需要稍加谨慎对待,组件后续会陆续地尝试跟随更新。
What's Changed
🎉 新特性
- 为 SocialRelationsContainer 中的类型增加获取对应序列的总数量的API by @ForliyScarlet in #566
👀 其他变更
- 更新Kotln到 v1.8.0; 更新相关使用的编译器插件; by @ForliyScarlet in #572
Full Changelog: v3.0.0-RC...v3.0.0-RC.2
v3.0.0-RC
仓库参考
模块 | search.maven |
---|---|
simbot-logger | v3.0.0-RC |
simbot-logger-jvm | v3.0.0-RC |
simbot-logger-js | v3.0.0-RC |
simbot-logger-slf4j-impl | v3.0.0-RC |
simbot-api | v3.0.0-RC |
simboot-api | v3.0.0-RC |
simboot-core | v3.0.0-RC |
simboot-core-annotation | v3.0.0-RC |
simboot-core-spring-boot-starter | v3.0.0-RC |
simbot-core | v3.0.0-RC |
simbot-util-stage-loop | v3.0.0-RC |
simbot-util-stage-loop-jvm | v3.0.0-RC |
simbot-util-stage-loop-js | v3.0.0-RC |
simbot-util-api-requestor-core | v3.0.0-RC |
simbot-util-api-requestor-core-jvm | v3.0.0-RC |
simbot-util-api-requestor-core-js | v3.0.0-RC |
simbot-util-api-requestor-ktor | v3.0.0-RC |
simbot-util-api-requestor-ktor-jvm | v3.0.0-RC |
simbot-util-api-requestor-ktor-js | v3.0.0-RC |
What's Changed
⚠️ 不兼容
- 移除绝大多数被标记为过时(
@Deprecated
)的内容 by @ForliyScarlet in #560
🎉 新特性
- Messages中增加
getFirst(Key)
、getFirstOrNull(Key)
by @ForliyScarlet in #557
✨ 优化
- 不痛不痒的一些小更新 by @ForliyScarlet in #559
Full Changelog: v3.0.0-M6...v3.0.0-RC
v3.0.0-M6
仓库参考
模块 | search.maven |
---|---|
simbot-logger | v3.0.0-M6 |
simbot-logger-jvm | v3.0.0-M6 |
simbot-logger-js | v3.0.0-M6 |
simbot-api | v3.0.0-M6 |
simbot-core | v3.0.0-M6 |
simboot-api | v3.0.0-M6 |
simboot-core | v3.0.0-M6 |
simboot-core-annotation | v3.0.0-M6 |
simboot-core-spring-boot-starter | v3.0.0-M6 |
What's Changed
🔧 修复
- 修复Spring Boot中无法读取可重复注解的问题;移除注解上的多余标记、调整spring-boot-starter项目配置等 by @ForliyScarlet in #541
- 修复SpringBoot中自定义过滤器解析问题 by @ForliyScarlet in #544
🎉 新特性
- simbot-logger-slf4j-impl支持配置文件和更细致的日志等级配置 by @ForliyScarlet in #542
✨ 优化
- 优化Filter的正则解析 by @ForliyScarlet in #537
Full Changelog: v3.0.0-M5...v3.0.0-M6
v3.0.0-M5
仓库参考
模块 | search.maven |
---|---|
simbot-logger | v3.0.0-M5 |
simbot-logger-jvm | v3.0.0-M5 |
simbot-logger-js | v3.0.0-M5 |
simbot-api | v3.0.0-M5 |
simbot-core | v3.0.0-M5 |
simboot-api | v3.0.0-M5 |
simboot-core | v3.0.0-M5 |
simboot-core-annotation | v3.0.0-M5 |
simboot-core-spring-boot-starter | v3.0.0-M5 |
What's Changed
⚠️ 不兼容
- Applications 增加部分Java友好API by @ForliyScarlet in #535
🔧 修复
- 修复spring-boot-starter中:无法扫描监听函数的问题;无法自动启动bot的问题 by @ForliyScarlet in #532
🎉 新特性
- 阻塞API默认会检测长时间阻塞行为并输出警告日志与debug日志 by @ForliyScarlet in #529
- 调整 Application.botManagers 的类型为
BotManagers
by @ForliyScarlet in #530
✨ 优化
- 为 AggregatedMessageReceipt.get 增加 operator by @ForliyScarlet in #523
👀 其他变更
- 增加工具性模块: util-stage-loop by @ForliyScarlet in #528
Full Changelog: v3.0.0-M4...v3.0.0-M5
v3.0.0-M4
仓库参考
模块 | search.maven |
---|---|
simbot-logger | v3.0.0-M4 |
simbot-logger-jvm | v3.0.0-M4 |
simbot-logger-js | v3.0.0-M4 |
simbot-api | v3.0.0-M4 |
simbot-core | v3.0.0-M4 |
simboot-api | v3.0.0-M4 |
simboot-core | v3.0.0-M4 |
simboot-core-annotation | v3.0.0-M4 |
simboot-core-spring-boot-starter | v3.0.0-M4 |
不兼容
本次更新中存在不兼容更新(主要来自 #513、#516),
其中 #513 可能主要影响普通开发者,
而 #516 则可能会主要影响组件实现的兼容。
What's Changed
⚠️ 不兼容变更
- 清理(删除)
MessageReceipt
中的过时API by @ForliyScarlet in #510 - 移除(删除)标记过时的
ReplyMessageReceipt
和ReactReceipt
by @ForteScarlet in #511 Messages
实现View
代替List
by @ForteScarlet in #513- 清理(删除)
Messages
相关内容中标记过时的内容 by @ForliyScarlet in #514 - 调整 Messages 部分实现内容,删改部分API by @ForliyScarlet in #515
- 调整 MessageReceipt 结构与实现 by @ForliyScarlet in #516
🔧 Bug Fix
- 修复
ResourceImage
无法序列化的问题 by @ForliyScarlet in #502
🎉 新特性
- 使用 View 替代 EventProcessingContext.results by @ForliyScarlet in #504
- 为
ContactsContainer
、GroupsContainer
、GuildsContainer
提供可用性属性 by @ForliyScarlet in #507
✨ 优化
- 内部简单调整 by @ForliyScarlet in #508
- 尝试优化 Spring Boot Starter 中监听函数与bot的注册流程 by @ForliyScarlet in #509
- 优化调整
MessagesBuilder
的实现 by @ForliyScarlet in #517 - 为
EventListenerRegistrar
增加注册监听函数的扩展API by @ForliyScarlet in #518 - MessageReceipt 结构调整 by @ForliyScarlet in #520
👀 其他变更
- build(deps): bump suspend-transform-plugin-gradle from 0.0.5 to 0.1.0 by @dependabot in #505
- 弃用部分
xxxIfSupport
相关扩展API by @ForteScarlet in #512
New Contributors
- @dependabot made their first contribution in #505
Full Changelog: v3.0.0-M2...v3.0.0-M4
v3.0.0-M3
See v3.0.0-M4
仓库参考
模块 | search.maven |
---|---|
simbot-logger | v3.0.0-M3 |
simbot-logger-jvm | v3.0.0-M3 |
simbot-logger-js | v3.0.0-M3 |
simbot-api | v3.0.0-M3 |
simbot-core | v3.0.0-M3 |
simboot-api | v3.0.0-M3 |
simboot-core | v3.0.0-M3 |
simboot-core-annotation | v3.0.0-M3 |
simboot-core-spring-boot-starter | v3.0.0-M3 |
详情
不兼容
本次更新中存在不兼容更新(主要来自 #513、#516),
其中 #513 可能主要影响普通开发者,
而 #516 则可能会主要影响组件实现的兼容。
What's Changed
⚠️ 不兼容变更
- 清理(删除)
MessageReceipt
中的过时API by @ForliyScarlet in #510 - 移除(删除)标记过时的
ReplyMessageReceipt
和ReactReceipt
by @ForteScarlet in #511 Messages
实现View
代替List
by @ForteScarlet in #513- 清理(删除)
Messages
相关内容中标记过时的内容 by @ForliyScarlet in #514 - 调整 Messages 部分实现内容,删改部分API by @ForliyScarlet in #515
- 调整 MessageReceipt 结构与实现 by @ForliyScarlet in #516
🔧 Bug Fix
- 修复
ResourceImage
无法序列化的问题 by @ForliyScarlet in #502
🎉 新特性
- 使用 View 替代 EventProcessingContext.results by @ForliyScarlet in #504
- 为
ContactsContainer
、GroupsContainer
、GuildsContainer
提供可用性属性 by @ForliyScarlet in #507
✨ 优化
- 内部简单调整 by @ForliyScarlet in #508
- 尝试优化 Spring Boot Starter 中监听函数与bot的注册流程 by @ForliyScarlet in #509
- 优化调整
MessagesBuilder
的实现 by @ForliyScarlet in #517 - 为
EventListenerRegistrar
增加注册监听函数的扩展API by @ForliyScarlet in #518
👀 其他变更
- build(deps): bump suspend-transform-plugin-gradle from 0.0.5 to 0.1.0 by @dependabot in #505
- 弃用部分
xxxIfSupport
相关扩展API by @ForteScarlet in #512
New Contributors
- @dependabot made their first contribution in #505
Full Changelog: v3.0.0-M2...v3.0.0-M3
v3.0.0-M2
仓库参考
模块 | search.maven |
---|---|
simbot-logger | v3.0.0-M2 |
simbot-logger-jvm | v3.0.0-M2 |
simbot-logger-js | v3.0.0-M2 |
simbot-api | v3.0.0-M2 |
simbot-core | v3.0.0-M2 |
simboot-api | v3.0.0-M2 |
simboot-core | v3.0.0-M2 |
simboot-core-annotation | v3.0.0-M2 |
simboot-core-spring-boot-starter | v3.0.0-M2 |
What's Changed
🔧 Bug Fix
EventListenerRegistrationDescription.of
调整为JVM static by @ForliyScarlet in #485
🎉 新特性
- 增加simbot-logger的实现模块 by @ForliyScarlet in #489
- 为 Items 增加部分异步API by @ForliyScarlet in #491
- SimpleEventListenerManager 实现中增加默认调度器 by @ForliyScarlet in #493
✨ 优化
- 调整EventResult异步api中所有
Future
相关内容为直接的CompletableFuture
by @ForliyScarlet in #486 - 调整阻塞API调度策略,不再默认提供调度器 by @ForliyScarlet in #490
Full Changelog: v2.5.0...v3.0.0-M2