Skip to content

Commit 1c1b8d6

Browse files
authored
Merge pull request #78 from simple-robot/dev/main
Release: v1.1.0
2 parents 3675a9d + 1a7fd48 commit 1c1b8d6

File tree

41 files changed

+5548
-312
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+5548
-312
lines changed

.changelog/v0.1.0.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

.changelog/v0.1.1.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changelog/v0.2.0.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changelog/v0.3.0.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changelog/v0.5.0.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changelog/v0.6.0.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changelog/v0.7.0.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changelog/v0.8.0.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changelog/v0.9.0.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changelog/v0.9.1.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changelog/v0.4.0.md renamed to .changelog/v1.1.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
> 对应核心版本: [**v4.0.0**](https://github.com/simple-robot/simpler-robot/releases/tag/v4.0.0)
1+
> 对应核心版本: [**v4.1.0**](https://github.com/simple-robot/simpler-robot/releases/tag/v4.1.0)
22
33

44
我们欢迎并期望着您的的[反馈](https://github.com/simple-robot/simbot-component-onebot/issues)[协助](https://github.com/simple-robot/simbot-component-onebot/pulls)

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
blank_issues_enabled: true
2+
3+
contact_links:
4+
- name: 统一反馈处
5+
url: https://github.com/simple-robot/simpler-robot/issues/new/choose
6+
about: 通过simbot核心仓库统一反馈问题
7+
8+
- name: 社区
9+
url: https://github.com/orgs/simple-robot/discussions
10+
about: simbot的GitHub交流讨论区

.github/ISSUE_TEMPLATE/doc.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "📃文档反馈"
2+
description: "反馈与文档相关的问题反馈"
3+
labels: [ "文档" ]
4+
assignees: [ "ForteScarlet" ]
5+
# https://docs.github.com/cn/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
## 须知
11+
在进行问题反馈前,请**确认**以下内容:
12+
1. 我确认目前的 [Issues](https://github.com/simple-robot/simbot-component-onebot/issues?q=is%3Aissue+label%3A%E6%96%87%E6%A1%A3) 中没有类似内容。
13+
2. 我已确认所述内容不涉及任何个人隐私或其他敏感信息,遵守相关地区法律法规。
14+
15+
<hr />
16+
17+
18+
- type: dropdown
19+
id: type
20+
attributes:
21+
label: 反馈内容类型
22+
options:
23+
- 网站
24+
- API文档
25+
- 其他
26+
validations:
27+
required: true
28+
29+
- type: textarea
30+
id: links
31+
attributes:
32+
label: 相关链接
33+
description: 提供可用的相关链接
34+
35+
- type: textarea
36+
id: description
37+
attributes:
38+
label: 内容描述
39+
description: 描述你的反馈内容
40+
validations:
41+
required: true

.github/ISSUE_TEMPLATE/report.yml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: "🔥问题反馈"
2+
description: "直接向本仓库反馈问题或提出一个贡献申请"
3+
assignees: [ "ForteScarlet" ]
4+
# https://docs.github.com/cn/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
## 须知
10+
在进行问题反馈前,请**确认**以下内容:
11+
1. 我确认目前的 [issues](https://github.com/simple-robot/simbot-component-onebot/issues?q=is%3Aissue+label%3Abug%3F) 中没有类似内容。
12+
2. 我已确认所述内容不涉及任何个人隐私或其他敏感信息,遵守相关地区法律法规。
13+
14+
<hr />
15+
16+
- type: dropdown
17+
id: will-contribute
18+
attributes:
19+
label: 是否会提供贡献?
20+
description: 如果此条议题是你打算提供代码贡献作为前提,那么标记它,来告诉我们与其他开发者,以避免产生可能的重复劳动
21+
options:
22+
-
23+
-
24+
- 不确定
25+
default: 0
26+
validations:
27+
required: true
28+
29+
- type: textarea
30+
id: version
31+
attributes:
32+
label: 版本信息
33+
description: 核心库、组件库、以及其他可能涉及到的依赖库的版本信息。
34+
placeholder: |
35+
例如:
36+
simbot-component-onebot: va.b.c
37+
simbot-core: v999
38+
39+
- type: dropdown
40+
id: language
41+
attributes:
42+
label: 涉及的编程语言
43+
description: 如果没有或无对应选项则选择'其他'后在后续描述中补充说明
44+
options:
45+
- Java
46+
- Kotlin
47+
- 其他
48+
validations:
49+
required: true
50+
51+
- type: dropdown
52+
id: build-tool
53+
attributes:
54+
label: 项目构建工具
55+
description: 如果没有或无对应选项则选择'其他'后在后续描述中补充说明
56+
options:
57+
- Maven
58+
- Gradle
59+
- 其他
60+
validations:
61+
required: true
62+
63+
- type: textarea
64+
id: description
65+
attributes:
66+
label: 内容描述
67+
description: 描述你的反馈内容。(注意日志、代码等特殊内容格式,确保易于阅读)
68+
validations:
69+
required: true

build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@ tasks.withType<Detekt>().configureEach {
108108
}
109109

110110
apiValidation {
111-
// TODO 都差不多的时候别忘了去掉
112-
validationDisabled = true
113111
ignoredPackages.add("*.internal.*")
114112

115113
this.ignoredProjects.addAll(

buildSrc/src/main/kotlin/P.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ object P {
3737
override val description: String get() = DESCRIPTION
3838
override val homepage: String get() = HOMEPAGE
3939

40-
const val VERSION = "1.0.1"
41-
const val NEXT_VERSION = "1.0.0"
40+
const val VERSION = "1.1.0"
41+
const val NEXT_VERSION = "1.1.1"
4242

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

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ksp = "2.0.0-1.0.22"
1515
# https://square.github.io/kotlinpoet/
1616
kotlinPoet = "1.17.0"
1717
# https://mockk.io/
18-
mockk = "1.13.10"
18+
mockk = "1.13.12"
1919
# https://detekt.dev/docs/intro
2020
detekt = "1.23.3"
2121

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
public abstract interface annotation class love/forte/simbot/component/onebot/common/annotations/ApiResultConstructor : java/lang/annotation/Annotation {
2+
}
3+
4+
public abstract interface annotation class love/forte/simbot/component/onebot/common/annotations/ExperimentalOneBotAPI : java/lang/annotation/Annotation {
5+
}
6+
7+
public abstract interface annotation class love/forte/simbot/component/onebot/common/annotations/InternalOneBotAPI : java/lang/annotation/Annotation {
8+
}
9+
10+
public abstract interface annotation class love/forte/simbot/component/onebot/common/annotations/OneBotInternalImplementationsOnly : java/lang/annotation/Annotation {
11+
}
12+
13+
public abstract interface annotation class love/forte/simbot/component/onebot/common/annotations/SourceEventConstructor : java/lang/annotation/Annotation {
14+
}
15+
16+
public abstract interface class love/forte/simbot/component/onebot/common/component/OneBotComponent : love/forte/simbot/component/Component {
17+
}
18+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
public final class love/forte/simbot/component/onebot/v11/common/api/StatusResult {
2+
public static final field Companion Llove/forte/simbot/component/onebot/v11/common/api/StatusResult$Companion;
3+
public final fun component1 ()Ljava/lang/Boolean;
4+
public final fun component2 ()Z
5+
public final fun copy (Ljava/lang/Boolean;Z)Llove/forte/simbot/component/onebot/v11/common/api/StatusResult;
6+
public static synthetic fun copy$default (Llove/forte/simbot/component/onebot/v11/common/api/StatusResult;Ljava/lang/Boolean;ZILjava/lang/Object;)Llove/forte/simbot/component/onebot/v11/common/api/StatusResult;
7+
public fun equals (Ljava/lang/Object;)Z
8+
public final fun getGood ()Z
9+
public final fun getOnline ()Ljava/lang/Boolean;
10+
public fun hashCode ()I
11+
public fun toString ()Ljava/lang/String;
12+
}
13+
14+
public synthetic class love/forte/simbot/component/onebot/v11/common/api/StatusResult$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
15+
public static final field INSTANCE Llove/forte/simbot/component/onebot/v11/common/api/StatusResult$$serializer;
16+
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
17+
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
18+
public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/component/onebot/v11/common/api/StatusResult;
19+
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
20+
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
21+
public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/component/onebot/v11/common/api/StatusResult;)V
22+
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
23+
}
24+
25+
public final class love/forte/simbot/component/onebot/v11/common/api/StatusResult$Companion {
26+
public final fun serializer ()Lkotlinx/serialization/KSerializer;
27+
}
28+

0 commit comments

Comments
 (0)