Releases: hadashiA/VContainer
Releases · hadashiA/VContainer
v1.16.4
What's Changed
- Fix duplicate injection issue + introduce Editor tests by @in3orn in #691
- feature: Add protected FindParent method by @gtg092x in #692
- Update entrypoint.mdx by @Dmitrii-Sokolov in #699
- Fix a bug that collection resolving does not used exists instance in parent by @hadashiA in #698
- Fix Diagnostics window Type column overflow + InstanceTreeView exception by @dadahsueh in #701
- Add an overload method RegisterEntryPoint by @MatthieuG9 in #700
New Contributors
- @in3orn made their first contribution in #691
- @gtg092x made their first contribution in #692
- @Dmitrii-Sokolov made their first contribution in #699
- @dadahsueh made their first contribution in #701
- @MatthieuG9 made their first contribution in #700
Full Changelog: 1.6.2...1.16.4
v1.16.2
v1.16.1
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
v1.15.4
What's Changed
- Port: Added a TryResolve method to IObjectResolver #585 by @hadashiA in #656
- Fix diagnostics key by @hadashiA in #658
- Fix Diagnostic window. by @DenisPimenov in #655
- Added test and fix for when a game object throws during instantiation by @NordlightPer in #660
- Fix a bug that ScopedContainerBuilder.Exists to not search two levels above by @hadashiA in #663
New Contributors
- @NordlightPer made their first contribution in #660
Full Changelog: 1.15.3...1.15.4
v1.15.3
v1.15.2
What's Changed
- Added Unit Tests by @hadashiA in #641
- With parameter resolver by @hadashiA in #640
- Resolve time diagnostics by @AlonTalmi in #638
- Fix InjectIgnore not being ignored by @octo127 in #649
- Fix a bug that LifetimeScope configure twice at editor by @hadashiA in #650
New Contributors
Full Changelog: 1.15.1...1.15.2
v1.15.1
What's Changed
Full Changelog: 1.15.0...1.15.1
v1.15.0
What's Changed
- Add non-generic Register(Type, Type, Lifetime) by @hadashiA in #614
- [website] Update docusaurus 3.1 by @hadashiA in #616
- Make ITickable not stop even if an exception is thrown. by @hadashiA in #617
- Make suer RootLifetimeScope should be Instantiate instead of prefab by @hadashiA in #627
- Add using new faster unity find object method by @LovorDev in #629
- [CI] release action more automated by @hadashiA in #626
New Contributors
Full Changelog: 1.14.0...1.15.0
v1.14.0
What's Changed
- feat: add
Type
arg builder toContainerBuilderUnityExtensions
by @SettingDust in #526 - Fix wrong method visibility by @left- in #516
- [sourcegenerator] Fix a bag that field type not referencing namespace by @hadashiA in #532
- Fix a memory leaking with CappedArrayPool by @hadashiA in #535
- Update register-type.mdx by @FogyX in #550
- Fixed injection on MonoBehaviours not working if the registration was made using base class identifier by @pnarimani in #559
- Update register-callbacks.mdx by @heymeepo in #547
- Add UnmanagedSystem support in ECS Integration by @stenyin in #467
- Remove ILPostProcessor and mono-cecil by @hadashiA in #548
- System.Object always passed to InjectTypeInfo by @AlonTalmi in #580
- Fix withParameter not working (With code generation) by @AlonTalmi in #578
- Fix withParameter not working by @adarapata in #457
- Fixed LifetimeScope's Container is null during build callback by @AlonTalmi in #586
- Fix compilation errors for C# 8 by @hadashiA in #590
- Move test to the out of package by @hadashiA in #591
- Support for Value Types delegate registration by @slimshader in #521
- Suppress warning by using SetParent() by @VeyronSakai in #593
- Support Incremental Source Generator by @hadashiA in #592
- Exposed IObjectResolver to prefab and parent finders in ComponentRegistrationBuilder by @AlonTalmi in #576
- Add open generic registration api and resolve feature by @DenisPimenov in #367
- Quick fix compilation errors by @hadashiA in #595
- Open generic bugfixes by @DenisPimenov in #596
- FIx for unity older version by @hadashiA in #602
- Fix diagnostic windows are not updating realtime by @PeraSite in #568
- Inject before awake when instantiating by @AlonTalmi in #575
- Awaitable support by @hadashiA in #601
- Add RegisterDisposeCallback and refine callback implementation by @hadashiA in #603
- Remove RegisterOpenGeneric instead of to use Register by @hadashiA in #604
- Add IObjectResolver.CreateInstance by @hadashiA in #607
- Increase visibility of RegistrationBuilder and InjectorCache to make VContainer more extensible. by @pnarimani in #564
- Revert "Add IObjectResolver.CreateInstance" by @hadashiA in #609
- 1.14.0 by @hadashiA in #608
Incremental Source Generator
Source Generator now using Roslyn 4.3.0.
- If your UNity version si 2022.2 or newer, use
VContainer.SourceGenerator.dll
- If your Unity version is 2022.1 or older, use
VContainer.SourceGenerator.2022-1-or-lower.dll
New Contributors
- @SettingDust made their first contribution in #526
- @left- made their first contribution in #516
- @FogyX made their first contribution in #550
- @pnarimani made their first contribution in #559
- @heymeepo made their first contribution in #547
- @stenyin made their first contribution in #467
- @AlonTalmi made their first contribution in #580
- @slimshader made their first contribution in #521
- @VeyronSakai made their first contribution in #593
- @DenisPimenov made their first contribution in #367
- @PeraSite made their first contribution in #568
Full Changelog: 1.13.2...1.14.0