Skip to content

Releases: OneLiteFeatherNET/Guira

0.6.0

10 Aug 12:46
67db697
Compare
Choose a tag to compare

Changelog

The release of version 0.6.0 contains the following highlights:

  • Updated dependencies, such as Minestom and Aves
  • Published the documentation

v0.5.0

19 Jul 20:15
1a954d1
Compare
Choose a tag to compare

Changelog

Version 0.5.0 introduces support for Minecraft 1.21.8.
The internal mycelium-bom version has been updated accordingly to reflect this change.

This release includes several additions, removals, and breaking changes.
Let’s start with the additions and improvements that do not require any migration effort:

✨ Additions & Improvements

  • Introduced two functional interfaces to simplify functional usage (#21)

📦 Dependency Updates

  • Updated dependency net.onelitefeather:mycelium-bom to v1.4.0 (#18)
  • Updated dependency net.onelitefeather:mycelium-bom to v1.4.2 (#20 )

v0.4.0

14 Jul 10:35
22ce6df
Compare
Choose a tag to compare

Changelog

The 0.4.0 release adds support for Minecraft 1.21.7, but does not include any other changes.
Please check the previous release for more information.

v0.3.0

09 Jul 08:20
9078376
Compare
Choose a tag to compare

Changelog

Version 0.3.0 adds support for Minecraft 1.21.5. The internal mycelium-bom version has also been updated to reflect this change.

This release introduces several additions, removals, and breaking changes. Below are the improvements that do not require any migration efforts:

Improvements

The SetupDataService now includes two new methods to assist with setup:

  • isEmpty: Allows you to check whether the service currently contains any data.
  • clear: Removes all references from the internal map, effectively cleaning up the service. If you need additional cleanup logic, you can extend this method in your implementation.

⚠️ Breaking Changes: SetupData

Generics have been removed from the SetupData class to simplify the codebase. Additionally, the sealed keyword has been removed, so you can now directly extend the base definition to implement your own custom context. This change increases flexibility, as not every implementation needs to rely on BaseMap.

A typical implementation of a custom class now looks like this:

public final class YourData implements SetupData {

    private final UUID uuid;

    public YourData(@NotNull UUID uuid) {
        this.uuid = uuid;
    }

    @Override
    public boolean equals(Object o) {
        if (!(o instanceof YourData that)) return false;
        return Objects.equals(uuid, that.uuid);
    }

    @Override
    public int hashCode() {
        return Objects.hashCode(uuid);
    }

    @Override
    public void save() {
        // Logic
    }

    @Override
    public void reset() {
        // Logic
    }

    @Override
    public void loadData() {
        // Logic
    }

    @Override
    public @NotNull UUID getId() {
        return this.uuid;
    }
}

v0.2.0

06 May 08:55
147021d
Compare
Choose a tag to compare

Release Notes

This release restructures the project's dependencies to rely on our internal BOM projects, streamlining the dependency update process.

Additionally, the project now explicitly depends on Minestom instead of Microtus.

v0.1.0

05 May 09:07
Compare
Choose a tag to compare

Changelog

This is the first release of the Guira library. You can now access it via our internal Reposilite server.

The library enables you to store various kinds of data for the setup process of a minigame or other projects on a Minestom server.
To get started, implement your own class that inherits from BaseSetupData and create a new instance of SetupDataService, which manages the objects at runtime.

For more details, refer to the example section in the README file.