Skip to content

Commit 0ad2cec

Browse files
committed
release: v4.0.0
1 parent 4b9ce01 commit 0ad2cec

File tree

4 files changed

+20
-50
lines changed

4 files changed

+20
-50
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# v4.0.0
2+
3+
> Release & Pull Notes: [v4.0.0](https://github.com/simple-robot/simpler-robot/releases/tag/v4.0.0)
4+
5+
- feat(core): KookBot 支持根据引用查询消息内容的相关API ([`98a7fc1..500491e`](https://github.com/simple-robot/simpler-robot/compare/98a7fc1..8e460f6))
6+
7+
<details><summary><code>98a7fc1..500491e</code></summary>
8+
9+
- [`98a7fc1`](https://github.com/simple-robot/simpler-robot/commit/98a7fc1)
10+
- [`500491e`](https://github.com/simple-robot/simpler-robot/commit/500491e)
11+
12+
</details>
13+
14+
- feat(core): KookMessageContent 支持根据引用查询消息内容的相关API ([`8e460f6`](https://github.com/simple-robot/simpler-robot/commit/8e460f6))
15+
- build(deps): Update Kotlin to 2.0.10, simbot to 4.6.0 ([`f81d7e7`](https://github.com/simple-robot/simpler-robot/commit/f81d7e7))
16+
- build(deps): bump ksp from 2.0.0-1.0.24 to 2.0.10-1.0.24 ([`11bfb0c`](https://github.com/simple-robot/simpler-robot/commit/11bfb0c))
17+
118
# v4.0.0-beta6
219

320
> Release & Pull Notes: [v4.0.0-beta6](https://github.com/simple-robot/simpler-robot/releases/tag/v4.0.0-beta6)

buildSrc/src/main/kotlin/P.kt

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,6 @@
2323
import love.forte.gradle.common.core.project.ProjectDetail
2424
import love.forte.gradle.common.core.property.systemProp
2525

26-
/*
27-
* Copyright (c) 2022-2022 ForteScarlet <[email protected]>
28-
*
29-
* 本文件是 simbot-component-kook 的一部分。
30-
*
31-
* simbot-component-kook 是自由软件:你可以再分发之和/或依照由自由软件基金会发布的 GNU 通用公共许可证修改之,无论是版本 3 许可证,还是(按你的决定)任何以后版都可以。
32-
*
33-
* 发布 simbot-component-kook 是希望它能有用,但是并无保障;甚至连可销售和符合某个特定的目的都不保证。请参看 GNU 通用公共许可证,了解详情。
34-
*
35-
* 你应该随程序获得一份 GNU 通用公共许可证的复本。如果没有,请看:
36-
* https://www.gnu.org/licenses
37-
* https://www.gnu.org/licenses/gpl-3.0-standalone.html
38-
* https://www.gnu.org/licenses/lgpl-3.0-standalone.html
39-
*
40-
*
41-
*/
42-
4326

4427
object P : ProjectDetail() {
4528
const val GROUP = "love.forte.simbot.component"
@@ -49,8 +32,8 @@ object P : ProjectDetail() {
4932
override val homepage: String
5033
get() = HOMEPAGE
5134

52-
const val VERSION = "4.0.0-beta6"
53-
const val NEXT_VERSION = "4.0.0-beta7"
35+
const val VERSION = "4.0.0"
36+
const val NEXT_VERSION = "4.0.1"
5437

5538
override val snapshotVersion = "$NEXT_VERSION-SNAPSHOT"
5639
override val version = if (isSnapshot()) snapshotVersion else VERSION

buildSrc/src/main/kotlin/changelog/GenerateChangelog.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,9 @@ fun Project.generateChangelog(tag: String) {
5050

5151
file.writeText(
5252
"""
53+
> [!note]
5354
> 对应核心版本: [**v$coreVersion**](https://github.com/simple-robot/simpler-robot/releases/tag/v$coreVersion)
5455
55-
> [!warning]
56-
> 目前版本尚处于 **`beta`** 阶段,代表仍然可能存在部分已知问题或未知问题,
57-
> 以及尚未完善的内容和落后于官方更新的内容。
58-
5956
我们欢迎并期望着您的 [反馈](https://github.com/simple-robot/simbot-component-kook/issues) 或 [协助](https://github.com/simple-robot/simbot-component-kook/pulls),感谢您的贡献与支持!
6057
6158
""".trimIndent()

buildSrc/src/main/kotlin/simbot-kook-changelog-generator.gradle.kts

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -25,33 +25,6 @@ tasks.create("createChangelog") {
2525
group = "documentation"
2626
doFirst {
2727
generateChangelog("v${P.version}")
28-
// println("Generate change log for $version ...")
29-
// // configurations.runtimeClasspath
30-
// val changelogDir = rootProject.file(".changelog").also {
31-
// it.mkdirs()
32-
// }
33-
// val file = File(changelogDir, "$version.md")
34-
// if (!file.exists()) {
35-
// file.createNewFile()
36-
// val coreVersion = simbotVersion.toString()
37-
// val autoGenerateText = """
38-
//
39-
// **部分依赖库版本参考**
40-
//
41-
// | **库** | **版本** |
42-
// |---------|--------|
43-
// | 核心库 | [**v$coreVersion**](https://github.com/ForteScarlet/simpler-robot/releases/tag/v$coreVersion) |
44-
//
45-
// > **Warning**
46-
// 当前版本处于 **`ALPHA`**阶段,仍旧有很多[**已知问题**](https://github.com/simple-robot/simbot-component-kook/issues/)和可能存在的**潜在问题**,
47-
// 如有发现问题请积极[反馈](https://github.com/simple-robot/simbot-component-kook/issues/)或 [协助我们解决](https://github.com/simple-robot/simbot-component-kook/pulls),非常感谢!
48-
//
49-
//
50-
// """.trimIndent()
51-
//
52-
//
53-
// file.writeText(autoGenerateText)
54-
// }
5528
}
5629
}
5730

0 commit comments

Comments
 (0)