PackageTrack
Sign in Get early access

injectable

Injectable is a convenient code generator for get_it. Inspired by Angular DI, Guice DI and inject.dart.

3.0.0 1000K downloads/mo #92 most downloaded on pub.dev Milad-Akarie/injectable

What this package is like to depend on

Last release 4 months ago

20 Apr 2026

Release timing varies

gaps range from 8 days to 10 months

Rarely documented

notes for 9 of 53 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

54 releases · first in 2020

9 releases in the last 12 months

see the full history below

Release timeline

54 releases · Jan 2020 to Apr 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 54
  1. 3.0.0 20 Apr 2026

    Nothing published for this version

  2. 2.7.1 04 Dec 2025
    Release notes

    chore: update version to 2.11.1 and enhance CHANGELOG with new featur…

    Open source →
  3. 2.7.1+1 06 Dec 2025

    Nothing published for this version

  4. 2.7.1+2 06 Dec 2025

    Nothing published for this version

  5. 2.7.1+3 22 Dec 2025

    Nothing published for this version

  6. 2.7.1+4 22 Dec 2025

    Nothing published for this version

  7. 2.7.0 25 Nov 2025
    Release notes

    refactor: enhance code formatting and readability across multiple files

    Open source →
  8. 2.6.0 07 Nov 2025

    Nothing published for this version

  9. 2.5.2 29 Sep 2025

    Nothing published for this version

  10. 2.5.1 29 Jul 2025

    Nothing published for this version

  11. 2.5.0 03 Oct 2024

    Nothing published for this version

  12. 2.4.4 21 Jul 2024

    Nothing published for this version

  13. 2.4.3 21 Jul 2024

    Nothing published for this version

  14. 2.4.2 18 May 2024

    Nothing published for this version

  15. 2.4.1 27 Mar 2024

    Nothing published for this version

  16. 2.4.0 13 Mar 2024

    Nothing published for this version

  17. 2.3.5 13 Mar 2024

    Nothing published for this version

  18. 2.3.4 12 Mar 2024

    Nothing published for this version

  19. 2.3.3 10 Mar 2024
    Release notes
    • Fix Postpone singleton initialisation to respect environment filters by @lrampazzo
    Open source →
  20. 2.3.2 09 Oct 2023

    Nothing published for this version

  21. 2.3.1 05 Oct 2023

    Nothing published for this version

  22. 2.3.0 17 Aug 2023
    Release notes

    Fix Undefined name 'gh'. when generating @InjectableInit() with only …

    Open source →
  23. 2.2.0 05 Aug 2023

    Nothing published for this version

  24. 2.1.2 30 May 2023

    Nothing published for this version

  25. 2.1.1 25 Mar 2023

    Nothing published for this version

  26. 2.1.0 29 Nov 2022

    Nothing published for this version

  27. 2.0.1 22 Nov 2022

    Nothing published for this version

  28. 2.0.0 20 Nov 2022
    Release notes
    • 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]
    Open source →
  29. 1.5.4 02 Nov 2022

    Nothing published for this version

  30. 1.5.3 08 Jan 2022

    Nothing published for this version

  31. 1.5.0 15 Aug 2021

    Nothing published for this version

  32. 1.4.1 23 May 2021

    Nothing published for this version

  33. 1.4.0 07 May 2021

    Nothing published for this version

  34. 1.3.0 26 Apr 2021

    Nothing published for this version

  35. 1.2.2 20 Mar 2021

    Nothing published for this version

  36. 1.2.1 19 Mar 2021

    Nothing published for this version

  37. 1.2.0 05 Mar 2021

    Nothing published for this version

  38. 1.2.0-nullsafety 27 Feb 2021 pre-release

    Nothing published for this version

  39. 1.1.2 27 Feb 2021

    Nothing published for this version

  40. 1.1.0 20 Feb 2021

    Nothing published for this version

  41. 1.0.7 30 Dec 2020

    Nothing published for this version

  42. 1.0.5 10 Oct 2020

    Nothing published for this version

  43. 1.0.4 05 Aug 2020

    Nothing published for this version

  44. 1.0.2 21 Jul 2020

    Nothing published for this version

  45. 1.0.0 19 Jul 2020
    Release notes

    Fix stack overflow issue #78

    Open source →
    Release notes
    • 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
    Open source →
  46. 1.0.0+1 20 Jul 2020

    Nothing published for this version

  47. 0.4.0 16 May 2020
    Release notes
    • Change Methods inside of register modules are treated as factory methods now, so all params are considered injected params unless annotated with @factoryParam.
    • Change registerModule is now replaced with @module
    • Change RegisterAs(Type) Annotation is now replaced with @Injectable(as:Type)
    • Change Singleton.Lazy() is replaced with @LazySingleton()
    • Add generateForDir property to @InjectableInt to specify what directories to generate for.
    • Fix imports issue when working with bin directory
    Open source →
  48. 0.4.0+1 31 May 2020

    Nothing published for this version

  49. 0.3.0 04 Mar 2020
    Release notes
    • add support for GetIt 4.0.0
    • fix generic types are registered as dynamic
    • fix unresolved future when registering asynchronous dependencies
    • change asynchronous dependencies will be registered using async factory unless annotated with @preResolve
    Open source →
  50. 0.2.3 24 Feb 2020

    Nothing published for this version

  51. 0.2.2 14 Feb 2020

    Nothing published for this version

  52. 0.2.1 11 Feb 2020

    Nothing published for this version

  53. 0.2.0 09 Feb 2020
    Release notes
    • You now need to pass in your getIt instance to @initGetIt() func
    • Rename @Bind to @RegisterAs to avoid confusion because, now we're annotating the implementation not the abstract.
    • Add @factoryMethod annotation to mark named factories and static create methods.
    • Add @registerModule annotation to support registering third party types.
    • Fix eager singletons are registered before their dependencies.
    Open source →
  54. 0.1.0 28 Jan 2020

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive