Skip to content

v1.16.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Jun 07:56
· 74 commits to master since this release

Breaking Changes

Update Source Generator

The default Source Generator target type has been optimised.

  • Before
    • All classes in the assembly that reference VContainer.asmdef.
    • Excluding those with [InjectIgnore] .
  • After
    • Any class in the assembly that references VContainer.asmdef that meets one of the following conditions.
      • Classes specified as type parameters for any of the Register* methods.
      • Classes that are explicitly marked with [Inject] .
    • Excluding those with [InjectIgnore].

In addition, the generated code is now in principle marked with [Preserve].
If the code is subject to code generation, it is no longer necessary to add [Inject] to prevent IL2CPP code stripping.

  • Optimization of the search for the target of SourceGenerator by @hadashiA in #674

Improvements and changes

New Contributors

Full Changelog: 1.15.4...1.16.0