PackageTrack
Sign in Get early access

injector

injector is a simple to use and lightweight dependency injection library for dart

4.0.0 559K downloads/mo #485 most downloaded on pub.dev tappeddev/injector

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 3 weeks to 2.3 years

Most releases are documented

notes for 9 of 14 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

15 releases · first in 2018

0 releases in the last 12 months

see the full history below

Release timeline

15 releases · Jul 2018 to Aug 2024
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 15
  1. 4.0.0 12 Aug 2024

    Nothing published for this version

  2. 3.0.0 04 Jul 2023

    Nothing published for this version

  3. 2.0.0 15 Mar 2021

    Nothing published for this version

  4. 1.0.10-nullsafety.0 27 Aug 2020 pre-release

    Nothing published for this version

  5. 1.0.9 26 Aug 2020
    Release notes
    • Add get as shortcut for getDependency
    • Add deprecated annotation to getDependency
    • Some preparations for nullability
    • [bug] Fixed the bug, that the library detects a wrong circular dependency (#25)
    Open source →
  6. 1.0.8 10 May 2019
    Release notes
    • Add travis ci badge to readme
    • Reformat using dartfmt
    Open source →
  7. 1.0.7 10 May 2019
    Release notes
    • Refactor docs
    Open source →
  8. 1.0.6 15 Mar 2019
    Release notes
    • Add remove dependency method
    • Add override dependencies property
    Open source →
  9. 1.0.5 21 Jan 2019
    Release notes
    • Breaking Changes! Injector is not a singleton. You can use it like a singleton with the static instance Injector.appInstance
    • You can register your dependencies with a name. But be careful, you need always the generic type! It looks like Injector.allInstance.registerDependency<UserService>((injector) => UserServiceImpl), dependencyName: "MyCustomName");
    Open source →
  10. 1.0.4 11 Dec 2018
    Release notes
    • Add some documentation for each class
    Open source →
  11. 1.0.3 30 Aug 2018
    Release notes
    • Change license from BSD-3 to Apache 2
    Open source →
  12. 1.0.2 27 Aug 2018
    Release notes
    • Upgrade analysis_options.yaml
    • Add missing Cast ("as T")
    • Add Test - Cycle dependencies
    Open source →
  13. 1.0.1 26 Jul 2018
    Release notes
    • Upgrade pubspec.yaml (Change dart sdk constraint)
    • Update README.md
    • Update Description
    Open source →
  14. 0.1.2 30 Aug 2018

    Nothing published for this version

  15. 0.0.1 05 Jul 2018

    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