lite_ref_core 0.1.3
lite_ref_core: ^0.1.3 copied to clipboard
A lightweight dependency injection package for dart and flutter with support for overriding for testing.
0.1.3 #
Patch release that points the package at its new repository location. There are no code or public API changes.
- [Docs] Updated the repository, banner, and coverage links to the new
zupat/lite_refGitHub location.
0.1.2 #
Patch release with concurrency fixes for AsyncSingletonRef. There are no public API
changes.
- [Fix] Fixed concurrent retries creating multiple singletons when several callers waited on a failed initialization. Retries now re-check the lock, so only one re-initialization runs and all callers receive the same instance (instead of overwriting each other's lock and potentially hitting a null-check error).
- [Fix] Fixed a concurrent
instanceread running the replacement factory twice duringoverrideWith. The override now holds the initialization lock. - [Fix] Fixed an override issued while the initial factory was still running leaving the original instance cached. The in-flight result is now discarded so the replacement factory's instance is the one that gets cached.
0.1.1 #
- Update readme
0.1.0 #
- Initial release