Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 4, 2025

Bumps io.github.llamalad7:mixinextras-forge from 0.4.1 to 0.5.0.

Release notes

Sourced from io.github.llamalad7:mixinextras-forge's releases.

0.5.0

  • New: Expressions
    • A huge new injection point which allows you to target things more specifically and provides the possibility to modify lots of new things. You can use expressions with any injector, but they give notable new capabilities to @ModifyExpressionValue and @WrapOperation in particular.
    • @ModifyExpressionValue can now modify array element gets, array literals, array .length, arithmetic and bitwise operations (+, &, etc), method and constructor references (thing::method, Type::new, etc), casts, instanceof checks, class literals, comparisons, local variable loads, and string concatenations.
    • @WrapOperation can now wrap comparisons, array element gets and sets, array .length, and object casts.
  • New/Fix: Support @Coerce in every injector.
  • Improvement: Informative error for attempted @WrapMethod on <(cl)init>.
  • Fix: Proper error when Operation#call is called with the wrong number of arguments and one of them is null.
  • Fix: Resolve issues with shipping betas on Forge and NeoForge.

0.5.0-rc.4

  • Fix: Resolve NPE on ASM 5.2 when matching against a primitive int-like comparison.
  • Fix: Resolve crash when using @ModifyExpressionValue on an int-like @Expression which had previously been replaced.

0.5.0-rc.2

If you are using a pre-release on Forge 1.18.2, please update to this one. This release only affects Forge.

  • Improvement: Make mixinextras-forge a library rather than a mod.
  • Fix: Resolve crashes on Forge 1.18.2 if a pre-release is used together with a stable version.

0.5.0-rc.1

MixinExtras 0.5.0 has now entered the release candidate phase, meaning no more changes are planned unless bugs come up.

Changes since the last beta:

  • Fix: Give a proper error when @WrapMethod is attempted on <init> or <clinit>. These do not make sense to support.
  • Fix: Support @Coerced return types properly on all our injectors and adapt to their usage on vanilla injectors.
  • Fix: Resolve an issue that prevented @WrapOperation on an integer comparison if either side was boxed.

Changes since 0.4.1:

  • New: @Expressions. This is a huge feature which allows you to target almost any sequence of instructions to make @Ats both much more flexible and much more wide-reaching than before. Additionally @ModifyExpressionValue lets you modify the result of any such expression, and @WrapOperation also gains support for many new things, such as array accesses, comparisons and casts.
  • Fix: Properly support @Coerce on all injectors
  • Fix: Give a proper error when @WrapMethod is attempted on <init> or <clinit>. These do not make sense to support.
  • Fix: Handle the case where null is passed to Operation#call and the number of arguments is incorrect.

0.5.0-beta.5

  • Fix: Resolve issues when targeting a string concat with exactly 2 components.
  • Improvement: Prevent direct targeting of expanded string concat code.
  • Improvement: Handle synthetic String.valueOf calls on concat components as of Java 19.
  • Fix: Proper error when incorrect argument count for Operation::call with null arguments.
  • Fix: Resolve INSTANCEOF and CHECKCAST being treated as class constants.
  • Fix: Allow @ModifyExpressionValue on casts and instanceofs without @Expressions.
  • Fix: Allow @Coerce on @WrapMethod params.
  • Change: Prefer new style of minVersion declaration. example.mixins.json:
{
    ...
</tr></table> 

... (truncated)

Commits
  • 73e5b74 Version 0.5.0
  • 2cd1ecd Version 0.5.0-rc.4
  • 2e63300 Build: Stop jreleaser thinking it has nothing to do.
  • e73bd6b Expressions 0.0.6
  • a563762 Fix: Resolve NPE on ASM 5.2 due to getInternalName on primitives
  • 4025d2e Fix: Resolve StringConcatFactoryExpander providing incorrect finishedParts ...
  • bc1a98e Fix: Resolve @ModifyExpressionValue on the final result of a string concat.
  • 3bb7dd2 Fix: Resolve @ModifyExpressionValue on int-like type being broken since coe...
  • 3a08006 New: Report expression match statuses.
  • 5625302 Refactor: Split Expression.matches into matches and matchesImpl.
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [io.github.llamalad7:mixinextras-forge](https://github.com/LlamaLad7/MixinExtras) from 0.4.1 to 0.5.0.
- [Release notes](https://github.com/LlamaLad7/MixinExtras/releases)
- [Commits](LlamaLad7/MixinExtras@0.4.1...0.5.0)

---
updated-dependencies:
- dependency-name: io.github.llamalad7:mixinextras-forge
  dependency-version: 0.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant