Skip to content

1.5.0

Choose a tag to compare

@Citymonstret Citymonstret released this 05 Jul 10:26
· 555 commits to master since this release
1.5.0
ed6cbf3

Added

  • @Quoted annotation for the String argument (#239)
  • Expose min and max values on numerous number aruments (#255)
  • CommandArgument.TypedBuilder, a variant of CommandArgument.Builder designed for subclassing, that returns a self type
  • MappedArgumentParser and ArgumentParser#map for creating mapped argument parsers
  • Helper methods for mapping values/failures of ArgumentParseResults (ArgumentParseResult#mapParsedValue, ArgumentParseResult#flatMapParsedValue, and ArgumentParseResult#mapFailure)
  • JDA: Role argument parser (#219)
  • Brigadier: WrappedBrigadierParser for wrapping Brigadier ArgumentTypes as cloud ArgumentParsers
  • Bukkit: Implement parser for ProtoItemStack (#257)
  • Bukkit: Implement parsers for ItemStackPredicate and BlockPredicate (#259)
  • Bukkit: Support for Mojang mapped servers (#267)
  • Fabric: Fabric implementation added (#223)
  • Minecraft-Extras/Bukkit/Paper/Velocity: AudienceProvider.nativeAudience, MinecraftHelp.createNative , BukkitCommandManager.createNative , PaperCommandManager.createNative, CloudInjectionModule.createNative helper methods for Audience sender types (#240)

Changed

  • Long argument parser is now public (#229)
  • JDA: Add isolation system to JDA user argument (#220)
  • Bukkit: Use Command instead of TabCompleteEvent on Bukkit
  • Bukkit: Minecraft 1.17 support added

Deprecated

  • JDA: Deprecated old UserParser that did not take an isolation parameter (#220)

Fixed

  • Tuple implementations now do not throw an error when using the toArray method (#222)
  • Argument parser for long types was not registered (#229)