Skip to content

Commit

Permalink
release: v4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Aug 17, 2024
1 parent 4b9ce01 commit 0ad2cec
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 50 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# v4.0.0

> Release & Pull Notes: [v4.0.0](https://github.com/simple-robot/simpler-robot/releases/tag/v4.0.0)
- feat(core): KookBot 支持根据引用查询消息内容的相关API ([`98a7fc1..500491e`](https://github.com/simple-robot/simpler-robot/compare/98a7fc1..8e460f6))

<details><summary><code>98a7fc1..500491e</code></summary>

- [`98a7fc1`](https://github.com/simple-robot/simpler-robot/commit/98a7fc1)
- [`500491e`](https://github.com/simple-robot/simpler-robot/commit/500491e)

</details>

- feat(core): KookMessageContent 支持根据引用查询消息内容的相关API ([`8e460f6`](https://github.com/simple-robot/simpler-robot/commit/8e460f6))
- build(deps): Update Kotlin to 2.0.10, simbot to 4.6.0 ([`f81d7e7`](https://github.com/simple-robot/simpler-robot/commit/f81d7e7))
- 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))

# v4.0.0-beta6

> Release & Pull Notes: [v4.0.0-beta6](https://github.com/simple-robot/simpler-robot/releases/tag/v4.0.0-beta6)
Expand Down
21 changes: 2 additions & 19 deletions buildSrc/src/main/kotlin/P.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,6 @@
import love.forte.gradle.common.core.project.ProjectDetail
import love.forte.gradle.common.core.property.systemProp

/*
* Copyright (c) 2022-2022 ForteScarlet <[email protected]>
*
* 本文件是 simbot-component-kook 的一部分。
*
* simbot-component-kook 是自由软件:你可以再分发之和/或依照由自由软件基金会发布的 GNU 通用公共许可证修改之,无论是版本 3 许可证,还是(按你的决定)任何以后版都可以。
*
* 发布 simbot-component-kook 是希望它能有用,但是并无保障;甚至连可销售和符合某个特定的目的都不保证。请参看 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
*
*
*/


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

const val VERSION = "4.0.0-beta6"
const val NEXT_VERSION = "4.0.0-beta7"
const val VERSION = "4.0.0"
const val NEXT_VERSION = "4.0.1"

override val snapshotVersion = "$NEXT_VERSION-SNAPSHOT"
override val version = if (isSnapshot()) snapshotVersion else VERSION
Expand Down
5 changes: 1 addition & 4 deletions buildSrc/src/main/kotlin/changelog/GenerateChangelog.kt
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,9 @@ fun Project.generateChangelog(tag: String) {

file.writeText(
"""
> [!note]
> 对应核心版本: [**v$coreVersion**](https://github.com/simple-robot/simpler-robot/releases/tag/v$coreVersion)
> [!warning]
> 目前版本尚处于 **`beta`** 阶段,代表仍然可能存在部分已知问题或未知问题,
> 以及尚未完善的内容和落后于官方更新的内容。
我们欢迎并期望着您的 [反馈](https://github.com/simple-robot/simbot-component-kook/issues) 或 [协助](https://github.com/simple-robot/simbot-component-kook/pulls),感谢您的贡献与支持!
""".trimIndent()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,33 +25,6 @@ tasks.create("createChangelog") {
group = "documentation"
doFirst {
generateChangelog("v${P.version}")
// println("Generate change log for $version ...")
// // configurations.runtimeClasspath
// val changelogDir = rootProject.file(".changelog").also {
// it.mkdirs()
// }
// val file = File(changelogDir, "$version.md")
// if (!file.exists()) {
// file.createNewFile()
// val coreVersion = simbotVersion.toString()
// val autoGenerateText = """
//
// **部分依赖库版本参考**
//
// | **库** | **版本** |
// |---------|--------|
// | 核心库 | [**v$coreVersion**](https://github.com/ForteScarlet/simpler-robot/releases/tag/v$coreVersion) |
//
// > **Warning**
// 当前版本处于 **`ALPHA`**阶段,仍旧有很多[**已知问题**](https://github.com/simple-robot/simbot-component-kook/issues/)和可能存在的**潜在问题**,
// 如有发现问题请积极[反馈](https://github.com/simple-robot/simbot-component-kook/issues/)或 [协助我们解决](https://github.com/simple-robot/simbot-component-kook/pulls),非常感谢!
//
//
// """.trimIndent()
//
//
// file.writeText(autoGenerateText)
// }
}
}

0 comments on commit 0ad2cec

Please sign in to comment.