Skip to content

Releases: Rushyverse/api

2.1.0

01 Sep 13:27
Compare
Choose a tag to compare

What's Changed

  • fix(jitpack): Minimize jar size and resolve Jitpack build issue by @Distractic in #89
  • chore(deps): bump gradle/gradle-build-action from 2.4.0 to 2.8.0 by @dependabot in #79
  • chore(deps): bump com.charleskorn.kaml:kaml from 0.53.0 to 0.55.0 by @dependabot in #81
  • chore(deps): bump koinVersion from 3.2.0 to 3.4.3 by @dependabot in #82
  • chore(deps): bump junitVersion from 5.9.0 to 5.10.0 by @dependabot in #85
  • chore(deps): bump org.jetbrains.dokka from 1.8.20 to 1.9.0 by @dependabot in #86
  • chore(deps): bump mccoroutineVersion from 2.4.0 to 2.13.0 by @dependabot in #83
  • chore(deps): bump org.jetbrains.kotlinx:kotlinx-serialization-core from 1.5.1 to 1.6.0 by @dependabot in #87
  • chore(deps): bump io.github.microutils:kotlin-logging from 2.1.23 to 3.0.5 by @dependabot in #88
  • chore(deps): bump com.github.seeseemelk:MockBukkit-v1.20 from 3.18.0 to 3.19.1 by @dependabot in #84
  • chore(deps): Update paper version by @Distractic in #90

Full Changelog: v2.0.0...v2.1.0

2.0.0

31 Aug 18:54
Compare
Choose a tag to compare

What's Changed

  • Migration to PaperMC #49

Full Changelog: v1.4.1...v2.0.0

1.4.1

10 Mar 15:26
Compare
Choose a tag to compare

Changes

  • Upgrade project version

1.4.0

10 Mar 15:19
fd4cf6e
Compare
Choose a tag to compare

1.3.0

03 Jan 21:33
1cf7e49
Compare
Choose a tag to compare

Addition

  • Extensions for inventory management
  • Area components to locate entities

Change

  • Update Minestom version
  • Fix CVE due to common.net in Minestom

Full Changelog: v1.2.0...v1.3.0

1.2.0

28 Dec 15:48
Compare
Choose a tag to compare

What's Changed

  • chore: Upgrade kotlin version to 1.8.0

Full Changelog: v1.1.0...v1.2.0

1.1.0

28 Dec 12:04
d087f36
Compare
Choose a tag to compare

What's Changed

  • Add new fields in server configuration to enable Velocity, BungeeCord and OnlineMode

You can now use the new configuration like this :

import com.github.rushyverse.api.configuration.BungeeCordConfiguration
import com.github.rushyverse.api.configuration.IConfiguration
import com.github.rushyverse.api.configuration.IServerConfiguration
import com.github.rushyverse.api.configuration.VelocityConfiguration
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class MyConfiguration(
    @SerialName("server")
    override val server: MyServerConfiguration
) : IConfiguration

@Serializable
data class MyServerConfiguration(
    override val port: Int,
    override val world: String,
    override val onlineMode: Boolean,
    override val bungeeCord: BungeeCordConfiguration,
    override val velocity: VelocityConfiguration
) : IServerConfiguration
  • Define the start method of RushyServer as Suspend method

At the start of the server, we maybe want to make IO interactions (for database, cache, other, ..). To allow that using coroutine, the start method must be defined like :

import com.github.rushyverse.api.RushyServer

suspend fun main(args: Array<String>) {
    MyServer(args.firstOrNull()).start()
}

class MyServer(private val configurationPath: String?) : RushyServer() {

    override suspend fun start() {
        start<MyConfiguration>(configurationPath) {
            // In coroutine
        }
    }
}

Full Changelog: v1.0.0...v1.1.0

1.0.0

27 Dec 18:14
c9135fe
Compare
Choose a tag to compare

What's Changed

Start the API project.

Full Changelog: https://github.com/Rushyverse/api/commits/1.0.0