get_it_injector 0.7.0
get_it_injector: ^0.7.0 copied to clipboard
Automate class registration for dependency injection using `get_it`, Simplify and manage dependencies effortlessly in Dart projects.
0.7.0 | 3.7.2025 #
Breaking Changes #
- Switched from analyzer resolution to AST-only parsing
- Fixes crash when resolving part directives in transitive dependencies
0.6.1 | 3.6.2025 #
Breaking Changes #
- Require analyzer
>=9.0.0 <11.0.0(dropped support for analyzer 8.x) - Require SDK
>=3.9.0 <4.0.0
Features #
- Support analyzer 9.x and 10.x
- Migrated from analyzer element2 API to unified element API
- Upgraded build to
>=4.0.3, build_runner to^2.10.4, source_gen to>=4.1.2 - Removed dart_style dependency (generated output no longer formatted; run
dart formatif desired)
0.5.6 | 4.11.2025 #
0.5.0 | 1.3.2025 #
Features #
- Support registering classes that implement multiple interfaces
- The generator will register the class as the type argument for each interface, while respecting the registration options for each interface (e.g.
singleton,factory,lazy_singleton)
- The generator will register the class as the type argument for each interface, while respecting the registration options for each interface (e.g.
0.4.0 | 9.27.2024 #
Fixes #
- Remove null assertions from code
- If an import was not found, the builder would throw an exception with poor error messaging
- Now, the builder will throw an exception with a more descriptive error message
0.3.1 | 7.11.2024 #
Fixes #
- When a dart package was added as an import, the name space would be malformed
- e.g.
dart:corewould bei_dart:corewhich is a syntax error
- e.g.
0.3.0 | 6.21.2024 #
Breaking Changes #
- Force import string to not be null
- This is a breaking change because an exception will be thrown if the import string is null
0.1.1 | 4.10.2024 #
Enhancements #
- Change import name from an index
i0to the name of the filei_repo- Improves readability and merge conflicts
0.1.0+1 | 3.25.2024 #
Initial Release