Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: v4.7.0 #960

Merged
merged 6 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/P.kt
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ fun isSnapshot(): Boolean = _isSnapshot
@Suppress("MemberVisibilityCanBePrivate")
sealed class P(override val group: String) : ProjectDetail() {
companion object {
const val VERSION = "4.7.0-beta1"
const val NEXT_VERSION = "4.7.0-beta2"
const val VERSION = "4.7.0"
const val NEXT_VERSION = "4.7.1"
const val SNAPSHOT_VERSION = "$VERSION-SNAPSHOT"
const val NEXT_SNAPSHOT_VERSION = "$NEXT_VERSION-SNAPSHOT"

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ksp = "2.0.20-1.0.25"
kotlinPoet = "1.18.1"
# https://github.com/Kotlin/kotlinx-benchmark
#kotlinxBenchmark = "0.4.11"
reactor = "3.6.10"
reactor = "3.6.11"
# simbots
suspendTransform = "2.0.20-0.9.3"
gradleCommon = "0.6.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
* 文件会在通过 [Resource.data] 读取数据时才会校验存在性。届时如果文件不存在,
* 则会得到 [IllegalStateException] 异常。
* 此异常的 [IllegalStateException.cause] 可能是:
* - [kotlinx.io.files.FileNotFoundException]

Check warning on line 96 in simbot-api/src/commonMain/kotlin/love/forte/simbot/resource/IOResources.kt

View workflow job for this annotation

GitHub Actions / qodana

Unresolved reference in KDoc

Cannot resolve symbol 'kotlinx'
* - [kotlinx.io.IOException]
* 如果是这两个类型,则成因参考 [kotlinx.io.files.FileSystem.source]。
*
Expand All @@ -113,6 +113,8 @@
/**
* 一个可以得到 [kotlinx.io.Source] 的 [Resource]。
*
* @see fileResource
*
* @since 4.7.0
*/
@ExperimentalIOResourceAPI
Expand Down Expand Up @@ -146,7 +148,8 @@

@ExperimentalIOResourceAPI
private data class FilePathResource(val path: Path) : SourceResource {
private val source = SystemFileSystem.source(path)
private val source
get() = SystemFileSystem.source(path)

@Throws(Exception::class)
override fun source(): Source = source.buffered()
Expand Down
2 changes: 1 addition & 1 deletion simbot-commons/simbot-common-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ kotlin {
dependencies {
implementation(kotlin("test-junit5"))
implementation(libs.kotlinx.coroutines.reactor)
implementation("io.projectreactor:reactor-test:3.6.10")
implementation("io.projectreactor:reactor-test:3.6.11")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ kotlin {
implementation(libs.kotlinx.coroutines.reactor)
implementation(libs.kotlinx.coroutines.rx2)
implementation(libs.kotlinx.coroutines.rx3)
implementation("io.projectreactor:reactor-test:3.6.10")
implementation("io.projectreactor:reactor-test:3.6.11")
}
}
}
Expand Down
Loading