Skip to content

Releases: JanikHelbig/TinyContainer

Version 1.5.0

04 Sep 21:18
Compare
Choose a tag to compare
  • Added: ILateUpdateHandler interface to extend the existing lifecycle callback interfaces.
  • Added: TinyContainer.enabledEventFunctions flags to provide the option to disable unused lifecycle callbacks.

Version 1.4.1

12 Aug 19:56
Compare
Choose a tag to compare

Fix: Update version in package.json to match release version (#1)

Version 1.4.0

16 Feb 11:00
Compare
Choose a tag to compare
  • Added TinyContainer.IsGlobalConfigured so consumers can defer initialization until the container has been configured by some other means.
  • Improved error and warning messages when containers are being initialized.

Version 1.3.0

14 Feb 18:14
Compare
Choose a tag to compare
  • Added T Get<T>() method for returing instances directly.
  • Added TypeNotFoundException to T Get<T>() and TinyContainer Get<T>(out T instance) for quicker error detection. Use bool TryGet<T>(out T instance) when you're unsure wether or not the type has been registered already.

Version 1.2.3

01 Nov 15:23
Compare
Choose a tag to compare
  • Added bool TinyContainer.TryGet(out T instance) to manually handle missing instances
  • Fixed package version metadata

Version 1.2.2

30 Oct 21:41
Compare
Choose a tag to compare
  • Change type of property TinyContainer.RegisteredInstances from ICollection<object> to IEnumerable<object>

Version 1.2.1

30 Oct 11:33
Compare
Choose a tag to compare
  • Added RegisteredInstances property to container. This could, for example, be used to iterate over the registered instances and dispatch interface events.

Version 1.2.0

28 Oct 20:43
Compare
Choose a tag to compare
  • Change: Renamed TinyContainer.Root to TinyContainer.Global, including related members.
  • Add: IUpdateHandler and IFixedUpdateHandler to receive lifecycle callbacks on registered instances.
  • Fixed: Occasional NullReferenceExcpetion when closing the game.

Version 1.1.3

21 Jun 20:21
Compare
Choose a tag to compare
  • Fix: Package version in package,json

Version 1.1.1

21 Jun 19:07
Compare
Choose a tag to compare
  • Fix: Destroyed scene context containers are now removed from the scene dictionary