This release, at long last, adds API to help work with the 1.19(.x) chat and sound changes, including sending messages with the new chat type system.
Due to the strict lifecycle of message signing, implementing the full chat flow will be mostly left to platforms. The exposed signed message API is intended for use with out-of-band operations like signed commands.
Thank you for your patience!
Additions ✨
- feature: 1.19 chat changes by @kezz in #777
- Implement seed field on sound, and add a builder by @zml2008 in #770
- key: Make Key implement Keyed by @zml2008 in #779
- Promote decorationIfAbsent to StyleSetter and Public API by @KingOfSquares in #785
- Add convenience methods for appending a newline/space to a component by @KingOfSquares in #786
- feat(key): #773 Expose methods to check if a Key can be parsed by @kashike in #774
- api: Style#unmerge by @kashike in #793
Fixes 🐛
- api: Remove use of terminally deprecated SecurityManager api by @zml2008 in #781
- api: Fix improper stripping of colors when compacting by @zml2008 in #782
- bug(#788): disable html escaping and use uppercase hex colour codes by @kashike in #789
- minimessage: Parsing corner cases with quotes by @rymiel in #819
- fix(text-minimessage): Don't strip style of text components in gradients by @zml2008 in #835
- fix(text-minimessage): Preserve non-text components in color changing tags by @zml2008 in #834
- fix(text-minimessage): Be more lenient with input when stripping/escaping tags by @zml2008 in #833
- fix(text-minimessage): Properly handle escaped tag opens by @zml2008 in #832
- fix(api): Catch cases where empty components are not preserved by @zml2008 in #838
- bug(#792): don't throw on invalid click/hover event action by @kashike in 1c2463f
- bug(api): fix an issue when linearly building a component by @kashike in 7bb1875
Platform Changes 🔧
- Add PlatformAPI Annotation by @KingOfSquares in #778
- feat(api): bossbar platform implementation by @kashike in #836
Full Changelog: v4.11.0...v4.12.0