Skip to content

Releases: Despical/CommandFramework

v1.5.9

02 Jan 10:35

Choose a tag to compare

Release Notes

  • Fixed aliases for completers do not work.
  • Updated the license header.
  • Removed unused framework option: REPORT_SCAN_WARNINGS.

Full Changelog: 1.5.8...1.5.9

v1.5.8

31 Dec 09:35

Choose a tag to compare

Release Notes

  • HUGE performance improvements, search algorithms for commands, sub-commands, and completers were improved from O(log n) to O(1).
  • Fixed an issue where CommandFramework#registerAllInPackage failed to register main commands in certain cases and depended on the class order within the package.
  • Removed the REPORT_SCAN_WARNINGS option; it is no longer required.

Full Changelog: 1.5.7...1.5.8

v1.5.7

29 Dec 11:28

Choose a tag to compare

Release Notes

  • Added CommandFramework#registerAllInPackage method to register all the commands inside a package and its sub-packages.
    • Reformatted the CommandRegistry class.
    • Updated javadocs inside the CommandFramework class.
    • Now methods like #getCommands and #getSubCommands will just return a new unmodifiable copy.
  • Added REPORT_SCAN_WARNINGS option to enable/disable logging warnings for potential package scanning issues for classes that does not have public no-arg constructor.

Full Changelog: 1.5.6...1.5.7

v1.5.6

09 Dec 12:38

Choose a tag to compare

With this release, it is recommended to include module-info.java in your projects.

Release Notes

  • Now we do not export our internal classes outside the framework.
  • Fixed broken javadocs in the CompleterHelper class.
  • Small improvements in the CommandRegistrationTest class.
  • Removed shade plugin and updated some of the configurations in the pom.xml file.

Full Changelog: 1.5.5...1.5.6

v1.5.5

06 Dec 11:47

Choose a tag to compare

We have migrated to a new namespace and updated all package names to dev.despical.commandframework.

Release Notes

  • Added #getFirst and #getLast methods to the CommandArguments class.
  • Added CompleterHelper#empty method.
  • Moved CompleterHelper class to main package and added more detailed javadoc.
  • Refactor: migrate all packages to `dev.despical.
  • Rename: commandframework.suppressrelocation -> commandframework.suppress.relocation.
  • Rename: commandframework.suppress_initialization -> commandframework.suppress.initialization.

Full Changelog: 1.5.4...1.5.5

v1.5.4

02 Dec 12:59

Choose a tag to compare

Release Notes

  • Added new helper class (CompleterHelper) for tab completing, can be used as a parameter inside a @Command or @Completer method.
  • Added @Contract annotations to the CommandArguments class for better code inspectations on Intellij IDEA.
  • Optimized the ParameterHandler class, now it is faster at finding parameter providers and has more developer-friendly error messages.
    • Added new method: CommandFramework#addCustomParameter(Class, Function)
  • Fixed the broken DebugLogger class.

Full Changelog: 1.5.3...1.5.4

v1.5.3

11 Oct 21:07
485c001

Choose a tag to compare

After almost four years, we are back in the Central Repository.

Release Notes

  • The project has been successfully deployed to the central repository.
  • The Command Framework now uses Java 21 for building and development.
  • Javadoc is now deployed to GitHub Pages for easy access.

Useful Links

Full Changelog

Full Changelog: 1.5.2...1.5.3

v1.5.2

29 Jun 08:51

Choose a tag to compare

Full Changelog: 1.5.13...1.5.2

v1.5.13

03 Jan 10:54

Choose a tag to compare

  • Added a new option to change the fallback prefix of a command (Command#fallbackPrefix). By default, the fallback prefix is the same name as the plugin name.
  • Refactor: renamed me.despical.commandframework.options.Option to FrameworkOption for clarity.
  • Updated license headers.

Full Changelog: 1.5.12...1.5.13

v1.5.12

04 Nov 10:39

Choose a tag to compare

  • Fixed an exception occurring if a sub-command is registered without a main command and the main command of the sub-command is tried to executed.
  • Now if a sub-command is registered without a main command, the log message will display the full name of the sub-command instead of only displaying the main command's name.
  • Replaced the System#getProperty method with Boolean#getBoolean method.
  • Removed the deprecation from Command#async option unless a new API is introduced.

Full Changelog: 1.5.11...1.5.12