Skip to content

Commit

Permalink
release: v4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Jul 15, 2024
1 parent 000cf72 commit d9c5556
Show file tree
Hide file tree
Showing 8 changed files with 63 additions and 25 deletions.
Empty file added .changelog/v4.3.0.md
Empty file.
19 changes: 15 additions & 4 deletions .github/ISSUE_TEMPLATE/advice.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "💡意见建议"
description: "提出你的好想法"
name: "💡意见、建议或协助"
description: "提出你的好想法,或者你打算做的事"
labels: [ "建议" ]
assignees: [ "ForteScarlet" ]
# https://docs.github.com/cn/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
Expand All @@ -18,10 +18,21 @@ body:
请知悉以下内容:
1. 当意见建议未被完全确认或等待发起者回复的情况下,发起者如果超过一周未作应答,则会视为「无效」并做关闭处理。
2. 仅接受针对于框架本身的合理建议。被团队认定为不合理的建议将会被拒绝。
3. 如果有能力,可以通过 [pr](https://github.com/ForteScarlet/simpler-robot/pulls) 向我们提供代码协助,非常感谢。
<hr />

- type: dropdown
id: will-contribute
attributes:
label: 是否会提供贡献?
description: 如果此条议题是你打算提供代码贡献作为前提,那么标记它,来告诉我们与其他开发者,避免产生重复劳动~
options:
- 不确定
-
-
default: 0
validations:
required: true

- type: textarea
id: advice
attributes:
Expand Down
29 changes: 20 additions & 9 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,26 @@ body:
3. 当问题反馈未被完全确认或等待发起者回复的情况下,发起者如果超过一周未作应答,则会视为「无效」并做关闭处理。
<hr />
- type: dropdown
id: will-contribute
attributes:
label: 是否会提供贡献?
description: 如果此条议题是你打算提供代码贡献作为前提,那么标记它,来告诉我们与其他开发者,以避免产生可能的重复劳动
options:
-
-
- 不确定
default: 0
validations:
required: true

- type: input
id: version
attributes:
label: 版本号
description: 涉及的具体版本
placeholder: "例如: v3.0.0-xx 或 v6.6.6 等"
placeholder: "例如: v4.x.x 或 v6.6.6 等"
validations:
required: true

Expand All @@ -37,7 +49,7 @@ body:
attributes:
label: 附加版本
description: 如果有需要补充的其他版本信息,可以在此补充
placeholder: "例如: simbot-component-kook: v3.0.0.0-xx"
placeholder: "例如: simbot-component-kook: va.b.c"

- type: dropdown
id: language
Expand Down Expand Up @@ -70,13 +82,12 @@ body:
description: 请尽可能准确的选择使用的组件
multiple: true
options:
- KOOK
- QQ频道
- Kritor
- QQ机器人
- OneBot
- Discord
- KOOK
- Telegram
- mirai
- Discord
- Kritor
- 其他

- type: textarea
Expand Down
5 changes: 1 addition & 4 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ contact_links:
- name: 讨论社区
url: https://github.com/orgs/simple-robot/discussions
about: 前往讨论区与开发团队或其他人交流、互动
- name: v3文档反馈
url: https://github.com/simple-robot-library/simbot3-website/issues/new/choose
about: 对官网 simbot.forte.love 的反馈
- name: v4文档反馈
url: https://github.com/simple-robot-library/simbot4-website/issues/new/choose
about: 对官网 simbot4.forte.love 的反馈
about: 对官网 simbot.forte.love 的反馈
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ body:
attributes:
label: 版本号
description: 疑问所涉及的版本
placeholder: "例如: v3.0.0"
placeholder: "例如: v4.0.0"
validations:
required: true

Expand All @@ -56,12 +56,12 @@ body:
description: 如果没有或无对应选项则在后续描述中补充说明
multiple: true
options:
- KOOK
- QQ频道
- Kritor
- QQ机器人
- OneBot
- Discord
- KOOK
- Telegram
- Discord
- Kritor
- 其他

- type: textarea
Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# v4.3.0

> Release & Pull Notes: [v4.3.0](https://github.com/simple-robot/simpler-robot/releases/tag/v4.3.0)
- feat(api): 增加接口 RichMediaMessage 用以描述一个富媒体消息元素 ([`eceb41528..6ec2a1a53`](https://github.com/simple-robot/simpler-robot/compare/eceb41528..7e52e17bc))

<details><summary><code>eceb41528..6ec2a1a53</code></summary>

- [`eceb41528`](https://github.com/simple-robot/simpler-robot/commit/eceb41528)
- [`fcd2fd670`](https://github.com/simple-robot/simpler-robot/commit/fcd2fd670)
- [`c38c80270`](https://github.com/simple-robot/simpler-robot/commit/c38c80270)
- [`6ec2a1a53`](https://github.com/simple-robot/simpler-robot/commit/6ec2a1a53)

</details>

- feat(api): 增加接口 BinaryDataAwareMessage 用以描述能够获取到二进制数据的消息元素 ([`7e52e17bc`](https://github.com/simple-robot/simpler-robot/commit/7e52e17bc))
- optimize(api): 增加接口 UrlAwareMessage 用以描述能够获取到 URL 信息的消息元素 ([`933095e9d`](https://github.com/simple-robot/simpler-robot/commit/933095e9d))

# v4.2.0

> Release & Pull Notes: [v4.2.0](https://github.com/simple-robot/simpler-robot/releases/tag/v4.2.0)
Expand Down
5 changes: 3 additions & 2 deletions buildSrc/src/main/kotlin/P.kt
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,17 @@ fun isSnapshot(): Boolean = _isSnapshot
/**
* Project versions.
*/
@Suppress("MemberVisibilityCanBePrivate")
sealed class P(override val group: String) : ProjectDetail() {
/*
val groupProject = P::class.sealedSubclasses.mapNotNull { it.objectInstance }.associateBy { obj -> obj.group }
project = groupProject[p.group] ?: error("unknown project group: ${p.group}")
*/
companion object {
const val VERSION = "4.2.0"
const val VERSION = "4.3.0"
const val NEXT_VERSION = "4.3.1"
const val SNAPSHOT_VERSION = "$VERSION-SNAPSHOT"
const val NEXT_VERSION = "4.3.0"
const val NEXT_SNAPSHOT_VERSION = "$NEXT_VERSION-SNAPSHOT"

const val GROUP = "love.forte.simbot"
Expand Down
2 changes: 1 addition & 1 deletion website

0 comments on commit d9c5556

Please sign in to comment.