Skip to content

Releases: KyoriPowered/adventure

🌏 Adventure 4.8.1

12 Jun 21:24
Compare
Choose a tag to compare

Fixes 🐛

  • ad71410 - api: Don't fail when a decoration state is set
  • #403 - Link between submodules in the published Javadoc

🌏 Adventure 4.8.0

07 Jun 23:36
v4.8.0
10b8605
Compare
Choose a tag to compare

Additions ✨

  • #334 - api: Add support for new separator field in Minecraft 1.17
  • #390 - Migrate from checker-qual to JetBrains annotations
  • #328 - api: add Sound.Source.Provider interface
  • #332 - api: Allow passing the replacement MatchResult to continuation predicates
  • #327 - api: Expose ComponentLike -> Component conversion method
  • #371 - key: Improve key method javadocs
  • #352 - api: Add the ability to query an Audience for a value based on a Pointer key
  • #393 - api: Add Pointer query to Single
  • #361 - api: Add Translatable interface
  • #343 - api: Allow platforms to apply implementation hooks when creating ComponentSerializers
  • #379 - api: Add ability to unset decorations during component construction
  • #329 - api: Allow stopping a sound using the original Sound
  • #316 - api: Add support for playing sound following an "emitter"
  • #215 - api: Add TextColor.lerp to blend between two colours

Fixes 🐛

  • #333 - text-serializer-legacy: Properly passthrough invalid RGB codes
  • #355 - api: Fix typo in deserializeOrNull
  • #364 - api: Add contains method that allows alternative methods of equality comparison
  • #389 - api: NamedTextColor examinable properties should include name

🌏 Adventure 4.7.0

09 Mar 00:25
v4.7.0
4b34724
Compare
Choose a tag to compare

Deprecations 🧓

  • #301 - api: Mark ScoreComponent's value as deprecated since it is no longer supported as of 1.16
  • #307 - api: Deprecate Component#detectCycle (#285)

Additions ✨

  • #259 - api: Add contains method to translation registries
  • #296 - serializer-gson: Add deserializer for JsonElement
  • #305 - api: Add serializer methods that can process null values (#221)
  • #298 - serializer-gson: Add serializer to JsonElement
  • #300 - api: Nag when somebody does something naughty
  • #306 - build: Add extra metadata to jar manifests (#290)
  • #302 - api: Introduce new concept of a component flattener

Fixes 🐛

  • #297 - bom: fix missed text-serializer-gson-legacy-impl
  • #299 - text-serializer-legacy: Tweak reset behavior again
  • #304 - Fixed typo in documentation in Title

🌏 Adventure 4.6.0

02 Mar 00:23
v4.6.0
0e0ed21
Compare
Choose a tag to compare

Additions ✨

  • #273 - feature(nbt): allow merging compound tags via this.put(that)
  • #280 - api: Add asHSV to RGBLike and use HSV for color comparisons in NamedTextColor.nearestTo
  • #283 - extra-kotlin
  • #284 - Added ZLIB compression support for NBT
  • #288 - api: Add Keyed overloads to hover event types
  • #289 - api: Add a method to create a TextColor from an HSVLike
  • #292 - api: Add methods to join components using a collector
  • #294 - build: Update examination to 1.1.0
  • #283 - extra-kotlin
  • #231 - Customize debugger output

Fixes 🐛

  • #291 - text-serializer-legacy: Don't insert redundant resets

🌏 Adventure 4.5.1

23 Feb 18:38
v4.5.1
fe1dad4
Compare
Choose a tag to compare

Fixes 🐛

  • #266 - text-serializer-legacy: StringIndexOutOfBoundsException when parsing malformed hex colors
  • #277 - api: TextColor.color(int) / NamedTextColor.ofExact(int) don't ignore the alpha channel

🌏 Adventure 4.5.0

10 Feb 09:05
v4.5.0
2e88f15
Compare
Choose a tag to compare

Fixes 🐛

  • #278 - nbt: return the empty list tag when trying to create a listtag with an empty list of tags

🌏 Adventure 4.4.0

18 Jan 04:53
Compare
Choose a tag to compare

Additions ✨

  • #228 - Add JetBrains @Contract annotation to some methods
  • #240 - nbt: Add the ability to add multiple tags to a CompoundBinaryTag
  • #241 - nbt: Add BinaryTagLike interface
  • dccfc46 - nbt: Implement toString in binary tags
  • #247 - nbt: Add getList methods to ListBinaryTag
  • #248 - nbt: Add from(Iterable) and add(Iterable) methods to ListBinaryTag
  • #229 - api: Expand javadocs (thanks @KingOfSquares)

Fixes 🐛

  • #233 - api: Correct handling of children in some text replacements
  • #252 - Do not exclude Component#empty from the children of TranslatableComponent
  • #257 - serializer-gson: Change output ordering to match the order of Vanilla components
  • nbt: Resolve a security vulnerability that could lead to denial of service when loading specially crafted input

Changes 🔧

  • 50482cf nbt: Deprecate usage of listType in ListBinaryTag, introduce elementType instead
  • 0a62bb1 - api: Sound.Type extends Keyed

🌏 Adventure 4.3.0

04 Dec 00:04
v4.3.0
83aa00f
Compare
Choose a tag to compare

Additions ✨

  • #217 - text-serializer-gson-legacy-impl
  • 60b2c93 - api: add ComponentLike methods to BossBar
  • #219 - api: Player list header/footer support

🌏 Adventure 4.2.0

25 Nov 19:57
v4.2.0
ef4bcce
Compare
Choose a tag to compare

Additions ✨

  • #183 - Introduce support for Configurate 4
  • #190 - nbt: Add array access and stream methods for tags
  • #200 - api: Add a builder for replacement config
  • #211 - Add a BOM for version alignment across submodules

Fixes 🐛

  • #193 - Ignore null values for HoverEvent NBT tag when deserialising using text-serializer-gson
  • #196 - Properly reset decorations when serialising to legacy format
  • #199 - api: Fix handling of first replacements in child components
  • #213 - @NonNull contract not being followed when using GsonComponentSerializerto deserilise "null"

Changes 🔧

  • Deprecate usage of percent in BossBar, introduce progress instead
  • Deprecate old replaceText methods in favour of replaceText methods that use TextReplacementConfig

🌏 Adventure 4.1.1

17 Oct 03:17
v4.1.1
e4dca89
Compare
Choose a tag to compare