Releases: KyoriPowered/adventure
🌏 Adventure 4.21.0
Adventure 4.21.0 adds preliminary support for new component features in 1.21.5, and some minor bugfixes. We recommend all users update.
What's Changed
✨ Features
- Use DecorationMap for style builder by @TonytheMacaroni in #1209
- Add NumberBinaryTag#numberValue by @GliczDev in #1188
- feat(nbt): Add stream API for compound/list tags by @zml2008 in #1208
- 1.21.5 component changes by @Gerrygames in #1168
- feature(minimessage): Set the target to hold the locale of the translation by default by @kezz in #1216
- feat(nbt): update number parsing for 1.21.5 by @kennytv in #1167
- feature(api): Skip style builder creation on merge by @kezz in #1219
- feat(nbt): Initial implementation of heterogeneous list handling by @zml2008 in #1218
🐛 Fixes
New Contributors
- @TonytheMacaroni made their first contribution in #1209
- @tjalp made their first contribution in #1211
- @Gerrygames made their first contribution in #1168
Full Changelog: v4.20.0...v4.21.0
🌏 Adventure 4.20.0
Adventure 4.20.0 is a feature release focused on translation improvements. The MiniMessage translator allows easily expressing translation values in the MiniMessage format, and the whole translation system has had a revamp to be more flexible.
What's Changed
✨ Features
- feature(api): Silly micro optimisations for the mm color tag by @kezz in #1177
- feature(minimessage): Check for colors before parsing phases by @kezz in #1180
- feature(api): Improve handling of component children and component translating by @kezz in #1181
- feature: MiniMessageTranslator by @kezz in #972
- feature(api, minimessage): Replace TranslationRegistry with a generic TranslationStore by @kezz in #1182
- feature(minimessage): Add context argument and unit tests by @kezz in #1185
- Add TagStringIO#asString for any tag by @GliczDev in #1192
- feat(text-serializer-commons): split into new module by @zml2008 in #1193
⚙️ Fixes
New Contributors
Full Changelog: v4.19.0...v4.20.0
🌏 Adventure 4.19.0
Adventure 4.19.0 is a small feature release, primarily to introduce an option controlling MiniMessage's emission of virtual components.
What's Changed
✨ Features
- feature(api): Replace text ignoring hover events by @kezz in #1153
- Configurable virtual component emission by @lynxplay in #1164
🐛 Fixes
Full Changelog: v4.18.0...v4.19.0
🌏 Adventure 4.18.0
Adventure 4.18 has a few new features to improve expressiveness, plus support for the new shadow colour style attribute added in Minecraft 1.21.4.
What's Changed
✨ Features
- feat(minimessage): Pride tag by @kezz in #1079
- feat(nbt): add isEmpty to CompoundBinaryTag/ListBinaryTag by @RealBauHD in #1088
- feat(mini-message): add Formatter#joining by @tahmid-23 in #938
- feat: shadow colors by @kashike in #1124
- feat(api): virtual components by @kashike in #842
🐛 Fixes
- ensure numbers where we expected booleans parse correctly. by @456dev in #1108
- fix(text-serializer-gson): correctly handle removed data components by @zml2008 in #1145
New Contributors
- @456dev made their first contribution in #1108
- @tahmid-23 made their first contribution in #938
Full Changelog: v4.17.0...v4.18.0
🌏 Adventure 4.17.0
What's Changed
✨ Features
- feat(text-minimessage): Show ANSI rendering of parsed components in tests by @zml2008 in #1042
- feat(minimessage): Add target to deserialization for contextual tags by @kezz in #1051
- feat(api): Pointers supplier by @kezz in #429
- 1.20.5 by @zml2008 in #1055
🐛 Fixes
- fix(text-minimessage): Handle larger raninbow phases correctly by @zml2008 in #1041
- fix: Allow for case-insensitivity in legacy serializer, closes #1043 by @kezz in #1044
- fix(api): Only trigger bossbar listeners if flags actually changed by @zml2008 in #1067
- fix(nbt):
CompoundBinaryTag#getBoolean
ignores false values when default value is true by @kashike in e0edf0f - fix(nbt):
ListBinaryTag
is weakly immutable by @kashike in 2e612aa
Full Changelog: v4.16.0...v4.17.0
🌏 Adventure 4.16.0
Adventure 4.16.0 is a small feature release following up on the additions in 4.15.0.
Notable Changes
As Configurate 3 is more or less obsolete and seeing reduced usage, we've decided to stop distributing it with new versions of Adventure. The Configurate 4 serializers should be used instead, or for those who cannot migrate yet an older version of the adventure-serializer-configurate3
module can be used instead.
✨ Features
- feat(serializer-configurate3): remove it by @zml2008 in #1016
- add component decoder by @yannicklamprecht in #1035
- feat(api): Add removeResourcePack overload with Iterable by @zml2008 in #1036
- kissing girls by @aurorasmiles and @weaondara and @Chew
🐛 Fixes
📚 Documentation
New Contributors
- @yannicklamprecht made their first contribution in #1035
Full Changelog: v4.15.0...v4.16.0
🌏 Adventure 4.15.0
Adventure 4.15.0 is a feature release, primarily focused around adding support for new serialization styles used in Minecraft 1.20.3, but containing some other useful changes.
The support for 1.20.3 in this release is at about a bare-minimum level of what's needed to support reading components generated in the newer version. Further parity features have been targeted for 4.16.0.
✨ Features
- feat(api): hasAnyTranslations by @kashike in #945
- feature: Add a new standard join configuration for spaces by @RedDaedalus in #962
- feat(nbt): expose size in CompoundBinaryTag by @RealBauHD in #965
- feature: Expose tags and strict mode in
MiniMessage
by @kezz in #951 - feat(key): add asMinimalString by @kashike in #983
- feat(api): Identity implements Identified by @kashike in #985
- feat(api): introduce ResourcePackRequest by @yusshu in #981
- feature: Cancellable FlattenerListener by @FxMorin in #996
- feat(api): Expand the supported resource pack operations for 1.20.3 by @zml2008 in #1005
- feat(api): Support representing translation args losslessly by @zml2008 in #1004
- feat(nbt): Implement nameless binary serialization by @booky10 in #968
- 1.20.3 by @zml2008 in #986
- feat(api): A feature flag system to handle version compatibility by @zml2008 in #1002
🐛 Fixes
- fix(api): Flatten ScoreComponent to empty string if score value is null by @Konicai in #954
- Fix StorageNBTComponentTest by @jpenilla in #1007
📚 Documentation
- Fix JavaDoc error by @CheeseTastisch in #980
Other
- Use EqualsTester instead of weird equality assertion by @KingOfSquares in #989
New Contributors
- @Konicai made their first contribution in #954
- @RedDaedalus made their first contribution in #962
- @RealBauHD made their first contribution in #965
- @CheeseTastisch made their first contribution in #980
- @yusshu made their first contribution in #981
- @FxMorin made their first contribution in #996
- @booky10 made their first contribution in #968
Full Changelog: v4.14.0...v4.15.0
🌏 Adventure 4.14.0
Adventure 4.14.0 is a feature release introducing some long-awaited API additions, primarily focused on component serializers.
✨ Features
- ComponentEncoder by @rymiel in #899
- feat(api): introduce a way to get viewers of a bossbar by @kashike in #894
- feat: allow custom colors in LegacyComponentSerializer by @Camotoy in #906
- ANSIComponentSerializer by @rymiel in #898
- feat(key): try to include additional information in error messages when an invalid character has been detected in a Key by @kashike in #887
- chore: rename static constructors by @powercasgamer in #923
- feat: add pattern annotations by @powercasgamer in #920
- feat: add join method that accepts JoinConfiguration.Builder by @powercasgamer in #924
- Use constants for hex character by @kashike in #929
- Added legacy show achievements by @LOOHP in #890
- feature: json component serializer by @kezz in #856
🔧 Changes
As a small programming note, the changes necessary to introduce the text-serializer-json
abstraction have shifted things around in the Adventure module dependency graph. adventure-text-serializer-gson
now depends on adventure-text-serializer-json
. Additionally, adventure-text-serializer-gson-legacyimpl
now depends on adventure-text-serializer-json-legacyimpl
, and is entirely deprecated, to be replaced with the json
version. In 4.15.0, we will no longer ship the deprecated submodule -- any users who need it can continue to depend on the older version. To facilitate this change, adventure-text-serializer-gson-legacyimpl
has been removed from the bom to avoid improperly forcing version alignment.
🐛 Fixes
- fix: Added missing PermissionChecker nullability checks by @4drian3d in #900
- fix(key): fix combined namespace+value pattern + extract to own annotations by @kashike in #925
New Contributors
- @powercasgamer made their first contribution in #923
- @LOOHP made their first contribution in #890
Full Changelog: v4.13.1...v4.14.0
🌏 Adventure 4.13.1
Adventure 4.13.1 is a bugfix release with fixes focused around MiniMessage and translatable component fallbacks. We recommend updating at your earliest convenience.
Fixes 🐛
- fix some issues with translatable component fallback by @LemonCaramel in #885
- ComponentFlattenerImpl: translatable components check fallback first by @Camotoy in #895
- fix(text-minimessage): Correctly handle phase and multi-colour gradients by @zml2008 in #896
New Contributors
- @LemonCaramel made their first contribution in #885
- @Camotoy made their first contribution in #895
Full Changelog: v4.13.0...v4.13.1
🌏 Adventure 4.13.0
Adventure 4.13.0 is a feature release with several QOL enhancements, support for new 1.19.4 chat component features, and some bug fixes. Happy developing!
Additions ✨
- Finish adding MM tags for all Vanilla component types by @zml2008 in #843
- text-minimessage: Add a shortcut for styling tags by @Joo200 in #858
- text-minimessage: Add a TagResolver for boolean values by @Joo200 in #857
- feat(api): allow Translators to create their own Components by @qixils in #871
- feat(api): Add emulated callback click event by @zml2008 in #860
- feat(api): add support for translatable component fallbacks (#863) by @NoahvdAa in #868
Fixes 🐛
- bug(api): workaround which fixes #849 by @kashike in #861
- Make DecorationMap$KeySet and $Values follow Collection::toArray() contract by @emilyy-dev in #862
- fix(serializer-gson): Ignore empty hover event values by @zml2008 in #859
- change minimessage rainbow tag colors by @MrKinau in #882
- bug(minimessage): respect requests to include stacktraces by @kashike in 42ea3df
New Contributors
Full Changelog: v4.12.0...v4.13.0