Releases: JanikHelbig/TinyContainer
Releases · JanikHelbig/TinyContainer
Version 1.5.0
- Added:
ILateUpdateHandlerinterface to extend the existing lifecycle callback interfaces. - Added:
TinyContainer.enabledEventFunctionsflags to provide the option to disable unused lifecycle callbacks.
Version 1.4.1
Fix: Update version in package.json to match release version (#1)
Version 1.4.0
- Added
TinyContainer.IsGlobalConfiguredso 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
- Added
T Get<T>()method for returing instances directly. - Added
TypeNotFoundExceptiontoT Get<T>()andTinyContainer Get<T>(out T instance)for quicker error detection. Usebool TryGet<T>(out T instance)when you're unsure wether or not the type has been registered already.
Version 1.2.3
- Added
bool TinyContainer.TryGet(out T instance)to manually handle missing instances - Fixed package version metadata
Version 1.2.2
- Change type of property
TinyContainer.RegisteredInstancesfromICollection<object>toIEnumerable<object>
Version 1.2.1
- Added
RegisteredInstancesproperty to container. This could, for example, be used to iterate over the registered instances and dispatch interface events.
Version 1.2.0
- Change: Renamed
TinyContainer.RoottoTinyContainer.Global, including related members. - Add:
IUpdateHandlerandIFixedUpdateHandlerto receive lifecycle callbacks on registered instances. - Fixed: Occasional NullReferenceExcpetion when closing the game.
Version 1.1.3
- Fix: Package version in package,json
Version 1.1.1
- Fix: Destroyed scene context containers are now removed from the scene dictionary