0.2.0-beta.10
Pre-release
Pre-release
·
258 commits
to master
since this release
Depending on MixinExtras has changed. Follow the new README.
Important:
This release introduces a new forwards-compatibility system to ensure that future versions of MixinExtras will never be impeded by old code. The system has been thoroughly tested but if any issues with it do arise it is especially important that you update. The system and what it means is explained in more detail here.
Other changes:
- New: Expose generated classes for custom setups that need to know about them. Not relevant for most users.
- Fix: Specify a mixin package in the initialization mixin configs. This prevents NPEs on older variants of Mixin 0.8 when using the
-fabric
or-forge
artifacts. - Fix: Resolve over-sharing of mutable
@Local
references. This in theory could've resulted in stale values being written back to the target locals but I don't think it was ever encountered in practice because it requires a fairly specific sequence of injectors targeting the same place and sharing a local reference. - Fix: Split
LocalRef
creation and initialization. Same potential consequences as above. - Change: Guard more heavily against retention of
LocalRef
implementations. - Improvement: Shade and relocate required classes from Apache Commons. This removes the dependency entirely for outside users.
- Fix: Clear try-catch blocks when generating sugar bridge methods. NPEs occurred if you had a
@WrapOperation
,@Redirect
or@ModifyConstant
with immutable@Local
s and a try-catch block.