Skip to content

Releases: hadashiA/VContainer

v1.16.6

01 Dec 06:09
Compare
Choose a tag to compare

What's Changed

  • [SourceGenerator] Add checks for when empty ctor cannot be called by @hadashiA in #708
  • Fix typo by @saruiwa in #723
  • Fix bug where DisposeCallback would not close to parent and child by @hadashiA in #728
  • Make sure do nothing if autorun=false by @hadashiA in #726

New Contributors

Full Changelog: 1.16.5...1.16.6

v1.16.5

16 Nov 01:04
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.16.4...1.16.5

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