Changelog
All notable changes to this project will be documented on this page.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.2.1] - 2024-10-14
Fixed
- Command
@Literalannotations conflicting when method signature is identical. - Command tab completion sometime not suggesting arguments or suggesting wrong arguments.
- Entity-based renders such as
TextDisplayRender,BlockDisplayRenderandItemDisplayRenderdid not update their position every tick.
[0.2.0] - 2024-09-19
Added
- More number parsers in
Utilsclass, for types such as short/int/long/float/double. Log.Level.KAPI, for internal logging inside of Kapi. This should help with testing and debugging Kapi, while not cluttering theDEBUGlevel.- Command System:
Commandclass that can be extended to create a command.@SubCommandannotation to mark methods inside a class that extendsCommand.KapiPlugin#registerCommand(String, Command)to register aCommandsubclass.ArgumentParser<T>to allow for parsing a generic type inside a subcommand method.ArgumentRegistryto manage argument parsers and what classes they apply to.- Argument parsers can be implemented by users and registered in the registry, this allows users to create their own parsers for their own custom types.
- Built-in argument parsers for primitives, any enums, arrays,
List<T>,Option<T>,LocationandPlayer. - Automatic reporting of possible subcommands to the user if no subcommands match.
SqliteDBto manage file-based Sqlite databases andQueryBuilderto ease the process of creatingSqlQuery.
Deprecated
Utils#col24(String)should be replaced withUtils#col(String)which supports 24-bit "true color". See this website for how to format it.
[0.1.0] - 2024-09-07
Added
- Initial public release