v1.16.0
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]
.
- Classes specified as type parameters for any of the
- Excluding those with
[InjectIgnore]
.
- Any class in the assembly that references VContainer.asmdef that meets one of the following conditions.
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.
Improvements and changes
- Fix CappedArrayPool some bug by @Ruoh3kou in #666
- Fix directory structures by @hadashiA in #670
- Make IAsyncStartable available on Unity 2021.3 using System.Threading.Tasks.Task by @left- in #679
- Fix compilation error with UniTask by @hadashiA in #680
- Fix for usage of ListBuffer to be properly released by @Raegan03 in #681
- Fix generator condition by @hadashiA in #682
- List pool usage extended to other valiable places by @Raegan03 in #683
- Fix compilation error for C# 7 by @hadashiA in #685
- Refine PlayerLoopRunner loop by @hadashiA in #675
New Contributors
Full Changelog: 1.15.4...1.16.0