github hadashiA/VContainer 1.16.0
v1.16.0

latest releases: 1.17.0, 1.16.9, 1.16.8...
14 months ago

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

Don't miss a new VContainer release

NewReleases is sending notifications on new releases.