toor 2.0.0 toor: ^2.0.0 copied to clipboard
Compile-time safe and easy to manage service locators.
2.0.0 #
BREAKING: package:toor/toor_test.dart
will now only expose testing utilities (i.e. ToorLocatorOverrider
)
in order to improve developer experience (i.e. no more LSP suggestions to import that file instead
of package:toor/toor.dart
).
1.3.2 #
- Update README with a table of contents and badges.
- Update the SDK constraint to ">=2.17.0 <4.0.0".
1.3.1 #
Add a top-level method for mutable lazy singletons.
1.3.0 #
Added mutable lazy singletons.
1.2.1 #
Added top-level functions for calling the methods on Toor.instance
.
Thanks, Maksimka101!
1.2.0 #
Version generated by mistake; same as 1.1.0.
1.1.0 #
Now you can add disposal logic to lazy singletons via passing the onDispose
argument to registerLazySingleton
.
1.0.0 #
BREAKING: Removed the deprecated methods mentioned in 0.1.4
.
0.1.5 #
Fix deprecated methods' usage in README.
0.1.4 #
Renamed functions for registering factories with parameters and deprecated the old ones. Below you can find the full map of changes:
Deprecated | New |
---|---|
registerFactoryWithOneParameter |
registerFactoryWithParam |
registerFactoryWithTwoParameters |
registerFactoryWithTwoParams |
registerFactoryAsyncWithOneParameter |
registerFactoryAsyncWithParam |
registerFactoryAsyncWithTwoParameters |
registerFactoryAsyncWithTwoParams |
0.1.3 #
Fix documentation regarding lazy initialization.
0.1.2 #
Add factories with params
0.1.1 #
Add async factories
0.1.0 #
Initial version of Toor 🚀