Skip to content

Commit b52dc77

Browse files
committed
feat: update changelog
1 parent d2ce0b6 commit b52dc77

1 file changed

Lines changed: 37 additions & 3 deletions

File tree

docs/cloud-v2.md

Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ The command tree has been rewritten to work with completable futures, and the ar
5151
**Aggregate Parsers ([#522](https://github.com/Incendo/cloud/pull/522))**
5252
Aggregate parsers have been introduced as a better version of the compound parsers. You may either implement the aggregate parser interface, or construct an aggregate parser using a builder. The aggregate parsers support suggestion provider overrides for the inner components, which was not possible with the compound parsers.
5353

54-
The compound parsers implement the aggregate parser interface, and thus gets access to the improvements. The existing command builder methods for building argument pairs and triplets will remain.
55-
5654
**CommandDescription ([#530](https://github.com/Incendo/cloud/pull/530))**
5755
Commands now have descriptions that live outside the command meta. This is different from the description of the root literal of a command. The new `CommandDescription` class replaces the old `DESCRIPTION` and `LONG_DESCRIPTION` meta values.
5856

@@ -106,10 +104,27 @@ You may now register `ParserDescriptor` instances.
106104
**Move confirmation system to external repository ([#620](https://github.com/Incendo/cloud/pull/620))**
107105
The confirmation system now lives in [cloud-processors](https://github.com/Incendo/cloud-processors).
108106

109-
**Add Either ([647](https://github.com/Incendo/cloud/pull/647))**
107+
**Add Either ([#647](https://github.com/Incendo/cloud/pull/647))**
110108
`Either<A, B>` can be parsed by `ArgumentParser.firstOf(ParserDescriptor, ParserDescriptor)` which allows
111109
for multiple variable components on the same level.
112110

111+
**Refactor numerical parsing ([#649](https://github.com/Incendo/cloud/pull/649))**
112+
The numerical parsers now extend `NumberParser`. Ranges have been moved into a `Range` object.
113+
114+
**Move standard captions to a provider ([#658](https://github.com/Incendo/cloud/pull/658/files))**
115+
The standard caption values are now managed by a caption provider.
116+
117+
**Package cleanup ([#659](https://github.com/Incendo/cloud/pull/659), [#660](https://github.com/Incendo/cloud/pull/660))**
118+
We've moved around and standardized the package names in `cloud-core`. The namespace of the project has been
119+
changed from `cloud.commandframework` to `org.incendo`.
120+
121+
**Use captions in the default exception handlers ((#671)[https://github.com/Incendo/cloud/issues/671])**
122+
This allows for the exception handlers to be translated in the same way as any other caption,
123+
without requiring the entire exception handler to be replaced.
124+
125+
**Flag building cleanup ([#708](https://github.com/Incendo/cloud/pull/708))**
126+
The process of building command flags has been improved.
127+
113128
### Annotations
114129

115130
**Lenient `@Suggestions` methods ([#496](https://github.com/Incendo/cloud/pull/496), [#617](https://github.com/Incendo/cloud/pull/617))**
@@ -150,6 +165,15 @@ This allows for injections and more flexible signatures in more places.
150165
**Support Gradle incremental compilation ([#624](https://github.com/Incendo/cloud/pull/624))**
151166
Faster compilation.
152167

168+
**Organize & rename annotations ((#631)[https://github.com/Incendo/cloud/pull/631])**
169+
`@CommandMethod` has been renamed to `@Command` and `@CommandPermission` has been renamed to `@Permission`
170+
171+
**Annotated default-returning methods ([#670](https://github.com/Incendo/cloud/issues/670))**
172+
Methods annotated with `@Default` can be used to register `DefaultValue` instances.
173+
174+
**Allow for multiple permissions ([#675](https://github.com/Incendo/cloud/pull/675))**
175+
`@Permission` can be used to specify multiple permissions.
176+
153177
### Kotlin
154178

155179
**Support default values ([#511](https://github.com/Incendo/cloud/pull/511))**
@@ -163,6 +187,9 @@ There are new Kotlin-specific utilities for working with suspending suggestion p
163187

164188
### Minecraft
165189

190+
The Minecraft modules have been moved into two separate GitHub repositories: [incendo/cloud-minecraft](https://github.com/Incendo/cloud-minecraft)
191+
and [incendo/cloud-minecraft-modded](https://github.com/Incendo/cloud-minecraft-modded).
192+
166193
#### Brigadier
167194

168195
**Suggestions with tooltips ([#529](https://github.com/Incendo/cloud/pull/529))**
@@ -196,3 +223,10 @@ This also changes how Bukkit attempts to resolve descriptions for root commands.
196223

197224
**Parse selectors in correct thread context ([#590](https://github.com/Incendo/cloud/pull/590))**
198225
Selectors can only be parsed on the main server thread. The parser will now switch to the correct thread when parsing.
226+
227+
### Discord
228+
229+
The Discord modules have been moved in a separate repository: [incendo/cloud-discord](https://github.com/Incendo/cloud-discord).
230+
231+
New modules have been created for JDA5, Kord, Javacord and Discord4J. These modules support Discord slash commands.
232+
The old implementations have been deprecated.

0 commit comments

Comments
 (0)