NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #678 most downloaded on pub.dev
Injectable is a convenient code generator for get_it. Inspired by Angular DI, Guice DI and inject.dart.
Last release 5 months ago
20 Apr 2026
Release timing varies
gaps range from 8 days to 10 months
Nearly every release is documented
notes for 52 of 53 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
54 releases · first in 2020
One column per quarter.
Breaking: Removed deprecated usesNullSafety option. Null safety is now always assumed.
includeMicroPackages option. Micro packages must now be explicitly registered using externalPackageModulesBefore and externalPackageModulesAfter in @InjectableInit.usesNullSafety option. Null safety is now always assumed.allowMultipleRegistrations (#535, #531).Chore: add test coverage badge to readme
Fix: fix coverage badge alignment in readme
Docs: update docs to include lean_builder support
- Docs: fix a typo in readme
chore: update version to 2.11.1 and enhance CHANGELOG with new featur…
chore: update version to 2.11.1 and enhance CHANGELOG with new featur…
generateAccessors option to @InjectableInit annotation for generating GetIt extension gettersrefactor: enhance code formatting and readability across multiple files
refactor: enhance code formatting and readability across multiple files
Chore: update get_it constraint to 7.2.0 < 10.0.0
Update dart constrains to ">=3.8.0 <4.0.0"
Feat: handle and pass on exception for async scope initialization
Chore: update get_it constraint to 7.2.0 <= 9.0.0
Fix: Fix dispose not passed to getIt.registerSingleton
Feat: Improve Code Generation consistency using hash in alias imports
chore: unpin meta version
chore: unpin meta version
Revert: Pin meta version to 1.11.0 so it's compatible with flutter_test
Revert: Pin meta version to 1.11.0 so it's compatible with flutter_test
Feat: add @ignoreParam annotation to ignore optional parameters in factory methods
Feat: add @ignoreParam annotation to ignore optional parameters in factory methods
Fix: add generic type annotation to registerSingleton() call #436
Fix: add generic type annotation to registerSingleton() call #436
HotFix for Postpone singleton initialisation to respect environment filters
Fix Postpone singleton initialisation to respect environment filters by @lrampazzo
Add option to pass instance callback function to the init function by @Adam-Langley
Fix PreResolved singletons/factories fail checking environment filters #398
Fix Undefined name 'gh'. when generating @InjectableInit() with only …
Fix Undefined name 'gh'. when generating @InjectableInit() with only …
Optimize injectable_generator async analysis by [https://github.com/Jjagg]
Update dart constrains to ">=2.17.0 <4.0.0"
add coverage:ignore-file comment to generated config
Add support for micro package modules order [before,after]
- Fix registration order #324 - Fix some types in readme file
Change asExtension default value to true [breaking change]
Nothing published for this version
Sync injectable and injectable_generator with GetIt v7.2.0 to generate non-nullable @factoryParams
Use getAsync for async injected dependencies, fixes #230 Add support for function factory params, fixes #224 Update analyzer version #228 Add ignore t
Use getAsync for async injected dependencies, fixes #230 Add support for function factory params, fixes #224 Update analyzer version #228 Add ignore types in packages support Fix some readme typos
Pomp up build_runner version to 2.0.3
Pomp up get_it version to range to 7.0.0 <= 8.0.0
Pomp up versions of build_runner -> 2.0.1, code_builder -> 4.0.0, analyzer -> 1.5.0
Fix generator crash after 1.2.1 update
Pomp up versions of build, build_runner, dart_style and source_gen
Push nullSafety version to the main section
- add null safety support
Add support for disposing of singletons.
Refactor code to support null-safety
Fix pre-resolved primitives naming issue #161
Fix analyzer compatibility issues
Add option to customize the initializer function name
Add option to not prefer relative imports in @InjectableInit
Fix stack overflow issue #78
Fix stack overflow issue #78
Fix some analysis warnings for pub points
Change Methods inside of register modules are treated as factory methods now, so all params are considered injected params unless annotated with @fact
- Update README file - Add some comments
fix generic types are registered as dynamic
improve support for custom initializers
add support for custom initializers in register Modules
fix typo in @Environment annotation
You now need to pass in your getIt instance to @initGetIt() func
- initial release
Your coding agent can read these notes before it upgrades. Set up the MCP server →