From 3d9fdadfdf866d90f266737957e5295389d31a76 Mon Sep 17 00:00:00 2001 From: ForteScarlet Date: Wed, 14 Aug 2024 18:09:46 +0800 Subject: [PATCH] release: v4.6.0 --- .changelog/v4.6.0.md | 0 CHANGELOG.md | 31 +++++++++---- buildSrc/src/main/kotlin/P.kt | 4 +- .../simbot.changelog-generator.gradle.kts | 44 ------------------- 4 files changed, 24 insertions(+), 55 deletions(-) create mode 100644 .changelog/v4.6.0.md diff --git a/.changelog/v4.6.0.md b/.changelog/v4.6.0.md new file mode 100644 index 000000000..e69de29bb diff --git a/CHANGELOG.md b/CHANGELOG.md index dab419b87..203805ef2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,25 @@ +# v4.6.0 + +> Release & Pull Notes: [v4.6.0](https://github.com/simple-robot/simpler-robot/releases/tag/v4.6.0) + +- build(deps): bump io.projectreactor:reactor-core from 3.6.2 to 3.6.9 ([`99fd7c6f2`](https://github.com/simple-robot/simpler-robot/commit/99fd7c6f2)) +- build(deps): bump io.projectreactor:reactor-test from 3.6.2 to 3.6.9 ([`615689775`](https://github.com/simple-robot/simpler-robot/commit/615689775)) +- feat: 新增一个新的组 love.forte.simbot.processor, 以及其中一个新的用于组件开发的ksp处理器 simbot-processor-message-element-polymorphic-include ([`4adc9412a`](https://github.com/simple-robot/simpler-robot/commit/4adc9412a)) +- build(deps): bump slf4j from 2.0.15 to 2.0.16 ([`1d478c4eb`](https://github.com/simple-robot/simpler-robot/commit/1d478c4eb)) +- feat(api): 为 `Bot` 增加用于根据ID获取源消息的API ([`25ba84656`](https://github.com/simple-robot/simpler-robot/commit/25ba84656)) +- feat(api): 为 `MessageContent` 和 `Bot` 增加用于根据引用 `MessageReference` 获取源消息的API ([`9ff7e9473`](https://github.com/simple-robot/simpler-robot/commit/9ff7e9473)) +- build(api): 在 simbot-api 中生成携带部分常量信息的 builtin ([`f58c080b2`](https://github.com/simple-robot/simpler-robot/commit/f58c080b2)) +- build(deps): bump slf4j from 2.0.13 to 2.0.15 ([`40dcf0ecf`](https://github.com/simple-robot/simpler-robot/commit/40dcf0ecf)) +- build(deps): bump plugin.spring from 2.0.0 to 2.0.10 ([`385be898f`](https://github.com/simple-robot/simpler-robot/commit/385be898f)) +- build(deps): bump ksp from 2.0.0-1.0.24 to 2.0.10-1.0.24 ([`e9c81da85`](https://github.com/simple-robot/simpler-robot/commit/e9c81da85)) +- build(deps): bump org.jetbrains.kotlin.plugin.allopen ([`d3708123b`](https://github.com/simple-robot/simpler-robot/commit/d3708123b)) +- build(deps): bump com.squareup:kotlinpoet-ksp from 1.17.0 to 1.18.1 ([`25c7b4923`](https://github.com/simple-robot/simpler-robot/commit/25c7b4923)) +- build(deps): bump org.jetbrains.kotlinx:lincheck from 2.32 to 2.33 ([`f218cd18c`](https://github.com/simple-robot/simpler-robot/commit/f218cd18c)) +- build(deps): bump org.jetbrains.kotlinx.binary-compatibility-validator ([`dc8672440`](https://github.com/simple-robot/simpler-robot/commit/dc8672440)) +- build(deps): bump ksp from 2.0.0-1.0.23 to 2.0.0-1.0.24 ([`d7482901a`](https://github.com/simple-robot/simpler-robot/commit/d7482901a)) +- build(deps): bump com.github.gmazzo.buildconfig from 5.3.5 to 5.4.0 ([`32ec83010`](https://github.com/simple-robot/simpler-robot/commit/32ec83010)) +- build(deps): bump ksp from 2.0.0-1.0.22 to 2.0.0-1.0.23 ([`bce28e3fd`](https://github.com/simple-robot/simpler-robot/commit/bce28e3fd)) + # v4.5.0 > Release & Pull Notes: [v4.5.0](https://github.com/simple-robot/simpler-robot/releases/tag/v4.5.0) @@ -9,15 +31,6 @@ - build(deps): bump io.mockk:mockk from 1.13.11 to 1.13.12 ([`737d87505`](https://github.com/simple-robot/simpler-robot/commit/737d87505)) -> Release & Pull Notes: [v4.4.0](https://github.com/simple-robot/simpler-robot/releases/tag/v4.4.0) - -- fix(quantcat): 优化统一MergedBinder对null结果、失败结果的处理 ([`d741b8617`](https://github.com/simple-robot/simpler-robot/commit/d741b8617)) -- feat(common-streamable): 增加模块与新的公共类型 Streamable, 用来简化部分针对 Sequence 类型的转化操作,例如在JVM中转为 Stream 和在 JS 中转为数组。 ([`1ba898c57`](https://github.com/simple-robot/simpler-robot/commit/1ba898c57)) -- fix(quantcat): 优化统一MergedBinder对null结果、失败结果的处理 ([`9c5777847`](https://github.com/simple-robot/simpler-robot/commit/9c5777847)) -- feat(common-streamable): 增加模块与新的公共类型 Streamable, 用来简化部分针对 Sequence 类型的转化操作,例如在JVM中转为 Stream 和在 JS 中转为数组。 ([`ca3eaa02b`](https://github.com/simple-robot/simpler-robot/commit/ca3eaa02b)) - -# v4.3.1 - > Release & Pull Notes: [v4.3.1](https://github.com/simple-robot/simpler-robot/releases/tag/v4.3.1) - fix(quantcat): 修复使用KeywordBinder时无法正确处理参数类型的问题 ([`ef31604c7`](https://github.com/simple-robot/simpler-robot/commit/ef31604c7)) diff --git a/buildSrc/src/main/kotlin/P.kt b/buildSrc/src/main/kotlin/P.kt index 38d194b4e..d79d48787 100644 --- a/buildSrc/src/main/kotlin/P.kt +++ b/buildSrc/src/main/kotlin/P.kt @@ -52,8 +52,8 @@ sealed class P(override val group: String) : ProjectDetail() { */ companion object { - const val VERSION = "4.5.0" - const val NEXT_VERSION = "4.5.1" + const val VERSION = "4.6.0" + const val NEXT_VERSION = "4.6.1" const val SNAPSHOT_VERSION = "$VERSION-SNAPSHOT" const val NEXT_SNAPSHOT_VERSION = "$NEXT_VERSION-SNAPSHOT" diff --git a/buildSrc/src/main/kotlin/simbot.changelog-generator.gradle.kts b/buildSrc/src/main/kotlin/simbot.changelog-generator.gradle.kts index 28ddf79de..714a60dc7 100644 --- a/buildSrc/src/main/kotlin/simbot.changelog-generator.gradle.kts +++ b/buildSrc/src/main/kotlin/simbot.changelog-generator.gradle.kts @@ -23,53 +23,9 @@ import changelog.generateChangelog -/* - * Copyright (c) 2022-2022 ForteScarlet - * - * 本文件是 simply-robot (即 simple robot的v3版本,因此亦可称为 simple-robot v3 、simbot v3 等) 的一部分。 - * - * simply-robot 是自由软件:你可以再分发之和/或依照由自由软件基金会发布的 GNU 通用公共许可证修改之,无论是版本 3 许可证,还是(按你的决定)任何以后版都可以。 - * - * 发布 simply-robot 是希望它能有用,但是并无保障;甚至连可销售和符合某个特定的目的都不保证。请参看 GNU 通用公共许可证,了解详情。 - * - * 你应该随程序获得一份 GNU 通用公共许可证的复本。如果没有,请看: - * https://www.gnu.org/licenses - * https://www.gnu.org/licenses/gpl-3.0-standalone.html - * https://www.gnu.org/licenses/lgpl-3.0-standalone.html - * - * - */ - - tasks.create("createChangelog") { group = "documentation" doFirst { generateChangelog("v${P.VERSION}") } } - - -tasks.create("updateWebsiteVersionJson") { - group = "documentation" - doFirst { - val version = P.Simbot.version.toString() - - val websiteVersionJsonDir = rootProject.file("website/static") - if (!websiteVersionJsonDir.exists()) { - websiteVersionJsonDir.mkdirs() - } - val websiteVersionJsonFile = File(websiteVersionJsonDir, "version.json") - if (!websiteVersionJsonFile.exists()) { - websiteVersionJsonFile.createNewFile() - } - - websiteVersionJsonFile.writeText( - """ - { - "version": "$version" - } - """.trimIndent() - ) - } -} -