- Initial version.
- Add a container parameter to singleton factories
- Remove fluent style returns
- Refactor (breaking changes) to fix singleton issues
- Drop a dependency version down
- Add more documentation and fix some code analysis issues
- Give the name of a missing service in the exception.
- Adds scoping with the
scoped()
andgetScoped()
extensions - Adds ability to dispose of scoped services with the
dispose
extension
- Documentation
- Documentation
- Add the
init()
extension for async initialization
- Documentation
- Documentation
- Documentation
- Documentation
This version focuses on async initalization. New methods addAsync()
and addSingletonAsync()
make it easy to add async factories, and you can now perform async disposals. Call getAsync()
or getAsyncSafe()
to get async services.
There is a big improvement on the get()
method. This version brings a set of benchmarks that measure performance against similar libraries. Check the benchmarks folder.
init()
renamed togetAsync()
. The feedback was that init was a bad name- The
dispose()
method now returns a future. If you need to dispose services and wait for the result, you mustawait
this call toContainer()
no longer initializes all singletons and the isLazy parameter was removed. All initialization is lazy now. If you want to intialize all singletons call theinitializeSingletons()
extension
- This version drops the
meta
dependency. This means that the container no longer has the @immutable annotation. See the documentation about immutability. - Containers now have an
isScoped
flag. If this is true, all factories act like singletons. Use thescoped()
method to create a scoped version of the container - The
merge()
method allows you to copy the singletons/scope from one container to another
- Fix Dart formatting
- Firebase doco
- Firebase doco
- Firebase doco
- Firebase doco
- More explicit wording around
getAsyncSafe()
- Format code
- Documentation emojification 🎉
- Coverage badge
- Documentation overhaul
- Upgrade austerity
- Documentation changes and add icon
- Fix icon link
- Async locking. See documentation
- Fixes and issue where it was impossible to set the dispose method unless you create fresh factories for the scopes