📚 Make CHANGELOG less messy and add missing changes

This commit is contained in:
Alexander Söderberg 2021-01-14 09:04:46 +01:00 committed by Alexander Söderberg
parent 14baf5b876
commit 92f8661b59

View file

@ -7,33 +7,50 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Added ### Added
- Expose the Command which led to `InvalidCommandSenderException`s - Predicate command filters to the help system ([#187](https://github.com/Incendo/cloud/pull/187))
- Expose the CommandContext which led to `CommandExecutionException`s - Allow flags to contain compound arguments ([#192](https://github.com/Incendo/cloud/pull/192))
- Added helper methods for command flags to MutableCommandBuilder - Allow for components in exceptions and meta data ([#200](https://github.com/Incendo/cloud/pull/200))
- Added injection services - Location2DArgument ([#201](https://github.com/Incendo/cloud/pull/201))
- Added a Guice injection service - Expose the Command which led to `InvalidCommandSenderException`s ([#204](https://github.com/Incendo/cloud/pull/211))
- Add predicate permissions - Expose the CommandContext which led to `CommandExecutionException`s ([#204](https://github.com/Incendo/cloud/pull/211))
- Helper methods for command flags to MutableCommandBuilder ([#205](https://github.com/Incendo/cloud/pull/205))
- CommandFlag accepting getters to FlagContext ([#206](https://github.com/Incendo/cloud/pull/206))
- More abstract description concept ([#207](https://github.com/Incendo/cloud/pull/207))
- Predicate permissions ([#210](https://github.com/Incendo/cloud/pull/210))
- Injection services ([#211](https://github.com/Incendo/cloud/pull/211))
### Changed
- Allow command argument names to include `_` and `-` ([#186](https://github.com/Incendo/cloud/pull/186))
- Make it easier to use translatable components with MinecraftHelp ([#197](https://github.com/Incendo/cloud/pull/197))
- Show "No result for query" when a multi-help topic is empty
### Deprecated ### Deprecated
- Deprecated ParameterInjectorRegistry#injectors - Description, and everything using Description directly ([#207](https://github.com/Incendo/cloud/pull/207))
- ParameterInjectorRegistry#injectors ([#211](https://github.com/Incendo/cloud/pull/211))
### Fixed
- Issue where suggestions were shown multiple times when using Brigadier ([#184](https://github.com/Incendo/cloud/pull/184))
- Issue where the command manager was in the wrong state if no commands had been registered ([#196](https://github.com/Incendo/cloud/pull/196))
- Issues with JDA ([#198](https://github.com/Incendo/cloud/pull/198)) ([#199](https://github.com/Incendo/cloud/pull/199))
- Console suggestions for Bukkit
## [1.3.0] - 2020-12-18 ## [1.3.0] - 2020-12-18
### Added ### Added
- Added `@Suggestions` annotated methods - `@Suggestions` annotated methods
- Added `@Parser` annotated methods - `@Parser` annotated methods
- Type safe meta system - Type safe meta system
- Allow interception of command builders based on annotations in AnnotationParser - Allow interception of command builders based on annotations in AnnotationParser
- Add Kotlin DSL - Kotlin DSL
- Make CommandMeta and FlagContext more Kotlin friendly
### Changed ### Changed
- Moved the parser injector registry into CommandManager and added injection to CommandContext - Move the parser injector registry into CommandManager and added injection to CommandContext
- Supporting repeating literals or argument names - Supporting repeating literals or argument names
- Make CommandMeta and FlagContext more Kotlin friendly
### Deprecated ### Deprecated
- String keyed command meta - String keyed command meta
- Deprecated ParameterInjectorRegistry#injectors - ParameterInjectorRegistry#injectors
### Fixed ### Fixed
- Fixed issue with task synchronization - Fixed issue with task synchronization
@ -41,52 +58,52 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.2.0] - 2020-12-07 ## [1.2.0] - 2020-12-07
### Added ### Added
- Added access to the CloudBrigadierManager from Brigadier-enabled command managers - Access to the CloudBrigadierManager from Brigadier-enabled command managers
- Added parameter injectors (cloud-annotations) - Parameter injectors (cloud-annotations)
- Store currently parsing command argument in the command context - Store currently parsing command argument in the command context
- Added a method to CloudBrigadierManager to enable or disable Brigadier native suggestions for specific argument types - A method to CloudBrigadierManager to enable or disable Brigadier native suggestions for specific argument types
- Added a method to get the failure reason of SelectorParseExceptions - A method to get the failure reason of SelectorParseExceptions
- Added some methods to FlagContext to work with flag values as optionals - Some methods to FlagContext to work with flag values as optionals
- Allow for use of named suggestion providers with `@Flag`s (cloud-annotations) - Allow for use of named suggestion providers with `@Flag`s (cloud-annotations)
- Added `CommandExecutionException` which wraps any exception thrown during the execution of command handlers. Should be - `CommandExecutionException` which wraps any exception thrown during the execution of command handlers. Should be
handled using `CommandManager#registerExceptionHandler`, similar to `NoSuchCommandException`, `ArgumentParseException`, etc. handled using `CommandManager#registerExceptionHandler`, similar to `NoSuchCommandException`, `ArgumentParseException`, etc.
- Added registration state to command managers - Registration state to command managers
- Added ALLOW_UNSAFE_REGISTRATION ManagerSetting to disable state checks when registering commands - ALLOW_UNSAFE_REGISTRATION ManagerSetting to disable state checks when registering commands
- Added OVERRIDE_EXISTING_COMMANDS ManagerSetting to allow for overriding of existing commands on supported platforms - OVERRIDE_EXISTING_COMMANDS ManagerSetting to allow for overriding of existing commands on supported platforms
### Changed ### Changed
- Allow for use of `@Completions` annotation with argument types other than String - Allow for use of `@Completions` annotation with argument types other than String
- Allow for use of a BiFunction<C, E, Component> instead of just a Function<E, Component> in MinecraftExceptionHandler - Allow for use of a BiFunction<C, E, Component> instead of just a Function<E, Component> in MinecraftExceptionHandler
### Deprecated ### Deprecated
- Deprecated LockableCommandManager in favor of CommandManager state - LockableCommandManager in favor of CommandManager state
### Fixed ### Fixed
- Use the correct default range for Double and Float parsers in the StandardParserRegistry - Use the correct default range for Double and Float parsers in the StandardParserRegistry
- Fix Bukkit alias command suggestions without Brigadier - Bukkit alias command suggestions without Brigadier
- Fix Bukkit command alias registration when using Brigadier - Bukkit command alias registration when using Brigadier
- Fixed a bug where providing valid input for an argument caused cloud to no longer make suggestions - A bug where providing valid input for an argument caused cloud to no longer make suggestions
- Detect and throw an exception for ambiguous nodes in more cases - Detect and throw an exception for ambiguous nodes in more cases
- CloudBrigadierManager no longer forgets the command sender - CloudBrigadierManager no longer forgets the command sender
## [1.1.0] - 2020-10-24 ## [1.1.0] - 2020-10-24
### Added ### Added
- Added ExampleVelocityPlugin - ExampleVelocityPlugin
- Added CloudInjectionModule to cloud-velocity - CloudInjectionModule to cloud-velocity
- Added PlayerArgument to cloud-velocity - PlayerArgument to cloud-velocity
- Added TextColorArgument to minecraft-extras - TextColorArgument to minecraft-extras
- Added LocationArgument to cloud-bukkit - LocationArgument to cloud-bukkit
- Added ServerArgument to cloud-velocity - ServerArgument to cloud-velocity
- Added LockableCommandManager to cloud-core - LockableCommandManager to cloud-core
- Added VelocityCommandPreprocessor to cloud-velocity - VelocityCommandPreprocessor to cloud-velocity
- Added PlayerArgument to cloud-bungee - PlayerArgument to cloud-bungee
- Added ServerArgument to cloud-bungee - ServerArgument to cloud-bungee
- Added ExampleBungeePlugin - ExampleBungeePlugin
- Added CaptionKeys to cloud-bungee - CaptionKeys to cloud-bungee
- Added BungeeCommandPreprocessor to cloud-bungee - BungeeCommandPreprocessor to cloud-bungee
- Added named suggestion providers - Named suggestion providers
- Added a PircBotX implementation - PircBotX implementation
### Changed ### Changed
- Allow for combined presence flags, such that `-a -b -c` is equivalent to `-abc` - Allow for combined presence flags, such that `-a -b -c` is equivalent to `-abc`
@ -94,21 +111,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Allow for annotated annotations - Allow for annotated annotations
### Fixed ### Fixed
- Fix arguments with no required children not being executors (cloud-brigadier) - Arguments with no required children not being executors (cloud-brigadier)
## [1.0.2] - 2020-10-18 ## [1.0.2] - 2020-10-18
### Fixed ### Fixed
- Fixed quoted parsing in StringArgument - Quoted parsing in StringArgument
- Fixed wrong suggestions following invalid literals - Wrong suggestions following invalid literals
- Fixes chained optionals not allowing the command to be executed when more than one optional is omitted - Chained optionals not allowing the command to be executed when more than one optional is omitted
### Changed ### Changed
- Updated adventure-api from 4.0.0 to 4.1.1 - Update adventure-api from 4.0.0 to 4.1.1
- Updated Velocity module for breaking API changes (sendMessage needs an Identity) - Update Velocity module for breaking API changes (sendMessage needs an Identity)
## [1.0.1] - 2020-10-14 ## [1.0.1] - 2020-10-14
### Changes ### Changes
- Switched from a snapshot to a release version of adventure 4.0.0 - Switch from a snapshot to a release version of adventure 4.0.0
- Added `Identity.nil()` when sending adventure messages - Add `Identity.nil()` when sending adventure messages