Releases: Despical/CommandFramework
Releases · Despical/CommandFramework
v1.5.9
v1.5.8
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#registerAllInPackagefailed to register main commands in certain cases and depended on the class order within the package. - Removed the
REPORT_SCAN_WARNINGSoption; it is no longer required.
Full Changelog: 1.5.7...1.5.8
v1.5.7
Release Notes
- Added
CommandFramework#registerAllInPackagemethod to register all the commands inside a package and its sub-packages.- Reformatted the
CommandRegistryclass. - Updated javadocs inside the
CommandFrameworkclass. - Now methods like
#getCommandsand#getSubCommandswill just return a new unmodifiable copy.
- Reformatted the
- 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
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
CompleterHelperclass. - Small improvements in the
CommandRegistrationTestclass. - Removed shade plugin and updated some of the configurations in the
pom.xmlfile.
Full Changelog: 1.5.5...1.5.6
v1.5.5
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
CommandArgumentsclass. - Added
CompleterHelper#emptymethod. - 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
Release Notes
- Added new helper class (
CompleterHelper) for tab completing, can be used as a parameter inside a@Commandor@Completermethod. - Added
@Contractannotations to theCommandArgumentsclass for better code inspectations on Intellij IDEA. - Optimized the
ParameterHandlerclass, now it is faster at finding parameter providers and has more developer-friendly error messages.- Added new method:
CommandFramework#addCustomParameter(Class, Function)
- Added new method:
- Fixed the broken
DebugLoggerclass.
Full Changelog: 1.5.3...1.5.4
v1.5.3
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
- Added new utility method CommandArguments#sendMessage(Component)
- Fixed the tab completer working twice when there is no completer associated with the command.
Full Changelog: 1.5.13...1.5.2
v1.5.13
- 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.Optionto FrameworkOption for clarity. - Updated license headers.
Full Changelog: 1.5.12...1.5.13
v1.5.12
- 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#getPropertymethod withBoolean#getBooleanmethod. - Removed the deprecation from
Command#asyncoption unless a new API is introduced.
Full Changelog: 1.5.11...1.5.12