Skip to content
This repository has been archived by the owner on May 4, 2019. It is now read-only.

Releases: kvnxiao/kommandant

1.0.4 - ICommandExecutable return type, Kotlin Coroutine dependency update

25 Mar 23:23
Compare
Choose a tag to compare

Changelog:

  • Fixed missing repository URL for newer kotlin coroutine versions
  • ICommandExecutable functional interface can now return nullable generic type

1.0.3 - Immutables, Formatting, License Headers

23 Mar 16:27
Compare
Choose a tag to compare

Changelogs:

  • Changed CommandContext to an immutable, open class that can be extended
  • Updated all source files to include license header
  • Added spotless gradle plugin to follow a set standard of formatting for Java and Kotlin files

1.0.1 - Update

18 Mar 22:51
Compare
Choose a tag to compare

Changelogs:

  • Updated to Kotlin 1.1.1
  • Refactored CommandContext to a Kotlin data class, for the sole purpose of storing command contexts; it will do no logic or calculations in the constructor
    • Added a SplitString class instead, which can perform string splitting logic in the constructor and return the first and second string component after a split
  • Added a StringSplitter utility class in Java for more performant string splitting methods
  • Added event methods for ICommandExecutor: onCommandExecute, onCommandExecuteDisabled, onCommandExecuteSkipped. These can be overrided by implementations to do specific tasks (e.g. logging)

First Official Release

13 Mar 23:49
Compare
Choose a tag to compare

The Kommandant library, along with its documentation is ready for its very first v1.0 release!

It is now fully ready for you to implement into your own projects and libraries.