injectable_generator
Injectable is a convenient code generator for get_it. Inspired by Angular DI, Guice DI and inject.dart.
3.1.3
460K downloads/mo
#541 most downloaded on pub.dev
Milad-Akarie/injectable
What this package is like to depend on
Last release 10 days ago
13 Aug 2026
Ships fairly regularly
a new release about every 5 weeks
Rarely documented
notes for 11 of 73 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
74 releases · first in 2020
14 releases in the last 12 months
see the full history below
Release timeline
74 releases · Jan 2020 to Aug 2026Releases
latest 60 of 74-
3.1.313 Aug 2026 -
3.1.202 Aug 2026Nothing published for this version
-
3.1.121 Jul 2026Nothing published for this version
-
3.1.014 Jun 2026Nothing published for this version
-
3.0.220 Apr 2026Nothing published for this version
-
3.0.120 Apr 2026Nothing published for this version
-
3.0.020 Apr 2026Nothing published for this version
-
2.12.102 Mar 2026Nothing published for this version
-
2.12.022 Dec 2025 -
2.11.104 Dec 2025 -
2.11.025 Nov 2025 -
2.10.024 Nov 2025Nothing published for this version
-
2.9.107 Nov 2025Nothing published for this version
-
2.9.029 Sep 2025Nothing published for this version
-
2.8.103 Aug 2025Nothing published for this version
-
2.8.029 Jul 2025Nothing published for this version
-
2.7.014 Jan 2025Nothing published for this version
-
2.6.221 Jul 2024Nothing published for this version
-
2.6.118 Mar 2024Nothing published for this version
-
2.6.013 Mar 2024Nothing published for this version
-
2.5.113 Mar 2024Nothing published for this version
-
2.5.012 Mar 2024Nothing published for this version
-
2.4.206 Mar 2024Nothing published for this version
-
2.4.109 Oct 2023Nothing published for this version
-
2.4.017 Aug 2023 -
2.3.009 Aug 2023Nothing published for this version
-
2.2.005 Aug 2023Nothing published for this version
-
2.1.630 May 2023Nothing published for this version
-
2.1.525 Mar 2023Nothing published for this version
-
2.1.412 Feb 2023Nothing published for this version
-
2.1.306 Dec 2022Nothing published for this version
-
2.1.229 Nov 2022Nothing published for this version
-
2.1.129 Nov 2022Nothing published for this version
-
2.1.029 Nov 2022Nothing published for this version
-
2.0.122 Nov 2022Nothing published for this version
-
2.0.020 Nov 2022Release notes
Open source →- Add support for micro packages
- Add support for external package modules
- Add support for manual dependencies ordering thanks to @casvanluijtelaar
- Add support for GetIt scopes
- Add @PostConstruct annotation to execute sync/async code after construction
- Add preResolve to @FactoryMethod annotation
- Add throwOnMissingDependencies flag to @InjectableInit annotation
- Change asExtension default value to true [breaking change]
- Change initializerName default value to 'init' [breaking change]
-
1.5.508 Nov 2022Nothing published for this version
-
1.5.414 Jul 2022Nothing published for this version
-
1.5.308 Jan 2022Nothing published for this version
-
1.5.207 Sep 2021Nothing published for this version
-
1.5.131 Aug 2021Nothing published for this version
-
1.5.015 Aug 2021Nothing published for this version
-
1.4.123 May 2021Nothing published for this version
-
1.4.007 May 2021Nothing published for this version
-
1.3.026 Apr 2021Nothing published for this version
-
1.2.220 Mar 2021Nothing published for this version
-
1.2.119 Mar 2021Nothing published for this version
-
1.2.005 Mar 2021Nothing published for this version
-
1.2.0-nullsafety27 Feb 2021 pre-releaseNothing published for this version
-
1.1.227 Feb 2021Nothing published for this version
-
1.1.124 Feb 2021Nothing published for this version
-
1.1.020 Feb 2021Nothing published for this version
-
1.0.730 Dec 2020Nothing published for this version
-
1.0.610 Oct 2020Nothing published for this version
-
1.0.510 Oct 2020Nothing published for this version
-
1.0.405 Aug 2020Nothing published for this version
-
1.0.330 Jul 2020Nothing published for this version
-
1.0.221 Jul 2020Nothing published for this version
-
1.0.120 Jul 2020Release notes
Open source →- Fix relative imports issue in test folder
- Change generateForDir property's default value to ['lib']
-
1.0.019 Jul 2020Release notes
Open source →- Add support for multi environments (annotation & inlined)
- Add generation-time check for duplicate dependencies under the same environment
- Fix 3rd party imports from src instead of library file issue
- Change generated file extension to .config.dart
- Change generated file applies to most of effective dart rules including preferring relative imports
- Clean up some code