Skip to content

Releases: Revxrsal/Lamp

Fix default methods

18 Oct 17:29
Compare
Choose a tag to compare
  • Rewrote the command searching logic to be far more accurate
  • Fixed Default methods not working correctly

Minor fixes on Brigadier support

14 Oct 16:47
Compare
Choose a tag to compare
  • Fixed Brigadier namespaces not working correctly
  • Fixed switches and flags in Brigadier
  • Handle MalformedEntitySelectorException

Brigadier for Bukkit, bug fixes

13 Oct 19:02
Compare
Choose a tag to compare
  • Add initial support for Brigadier on Bukkit through BukkitCommandHandler#registerBrigadier
  • Fix CompletionStages that throw exceptions not being handled
  • Add @Range annotation with NumberNotInRangeException
  • Added EntitySelectors in Bukkit for targeting complex selector syntax (such as @e[name=Foo])

Brigadier for Bukkit, bug fixes

13 Oct 18:30
Compare
Choose a tag to compare
  • Add initial support for Brigadier on Bukkit through BukkitCommandHandler#registerBrigadier
  • Fix CompletionStages that throw exceptions not being handled
  • Add @Range annotation with NumberNotInRangeException
  • Added EntitySelectors in Bukkit for targeting complex selector syntax (such as @e[name=Foo])

Support for inheritance

10 Oct 10:58
Compare
Choose a tag to compare
  • Support inherited subcommand methods
  • Fix InvalidCommandException being thrown with incorrect arguments

Auto completer fixes, utility methods on ValueResolverContext

08 Oct 21:21
3a8bbf9
Compare
Choose a tag to compare
  • Minor fixes on the auto-completer
  • Added utility methods: popInt(), popDouble(), popLong(), and popFloat() to ValueResolverCondext

Contextualize ValueResolvers and ContextResolvers, improve response handlers

08 Oct 19:31
Compare
Choose a tag to compare

Contextualization:

  • ContextResolvers and ValueResolvers now accept a single parameter, ContextResolverContext and ValueResolverContext respectively.
  • Both contexts extend from ParameterResolverContext, which exposes the CommandActor, CommandParameter, as well as other useful elements
  • Contexts provide the ability to refer to the arguments that have already been resolved.
  • Contexts should make it easier to introduce additions to resolvers without breaking old code
  • This update is not backwards-compatible!

  • Automatically infer responses of type java.util.function.Supplier
  • Fix response types not allowing nesting, for example a CompletableFuture<Optional<String>>.
  • Add ArgumentStack#asImmutableCopy() for gaining independent copies.

ArgumentStack fixes, Sponge update

06 Oct 10:51
Compare
Choose a tag to compare
  • Fixed some ArgumentStack#of() methods not respecting quotes and joining strings into one.
  • Added ArgumentStack#empty()
  • Fixed Sponge implementation
  • Allow response types of java.util.Optional
  • Optimize CommandPath#getCategoryPath()
  • Pass ArgumentStack#asImmutableView() to command conditions
  • more fixes

Full Changelog: 1.2...1.3

Exceptions and actors update

21 Sep 13:12
Compare
Choose a tag to compare

Changelog:

  • Replaced inaccurate chat colorizing
  • Added XYZCommandActor#wrap(...) methods
  • Exposed CommandActor to CommandExceptionHandler#handleException
  • Removed #getActor() from exceptions
  • Added support for Sponge's TextMessageException.
  • Created a default exception handler for Velocity
  • SendableExceptions no longer require a CommandActor to be supplied.

Initial release

20 Sep 17:37
Compare
Choose a tag to compare
1.0

Push gradle wrapper files