From a87f41e66df3392c893775e1e68f0abd8fe0732e Mon Sep 17 00:00:00 2001 From: oglassdev <23040613+oglassdev@users.noreply.github.com> Date: Thu, 15 Oct 2026 19:34:25 -0400 Subject: [PATCH 1/2] chore: prepare 0.6.0-beta.0 release --- .github/workflows/publish.yml | 5 +++- CHANGELOG.md | 25 ++++++++++++++++++- README.md | 4 +-- adventure-serialization/build.gradle.kts | 10 ++++---- build.gradle.kts | 4 ++- .../main/kotlin/buildlogic.common.gradle.kts | 2 +- serialization/build.gradle.kts | 10 ++++---- 7 files changed, 44 insertions(+), 16 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 987bd10..6dd299a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,6 +3,9 @@ name: Publish project to Maven Central on: workflow_dispatch: +permissions: + contents: write + jobs: release: name: Release @@ -30,4 +33,4 @@ jobs: JRELEASER_GPG_SECRET_KEY: ${{ secrets.JRELEASER_GPG_SECRET_KEY }} JRELEASER_GPG_PASSPHRASE: ${{ secrets.JRELEASER_GPG_PASSPHRASE }} JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: ./gradlew jreleaserPrepare jreleaserFullRelease \ No newline at end of file + run: ./gradlew jreleaserPrepare jreleaserFullRelease diff --git a/CHANGELOG.md b/CHANGELOG.md index d20a834..67f810e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +### 0.6.0-beta.0 + +- **Breaking Changes** + - Updated to Minestom 26.2, Java 25, and Kotlin 2.4.21 + - Removed `MinecraftServer.BenchmarkManager` (removed upstream in Minestom) + - `buildInstance` now accepts `Registries` instead of the dimension type registry + - `Kommand`: Replaced `KommandExecutorContext` with a `context(CommandContext)` parameter and top-level `Argument.invoke()`, and removed the unused `scope` parameter from `defaultExecutorAsync` + - `@InstanceDsl` now restricts implicit `InstanceContainer` receiver scope inside `generator { }` + - Removed no-op `@DslMarker` annotations from functions and properties +- Features + - Added `SchedulerDispatcher` and `Scheduler.asCoroutineDispatcher()` for running coroutines on any Minestom scheduler +- Fixes + - `MinestomDispatcher` now counts coroutine delays in ticks + - Included `overrideLimiter` in `ParticleBuilder` equality and hash code + - Registered `StaticProtocolObject` serializers per concrete type in `MinestomModule` + - Dropped `Point` extensions shadowed by Minestom members (`asVec()`, `asPos()`) and deprecated `Vec.roundToBlock()` in favor of `asBlockVec()` + +### 0.5.0-alpha.0 + +- **Breaking Changes** + - Moved group ID from `net.bladehunt` to `dev.oglass` + - Updated to Minestom 1.21.7 and `DataComponents` + ### 0.4.0 (Proposed/alpha) - **Breaking Changes** @@ -86,4 +109,4 @@ - Example: `player.await(TaskSchedule.tick(12))` - DSLs separated - DSLs were separated to remove any builder logic from classes -- Tag delegation changed to just use `var tagValue by tag` instead of requiring `TagDelegate(tag)` \ No newline at end of file +- Tag delegation changed to just use `var tagValue by tag` instead of requiring `TagDelegate(tag)` diff --git a/README.md b/README.md index 95d6089..bae5079 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ repositories { The latest version can be found [here](https://github.com/oglassdev/KotStom/releases). -**The KotStom version for 1.21.7 is `0.5.0-alpha.0`** +**The KotStom version for 26.2 is `0.6.0-beta.0`** ## Module Overview @@ -26,7 +26,7 @@ implementation("dev.oglass:kotstom:") - Minestom Extensions - Tag delegates (`by Tag`) - - Scheduler extensions (`#await`, `scheduleTask`) + - Scheduler extensions (`#await`, `scheduleTask`, `asCoroutineDispatcher`) - Adventure extensions - Better `text` function - `String.asMini` - Converts to MiniMessage. Requires MiniMessage to be in classpath diff --git a/adventure-serialization/build.gradle.kts b/adventure-serialization/build.gradle.kts index 0b0b5e0..e972c2e 100644 --- a/adventure-serialization/build.gradle.kts +++ b/adventure-serialization/build.gradle.kts @@ -20,7 +20,7 @@ publishing { pom { name = "KotStom Adventure Serialization" description = "Adventure NBT kotlinx.serialization format" - url = "https://github.com/bladehuntmc/KotStom" + url = "https://github.com/oglassdev/KotStom" licenses { license { @@ -39,13 +39,13 @@ publishing { issueManagement { system = "GitHub" - url = "https://github.com/bladehuntmc/KotStom/issues" + url = "https://github.com/oglassdev/KotStom/issues" } scm { - connection = "scm:git:git:github.com/bladehuntmc/KotStom.git" - developerConnection = "scm:git:https://github.com/bladehuntmc/KotStom.git" - url = "https://github.com/bladehuntmc/KotStom" + connection = "scm:git:git:github.com/oglassdev/KotStom.git" + developerConnection = "scm:git:https://github.com/oglassdev/KotStom.git" + url = "https://github.com/oglassdev/KotStom" } } } diff --git a/build.gradle.kts b/build.gradle.kts index 6991d80..77bdd7f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -83,7 +83,9 @@ tasks.assemble { jreleaser { signing { active = Active.ALWAYS - armored = true + pgp { + armored = true + } } deploy { maven { diff --git a/buildSrc/src/main/kotlin/buildlogic.common.gradle.kts b/buildSrc/src/main/kotlin/buildlogic.common.gradle.kts index 6f7777d..68e0abf 100644 --- a/buildSrc/src/main/kotlin/buildlogic.common.gradle.kts +++ b/buildSrc/src/main/kotlin/buildlogic.common.gradle.kts @@ -6,7 +6,7 @@ plugins { } group = "dev.oglass" -version = "0.5.0-alpha.0" +version = "0.6.0-beta.0" repositories { mavenCentral() diff --git a/serialization/build.gradle.kts b/serialization/build.gradle.kts index 761cc00..f9ddad5 100644 --- a/serialization/build.gradle.kts +++ b/serialization/build.gradle.kts @@ -22,7 +22,7 @@ publishing { pom { name = "KotStom Serialization" description = "kotlinx.serialization utilities for Minestom" - url = "https://github.com/bladehuntmc/KotStom" + url = "https://github.com/oglassdev/KotStom" licenses { license { @@ -41,13 +41,13 @@ publishing { issueManagement { system = "GitHub" - url = "https://github.com/bladehuntmc/KotStom/issues" + url = "https://github.com/oglassdev/KotStom/issues" } scm { - connection = "scm:git:git:github.com/bladehuntmc/KotStom.git" - developerConnection = "scm:git:https://github.com/bladehuntmc/KotStom.git" - url = "https://github.com/bladehuntmc/KotStom" + connection = "scm:git:git:github.com/oglassdev/KotStom.git" + developerConnection = "scm:git:https://github.com/oglassdev/KotStom.git" + url = "https://github.com/oglassdev/KotStom" } } } From 16e0ca9a78d99d9088bfbc0a6b0dfd65adcd6d67 Mon Sep 17 00:00:00 2001 From: oglassdev <23040613+oglassdev@users.noreply.github.com> Date: Thu, 15 Oct 2026 19:58:29 -0400 Subject: [PATCH 2/2] chore: mark pre-releases and format GitHub release notes Configure JReleaser to flag alpha/beta/rc versions as GitHub pre-releases and generate release notes with the conventional-commits preset. Add PR references to the changelog. --- CHANGELOG.md | 24 ++++++++++++------------ build.gradle.kts | 11 +++++++++++ 2 files changed, 23 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 67f810e..3865015 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,25 +1,25 @@ ### 0.6.0-beta.0 - **Breaking Changes** - - Updated to Minestom 26.2, Java 25, and Kotlin 2.4.21 - - Removed `MinecraftServer.BenchmarkManager` (removed upstream in Minestom) - - `buildInstance` now accepts `Registries` instead of the dimension type registry - - `Kommand`: Replaced `KommandExecutorContext` with a `context(CommandContext)` parameter and top-level `Argument.invoke()`, and removed the unused `scope` parameter from `defaultExecutorAsync` - - `@InstanceDsl` now restricts implicit `InstanceContainer` receiver scope inside `generator { }` - - Removed no-op `@DslMarker` annotations from functions and properties + - Updated to Minestom 26.2, Java 25, and Kotlin 2.4.21 (#18) + - Removed `MinecraftServer.BenchmarkManager` (removed upstream in Minestom) (#18) + - `buildInstance` now accepts `Registries` instead of the dimension type registry (#18) + - `Kommand`: Replaced `KommandExecutorContext` with a `context(CommandContext)` parameter and top-level `Argument.invoke()`, and removed the unused `scope` parameter from `defaultExecutorAsync` (#20) + - `@InstanceDsl` now restricts implicit `InstanceContainer` receiver scope inside `generator { }` (#23) + - Removed no-op `@DslMarker` annotations from functions and properties (#22) - Features - - Added `SchedulerDispatcher` and `Scheduler.asCoroutineDispatcher()` for running coroutines on any Minestom scheduler + - Added `SchedulerDispatcher` and `Scheduler.asCoroutineDispatcher()` for running coroutines on any Minestom scheduler (#28) - Fixes - - `MinestomDispatcher` now counts coroutine delays in ticks - - Included `overrideLimiter` in `ParticleBuilder` equality and hash code - - Registered `StaticProtocolObject` serializers per concrete type in `MinestomModule` - - Dropped `Point` extensions shadowed by Minestom members (`asVec()`, `asPos()`) and deprecated `Vec.roundToBlock()` in favor of `asBlockVec()` + - `MinestomDispatcher` now counts coroutine delays in ticks (#27) + - Included `overrideLimiter` in `ParticleBuilder` equality and hash code (#25) + - Registered `StaticProtocolObject` serializers per concrete type in `MinestomModule` (#18) + - Dropped `Point` extensions shadowed by Minestom members (`asVec()`, `asPos()`) and deprecated `Vec.roundToBlock()` in favor of `asBlockVec()` (#21) ### 0.5.0-alpha.0 - **Breaking Changes** - Moved group ID from `net.bladehunt` to `dev.oglass` - - Updated to Minestom 1.21.7 and `DataComponents` + - Updated to Minestom 1.21.7 and `DataComponents` (#16) ### 0.4.0 (Proposed/alpha) diff --git a/build.gradle.kts b/build.gradle.kts index 77bdd7f..b54df9d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -87,6 +87,17 @@ jreleaser { armored = true } } + release { + github { + prerelease { + pattern = ".*-(alpha|beta|rc).*" + } + changelog { + formatted = Active.ALWAYS + preset = "conventional-commits" + } + } + } deploy { maven { mavenCentral {