Releases: simple-robot/simpler-robot
Releases · simple-robot/simpler-robot
v4.3.0
What's Changed
🎉 新特性
- 增加接口 RichMediaMessage 用以描述一个富媒体消息元素 by @ForliyScarlet in #878
- 增加接口 BinaryDataAwareMessage 用以描述能够获取到二进制数据的消息元素 by @ForliyScarlet in #877
- 增加接口 UrlAwareMessage 用以描述能够获取到 URL 信息的消息元素 by @ForliyScarlet in #875
📦 依赖更新
- build(deps): bump org.jetbrains.kotlinx.binary-compatibility-validator from 0.15.0 to 0.15.1 by @dependabot in #873
- build(deps): bump org.jetbrains.kotlinx.kover from 0.8.1 to 0.8.2 by @dependabot in #866
Full Changelog: v4.2.0...v4.3.0
v4.2.0
What's Changed
📦 依赖更新
- build(deps): bump org.springframework.boot from 3.3.0 to 3.3.1 by @dependabot in #859
- build(deps): bump org.jetbrains.kotlinx.binary-compatibility-validator from 0.15.0-Beta.2 to 0.15.0 by @dependabot in #868
✨ 优化
- 为BotManager和BotManagers提供更多辅助的获取API by @ForliyScarlet in #869
- 提供更多Application和Bot的辅助扩展API by @ForliyScarlet in #870
Full Changelog: v4.1.0...v4.2.0
v4.1.0
What's Changed
🔧 修复
- 使用多个
@Filter
时会导致过滤匹配失效 by @ForliyScarlet in #862
🎉 新特性
- JVM中的EventListener兼容类型增加一个 nonBlock 类型用于简化响应式结果的使用 by @ForliyScarlet in #855
📦 依赖更新
- build(deps): bump org.jetbrains.kotlinx.kover from 0.8.0 to 0.8.1 by @dependabot in #857
Full Changelog: v4.0.1...v4.1.0
v4.0.1
What's Changed
📦 依赖更新
- build(deps): bump ktor from 2.3.8 to 2.3.11 by @dependabot in #838
✨ 优化
- 优化Gradle的挂起函数辅助插件的配置内容 by @ForliyScarlet in #853
- 简单优化spring中加载resources时资源不存在的错误提示 by @ForliyScarlet in #854
Full Changelog: v4.0.0...v4.0.1
v4.0.0
Tip
Kotlin 2.0 已经发布,simbot4已经跟进更新,且在几个组件上并非发现严重的问题。
因此或许 Beta
或 RC
阶段可以结束了。
What's Changed
⚠️ 不兼容
- 尝试启用 K2 编译器 by @ForliyScarlet in #753
- 暂时关闭 K2 编译,等待 Kt2.0正式版 by @ForliyScarlet in #763
- StringResource 拆分为 StringReadableResource;增加 Resource 和 OfflineImage 的 Resolver 来允许组件等第三方更快速的分流它们的可能内容物 by @ForliyScarlet in #821
- 优化
BlockingRunner
内部实现 by @ForliyScarlet in #832 - 修复部分面向Java未被正确隐藏/转化的挂起函数 by @ForliyScarlet in #851
🔧 修复
- 修复使用 JSON 自动加载 SerializableBotConfiguration 时多态信息被全盘替换为
"component
" 的问题 by @ForliyScarlet in #752 - 修复 BotManagerFactory 没有实现 PluginFactory 的问题 by @ForliyScarlet in #762
- 优化/修复 ConcurrentMutableMap 在 Js、WasmJs 下会出现 ConcurrentModificationException 的问题,并为 MutableMap 增加一个扩展 API removeValue(key, value) by @ForliyScarlet in #781
- 修复
flowCollectable
错误的返回值类型问题 by @ForliyScarlet in #793 - Services.addProviderExceptJvm 的jvm判断条件与实际情况相反 by @ForliyScarlet in #833
- Application的coroutineContext应当始终有一个Job by @ForliyScarlet in #835
- 更新 suspend-transform 编译器插件版本 by @ForliyScarlet in #850
🎉 新特性
- 为两个多平台Queue类型增加 isEmpty by @ForliyScarlet in #765
- 增加扩展模块: 持续会话, 并实现持续会话的基本内容 by @ForliyScarlet in #789
- 优化 持续会话 模块内部分API、Java友好API和注释,并配置其发布;
refactor: 在 common-core 模块中增加与虚拟线程相关的辅助API by @ForliyScarlet in #798 - 提供更多与 ID 相关的API by @ForliyScarlet in #811
- 增加BotStageEvent事件定义,以及其两个子类型BotRegisteredEvent、BotStartedEvent的定义 by @ForliyScarlet in #827
- 增加一个基于 Spring Boot v2.7.x 的兼容版本 starter 实现模块 by @ForliyScarlet in #828
- 拆分 RequestEvent 中的 accept 与 reject 操作为单独的接口,并使它们支持options风格API by @ForliyScarlet in #843
📦 依赖更新
- Bump io.gitlab.arturbosch.detekt:detekt-gradle-plugin from 1.23.1 to 1.23.5 by @dependabot in #778
- Bump ktor from 2.3.7 to 2.3.8 by @dependabot in #777
- Bump org.gradle.toolchains.foojay-resolver-convention from 0.5.0 to 0.8.0 by @dependabot in #783
- Bump com.squareup:kotlinpoet-ksp from 1.15.3 to 1.16.0 by @dependabot in #784
- Bump org.jetbrains.kotlinx:lincheck from 2.19 to 2.24 by @dependabot in #782
- build(deps): bump kotlinx-coroutines from 1.8.0-RC2 to 1.8.0 by @dependabot in #795
- build(deps): bump kotlinx-serialization from 1.6.2 to 1.6.3 by @dependabot in #796
- Bump slf4j from 2.0.7 to 2.0.12 by @dependabot in #787
- Bump org.jetbrains.kotlinx:lincheck from 2.24 to 2.25 by @dependabot in #791
- build(deps): bump org.jetbrains.kotlinx:lincheck from 2.25 to 2.26 by @dependabot in #799
- build(deps): bump dokka from 1.9.10 to 1.9.20 by @dependabot in #804
- deps: 更新Kotlin到1.9.23 by @ForliyScarlet in #810
- build(deps): bump org.jetbrains.kotlinx:lincheck from 2.26 to 2.30 by @dependabot in #823
- build(deps): bump io.mockk:mockk from 1.13.9 to 1.13.10 by @dependabot in #802
- 更新 Kotlin 至 v2.0.0 by @ForliyScarlet in #830
- build(deps): bump io.gitlab.arturbosch.detekt from 1.23.3 to 1.23.6 by @dependabot in #819
- build(deps): bump com.squareup:kotlinpoet-ksp from 1.16.0 to 1.17.0 by @dependabot in #839
- build(deps): bump slf4j from 2.0.12 to 2.0.13 by @dependabot in #824
- build(deps): bump kotlinxBenchmark from 0.4.10 to 0.4.11 by @dependabot in #841
- build(deps): bump ksp from 2.0.0-1.0.21 to 2.0.0-1.0.22 by @dependabot in #842
✨ 优化
- 优化无符号ID类型的 toString 效果 by @ForliyScarlet in #750
- 增加/优化部分 Message 相关的API、说明等 by @ForliyScarlet in #772
- 增加/优化部分 Collectable(s) 相关的API、说明等 by @ForliyScarlet in #773
- JVM 中部分 Resource 实现增加与 Charset 相关的参数或API;优化部分实现的 toString 等内容 by @ForliyScarlet in #779
- 为 Image 增加更多可扩展的子类型 by @ForliyScarlet in #780
- 改善 session 相关API,支持“延后恢复” by @ForliyScarlet in #794
- 优化/改变 EventProcessor.push 默认实现中的行为:现在会直接使用 flowOn 来指定事件处理器所处的协程上下文 by @ForliyScarlet in #797
- 更多模块支持wasmJs平台: 所有与Ktor无关的多平台模块均支持wasmJs平台目标 by @ForliyScarlet in #836
👀 其他变更
- 简化 StandardDeleteOption:移除 IGNORE_ON_ANY_FAILURE by @ForliyScarlet in #766
- 将 suspend-transformer 模块的异步相关API和
Collectable
的异步相关API内所有的CoroutineScope
参数默认值调整为GlobalScope
并增加与之相关的部分警告或说明 by @ForliyScarlet in #792 - 增加一个有关 Ktor Client 的辅助工具模块
ktor-inputfile
by @ForliyScarlet in #805 - 配置与应用detekt by @ForliyScarlet in #817
- 尝试调整优化项目的构建配置与依赖关系配置 by @ForliyScarlet in #837
Full Changelog: v3.3.0...v4.0.0
v4.0.0-RC3
What's Changed
🔧 修复
- Application的coroutineContext应当始终有一个Job by @ForliyScarlet in #835
🎉 新特性
- 拆分 RequestEvent 中的 accept 与 reject 操作为单独的接口,并使它们支持options风格API by @ForliyScarlet in #843
📦 依赖更新
- build(deps): bump io.gitlab.arturbosch.detekt from 1.23.3 to 1.23.6 by @dependabot in #819
- build(deps): bump com.squareup:kotlinpoet-ksp from 1.16.0 to 1.17.0 by @dependabot in #839
- build(deps): bump slf4j from 2.0.12 to 2.0.13 by @dependabot in #824
- build(deps): bump kotlinxBenchmark from 0.4.10 to 0.4.11 by @dependabot in #841
- build(deps): bump ksp from 2.0.0-1.0.21 to 2.0.0-1.0.22 by @dependabot in #842
✨ 优化
- 更多模块支持wasmJs平台: 所有与Ktor无关的多平台模块均支持wasmJs平台目标 by @ForliyScarlet in #836
👀 其他变更
- 尝试调整优化项目的构建配置与依赖关系配置 by @ForliyScarlet in #837
Full Changelog: v4.0.0-RC2...v4.0.0-RC3
v4.0.0-RC2
What's Changed
⚠️ 不兼容
- 优化
BlockingRunner
内部实现 by @ForliyScarlet in #832
🔧 修复
- Services.addProviderExceptJvm 的jvm判断条件与实际情况相反 by @ForliyScarlet in #833
Full Changelog: v4.0.0-RC1...v4.0.0-RC2
v4.0.0-RC1
Kotlin 2.0
此版本已经迁移至 Kotlin 2.0 (๑•̀ㅂ•́)و✧ see #830
What's Changed
⚠️ 不兼容
- StringResource 拆分为 StringReadableResource;增加 Resource 和 OfflineImage 的 Resolver 来允许组件等第三方更快速的分流它们的可能内容物 by @ForliyScarlet in #821
🎉 新特性
- 增加BotStageEvent事件定义,以及其两个子类型BotRegisteredEvent、BotStartedEvent的定义 by @ForliyScarlet in #827
- 增加一个基于 Spring Boot v2.7.x 的兼容版本 starter 实现模块 by @ForliyScarlet in #828
📦 依赖更新
- build(deps): bump org.jetbrains.kotlinx:lincheck from 2.26 to 2.30 by @dependabot in #823
- build(deps): bump io.mockk:mockk from 1.13.9 to 1.13.10 by @dependabot in #802
- 更新 Kotlin 至 v2.0.0 by @ForliyScarlet in #830
👀 其他变更
- 配置与应用detekt by @ForliyScarlet in #817
Full Changelog: v4.0.0-beta3...v4.0.0-RC1
v4.0.0-beta3
What's Changed
🎉 新特性
- 提供更多与 ID 相关的API by @ForliyScarlet in #811
📦 依赖更新
- build(deps): bump dokka from 1.9.10 to 1.9.20 by @dependabot in #804
- deps: 更新Kotlin到1.9.23 by @ForliyScarlet in #810
👀 其他变更
- 增加一个有关 Ktor Client 的辅助工具模块
ktor-inputfile
by @ForliyScarlet in #805
Full Changelog: v4.0.0-beta1...v4.0.0-beta3
v4.0.0-beta1
What's Changed
🔧 修复
- 修复
flowCollectable
错误的返回值类型问题 by @ForliyScarlet in #793
🎉 新特性
- 增加扩展模块: 持续会话, 并实现持续会话的基本内容 by @ForliyScarlet in #789
- 优化 持续会话 模块内部分API、Java友好API和注释,并配置其发布;
refactor: 在 common-core 模块中增加与虚拟线程相关的辅助API by @ForliyScarlet in #798
📦 依赖更新
- Bump org.gradle.toolchains.foojay-resolver-convention from 0.5.0 to 0.8.0 by @dependabot in #783
- Bump com.squareup:kotlinpoet-ksp from 1.15.3 to 1.16.0 by @dependabot in #784
- Bump org.jetbrains.kotlinx:lincheck from 2.19 to 2.24 by @dependabot in #782
- build(deps): bump kotlinx-coroutines from 1.8.0-RC2 to 1.8.0 by @dependabot in #795
- build(deps): bump kotlinx-serialization from 1.6.2 to 1.6.3 by @dependabot in #796
- Bump slf4j from 2.0.7 to 2.0.12 by @dependabot in #787
- Bump org.jetbrains.kotlinx:lincheck from 2.24 to 2.25 by @dependabot in #791
- build(deps): bump org.jetbrains.kotlinx:lincheck from 2.25 to 2.26 by @dependabot in #799
✨ 优化
- 改善 session 相关API,支持“延后恢复” by @ForliyScarlet in #794
- 优化/改变 EventProcessor.push 默认实现中的行为:现在会直接使用 flowOn 来指定事件处理器所处的协程上下文 by @ForliyScarlet in #797
👀 其他变更
- 将 suspend-transformer 模块的异步相关API和
Collectable
的异步相关API内所有的CoroutineScope
参数默认值调整为GlobalScope
并增加与之相关的部分警告或说明 by @ForliyScarlet in #792
Full Changelog: v4.0.0-dev18...v4.0.0-beta1