Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
chore: update versions and changelog, 2.14.0
Browse files Browse the repository at this point in the history
Former-commit-id: 3b5142e
  • Loading branch information
Nambers committed Feb 28, 2023
1 parent 37b60cf commit 9390d7a
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# Change Log

## v2.14.0
* Command注册函数`registerCommand`现在不接受参数,只接受一个模板参数,会调用默认构造函数构造子类对象;command类必须重写基类析构函数
* schedule不会从重载前的插件传递timeout event给重载后的插件
* 采用CRTP定义的Exception具体类型将不会出现在头文件中,因为这造成了大量的编译时间开销(基类仍然在头文件中)。如果需要某种具体的MiraiCP内部异常类型,可以从源文件中找到并复制到你的代码引用位置的前方
* 隐藏`GroupInviteEvent``NewFriendRequestEvent``MemberJoinRequestEvent`内部接口
* Event回调的handle使用裸指针而非更慢的shared_ptr
* SingleMessage删除了使用指针的`==`重载
* 修复 MemberLeaveEvent 构造问题
* 增加获取全部在线 bot 接口
* 增加获取群荣耀成员接口 (龙王之类的)
> MiraiCP-native 还有问题, 目前还跑不了(悲)
## v2.13.2

Expand Down
2 changes: 1 addition & 1 deletion cpp/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = MiraiCP
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = v2.13.2
PROJECT_NUMBER = v2.14.0

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
2 changes: 1 addition & 1 deletion cpp/include/common/PluginConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@


namespace MiraiCP {
constexpr const char *m_MiraiCPVersion = "v2.13.2";
constexpr const char *m_MiraiCPVersion = "v2.14.0";
inline const std::string MiraiCPVersion = m_MiraiCPVersion;

struct PluginConfig {
Expand Down
2 changes: 1 addition & 1 deletion kotlin/buildSrc/src/main/kotlin/Version.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

object Version {
const val miraiCP = "2.13.2"
const val miraiCP = "2.14.0"
// plugins
const val kotlin = "1.8.0"
const val shadowJar = "7.1.2"
Expand Down
6 changes: 3 additions & 3 deletions kotlin/loader/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {

afterEvaluate {
tasks.named<org.jetbrains.kotlin.gradle.tasks.KotlinNativeCompile>("compileKotlinNative").apply {
this.configure {
this.kotlinOptions.freeCompilerArgs = listOf("-Xllvm-variant=D:\\msys64\\mingw64")
}
// this.configure {
// this.kotlinOptions.freeCompilerArgs = listOf("-Xllvm-variant=D:\\msys64\\mingw64")
// }
}
}

Expand Down
4 changes: 2 additions & 2 deletions kotlin/shared/src/commonMain/kotlin/BuiltInConstants.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package tech.eritquearcus.miraicp.shared

object BuiltInConstants {
const val date = "Thu Jan 26 15:21:49 EST 2023"
const val date = "Sat Feb 18 12:08:44 EST 2023"
const val version = "2.13.2"
const val miraiVersion = "2.14.0-RC"
const val miraiVersion = "2.14.0"
}

0 comments on commit 9390d7a

Please sign in to comment.