NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #566 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 1 months ago
13 Aug 2026
Ships fairly regularly
a new release about every 5 weeks
Nearly every release is documented
notes for 58 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
74 releases · first in 2020
One column per quarter.
chore: update version to 3.1.3, update lean_builder to ^1.2.2
chore: update version to 3.1.3, update lean_builder to ^1.2.2
Chore: update analyzer constraint to ">=10.0.0 <15.0.0"
Chore: decrease injectable_generator minimum analyzer constraint
Fix: avoid import alias collisions in HashedAllocator (#544) by @kmslab20
Fix: update lean_builder to 0.1.9 to sync analyzer version
Fix: update lean_builder to 0.1.9 to sync analyzer version
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: Update analyzer constrains to ">=9.0.0 <11.0.0"
injectable_generator v2.12.0
injectable_generator v2.12.0
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 generate GetIt extension gettersrefactor: enhance code formatting and readability across multiple files
refactor: enhance code formatting and readability across multiple files
Chore: Update dependencies, analyzer (v9), glob (v2.1.3), code_builder (v4.11.0), dart_style (v3.1.3)
Nothing published for this version
Chore: Update dependencies, source_gen (v4), build (v4), analyzer (v8)
Fix: Fix @factoryMethod for factory class constructor
Chore: Update dependencies, source_gen (v3), build (v3), build_runner (v2.6)
Chore: Update dependencies, source_gen (v2), analyzer (<8.0.0), dart_style (v3)
Feat: Improve Code Generation consistency using hash in alias imports
Fix: make register order more predictable to avoid unnecessary code churns in source control by @Adam-Langley
Fix: make register order more predictable to avoid unnecessary code churns in source control by @Adam-Langley
Feat: add @ignoreParam annotation to ignore optional parameters in factory methods
Feat: add @ignoreParam annotation to ignore optional parameters in factory methods
Fix: Type Alias error on generation #437
Fix: Type Alias error on generation #437
Feat: add support for passing records as @factoryParam
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 Undefined name 'gh'. when generating @InjectableInit() with only …
Fix Undefined name 'gh'. when generating @InjectableInit() with only …
Revert: bumping up collection version to use 1.17.1
Optimize injectable_generator async analysis by [https://github.com/Jjagg]
Fix const instances are not generated as consts
Add coverage:ignore-file comment to generated config
Fix Scopes - class is registered more than once under the same environment #338
Fix name of MicroPackageModule contains "_" (is not pascal case) #332
- Fix registration order
- Fix barrel files related issue
Add support for micro package modules order [before,after]
- Fix registration order #324
Change asExtension default value to true [breaking change]
- Bump up analyzer version
- Bump up analyzer version
Sync injectable and injectable_generator with GetIt v7.2.0 to generate non-nullable @factoryParams
Fix yet another registration order issue #244
Fix yet another registration order issue #244
Fix auto-async factory bug #237 Fix passing dispose function throws #240 Fix initialization order doesn't respect environments #238 Add generator prin
Fix auto-async factory bug #237 Fix passing dispose function throws #240 Fix initialization order doesn't respect environments #238 Add generator prints warning when an injected dependency is not available under the same environment
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
Bump up build_runner version to 2.0.3
Bump up get_it version to range to 7.0.0 <= 8.0.0
Bump 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
Bump 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.
Nothing published for this version
Refactor code to support null-safety
Fix pre-resolved primitives naming issue #161
- Support build_runner v1.10.3
Fix analyzer compatibility issues
Add option to customize the initializer function name
Fix conflict when importing two different types with the same name.
Fix relative imports issue when file has the same path as target
Fix relative imports issue in test folder
Fix stack overflow issue #78
Fix stack overflow issue #78
Your coding agent can read these notes before it upgrades. Set up the MCP server →