Skip to content
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
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Publish project to Maven Central
on:
workflow_dispatch:

permissions:
contents: write

jobs:
release:
name: Release
Expand Down Expand Up @@ -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
run: ./gradlew jreleaserPrepare jreleaserFullRelease
25 changes: 24 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
### 0.6.0-beta.0

- **Breaking Changes**
- 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 (#28)
- Fixes
- `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` (#16)

### 0.4.0 (Proposed/alpha)

- **Breaking Changes**
Expand Down Expand Up @@ -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)`
- Tag delegation changed to just use `var tagValue by tag` instead of requiring `TagDelegate(tag)`
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -26,7 +26,7 @@ implementation("dev.oglass:kotstom:<version>")

- 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
Expand Down
10 changes: 5 additions & 5 deletions adventure-serialization/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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"
}
}
}
Expand Down
15 changes: 14 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,20 @@ tasks.assemble {
jreleaser {
signing {
active = Active.ALWAYS
armored = true
pgp {
armored = true
}
}
release {
github {
prerelease {
pattern = ".*-(alpha|beta|rc).*"
}
changelog {
formatted = Active.ALWAYS
preset = "conventional-commits"
}
}
}
deploy {
maven {
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/buildlogic.common.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group = "dev.oglass"
version = "0.5.0-alpha.0"
version = "0.6.0-beta.0"

repositories {
mavenCentral()
Expand Down
10 changes: 5 additions & 5 deletions serialization/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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"
}
}
}
Expand Down
Loading