PackageTrack
Sign in Get early access

auto_injector

Automatic Dependency Injection System, but without build_runner :)

2.2.0 104K downloads/mo #1109 most downloaded on pub.dev Flutterando/auto_injector

What this package is like to depend on

Last release 2 months ago

24 Jun 2026

Release timing varies

gaps range from 8 days to 12 months

Most releases are documented

notes for 18 of 28 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

40 releases · first in 2023

1 release in the last 12 months

see the full history below

Release timeline

40 releases · Jan 2023 to Jun 2026
2024 2025 2026
Release Pre-release

Releases

latest 40
  1. 2.2.0 24 Jun 2026
    Release notes

    What's new

    Added

    • addInjector(injector, resolveUpward: true) — a nested injector can now resolve the params of its own binds against an ancestor scope as a fallback, not only its own subtree. Default is false, preserving the previous downward-only behavior. Local/downward binds always take precedence; the ancestor is consulted only when a bind is not found locally. Mutual upward links are rejected eagerly with the new UpwardResolutionCycle exception.

    Fixed

    • LayersGraph dispose-listener leak — re-running commit() on a long-lived injector stacked one dispose listener per surviving inner injector on every commit, growing unbounded across re-commits and retaining graph closures. Listener (re)registration is now idempotent, keeping the listener count stable.

    🤖 Generated with Claude Code

    Open source →
    Release notes
    • Add: addInjector(injector, resolveUpward: true) lets a nested injector resolve the params of its own binds against an ancestor scope as a fallback (default false keeps the previous downward-only behavior). Local/downward binds always take precedence; mutual upward links throw UpwardResolutionCycle.
    • Fix: LayersGraph no longer leaks dispose listeners. Re-running commit() on a long-lived injector kept stacking one dispose listener per surviving inner injector on every commit; listener (re)registration is now idempotent.
    Open source →
  2. 2.1.1 15 Jun 2025
    Release notes
    • Fix lints
    Open source →
  3. 2.1.0 22 Feb 2025
    Release notes
    • Add: addBind for complex registration.
    Open source →
  4. 2.0.5 06 Aug 2024
    Release notes
    • Fix: replaceInstance now dont throw errors.
    Open source →
  5. 2.0.4 25 Mar 2024
    Release notes
    • Fix: Instance callback on dispose (@thalissonmt)
    Open source →
  6. 2.0.3 28 Nov 2023
    Release notes
    • pump encrypt version
    Open source →
  7. 2.0.2 01 Sep 2023
    Release notes
    • fix: Remove fake_reflection
    • fix: dispose callback
    Open source →
  8. 2.0.1 01 Sep 2023

    Nothing published for this version

  9. 2.0.0 24 Aug 2023
    Release notes
    • fix: replace with others tags
    • fix: Custom split to generics datas in many levels (thanks @luanbatistadev)
    • add: Multi Injector (thanks @davidsdearaujo).
    • add: Get and register instances by name (thanks toshi @toshiossada).
    Open source →
  10. 2.0.0+1 24 Aug 2023

    Nothing published for this version

  11. 2.0.0+2 24 Aug 2023

    Nothing published for this version

  12. 1.2.0 09 Aug 2023

    Nothing published for this version

  13. 1.1.1 05 Aug 2023
    Release notes
    • fix: allow add same bind with tag diff
    Open source →
  14. 1.1.0 30 Jul 2023

    Nothing published for this version

  15. 1.1.0+1 30 Jul 2023

    Nothing published for this version

  16. 1.1.0+2 30 Jul 2023

    Nothing published for this version

  17. 1.1.0+3 30 Jul 2023

    Nothing published for this version

  18. 1.1.0+4 31 Jul 2023
    Release notes
    • add: BindConfig
    • chore: Update Exceptions
    Open source →
  19. 1.0.5 29 Jul 2023

    Nothing published for this version

  20. 1.0.5+1 30 Jul 2023

    Nothing published for this version

  21. 1.0.5+2 30 Jul 2023
    Release notes
    • fix: filter injectable params
    • chore: Separed Injector interface
    Open source →
  22. 1.0.4 30 Jun 2023
    Release notes
    • fix: Internal call dispose.
    Open source →
  23. 1.0.3 04 Jun 2023
    Release notes
    • fix: disposeSingletonsByTag error
    Open source →
  24. 1.0.2 11 Feb 2023
    Release notes
    • fix: Resolver class name with Object
    Open source →
  25. 1.0.2+1 08 Mar 2023
    Release notes
    • Added: documentation with dart doc
    • Readme updated
    Open source →
  26. 1.0.2+2 08 Mar 2023
    Release notes
    • Fix: dart doc & readme
    Open source →
  27. 1.0.1 31 Jan 2023
    Release notes
    • fix: param with named and positional params
    Open source →
  28. 1.0.0 30 Jan 2023
    Release notes
    • Initial version.
    Open source →
  29. 0.0.1-alpha.11 26 Jan 2023 pre-release

    Nothing published for this version

  30. 0.0.1-alpha.10 26 Jan 2023 pre-release

    Nothing published for this version

  31. 0.0.1-alpha.9 26 Jan 2023 pre-release

    Nothing published for this version

  32. 0.0.1-alpha.8 26 Jan 2023 pre-release

    Nothing published for this version

  33. 0.0.1-alpha.7 26 Jan 2023 pre-release

    Nothing published for this version

  34. 0.0.1-alpha.6 24 Jan 2023 pre-release

    Nothing published for this version

  35. 0.0.1-alpha.5 23 Jan 2023 pre-release

    Nothing published for this version

  36. 0.0.1-alpha.4 23 Jan 2023 pre-release

    Nothing published for this version

  37. 0.0.1-alpha.3 15 Jan 2023 pre-release

    Nothing published for this version

  38. 0.0.1-alpha.2 09 Jan 2023 pre-release

    Nothing published for this version

  39. 0.0.1-alpha.1 07 Jan 2023 pre-release

    Nothing published for this version

  40. 0.0.1-alpha 06 Jan 2023 pre-release

    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