weaver 0.8.2
weaver: ^0.8.2 copied to clipboard
Best dependency injection library for Flutter, Rethought and redesigned specifically for flutter
0.8.2 #
- Adds injectAsync method to Weaver class
- Adds Documentation comments
- Updates README
0.8.1 #
- Add
injectfunction - Add
registerIfIsNotmethod toWeaverclass
0.8.0 #
- Add feature to make @OnLeaveScope annotation optional & make generated scope handlers to automatically unregister objects when scope is left
- Fix bugs in unregister & isRegistered methods & add more tests
- Fix errors, typos in and update README
0.7.1 #
- Update documents
- Add session feature
- Add ability for code generated session objects on weaver using @WeaverSession annotation
- Clean up weaver and Fix bugs, Add more tests
0.6.2 #
- Fix docs
0.6.1 #
- Fix repository links in pubspec.yaml file
0.6.0 #
- Update & Fix Documentation
- Move flutter code into flutter_weaver
- Add more tests
- Fix unregister method not unregistering only by name
- Fix bug causing isRegistered method to return false sometimes when dependency was registered
- Update exception logs
- Update
weaver.enterScope()method to throw exception if there is no scope-handler registered - Fix bugs in builder generating incorrect code and typos
- Add validation check for NamedDependency annotations inside @WeaverScope annotation
- Update file headers
0.5.0 #
- Update documentation
- Improve error message when user tries to retrieve a registered named object without passing the name
- Update builder to support generating named dependency getters on weaver for defined scopes
0.4.0 #
- Add feature to generate custom getters on weaver.named for named dependency objects
- Add annotations @WeaverScope, @NamedDependency
- Add feature to register named dependency
- Add tests for named objects registration and fetching
- Remove pubspec.lock
- Update Weaver.reset method to dispose all scope-handlers first before removing them
- fix Weaver and ScopeHandler not awaiting onLeave, onEntered and handle method calls
- Fix incorrect documentation
0.3.0 #
- Add ScopeHandler
- Remove WeaverScope
0.2.1 #
- Add
registerLazymethod - Refactor class names
0.1.1 #
- Add WeaverScope
- Add Weaver class
- Add tests
- Add RequireDependencies widget