Skip to content

Releases: hadashiA/VContainer

v1.16.4

26 Oct 03:36
Compare
Choose a tag to compare

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

Full Changelog: 1.6.2...1.16.4

v1.16.2

04 Jul 03:42
Compare
Choose a tag to compare

What's Changed

  • fix source generator for public property private setter by @TS696 in #688
  • Fix compilation error in 2021.3 by @hadashiA in #693

New Contributors

Full Changelog: 1.16.1...1.16.2

v1.16.1

25 Jun 01:56
Compare
Choose a tag to compare

What's Changed

  • Fix unintended multiple registrations by @Akeit0 in #687

New Contributors

Full Changelog: 1.16.0...1.16.1

v1.16.0

23 Jun 07:56
Compare
Choose a tag to compare

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

v1.15.4

28 Apr 14:59
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.15.3...1.15.4

v1.15.3

31 Mar 03:30
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.15.2...1.15.3

v1.15.2

26 Mar 08:24
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.15.1...1.15.2

v1.15.1

28 Feb 06:40
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.15.0...1.15.1

v1.15.0

28 Feb 04:18
Compare
Choose a tag to compare

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

10 Jan 11:46
d37fb21
Compare
Choose a tag to compare

What's Changed

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

Full Changelog: 1.13.2...1.14.0