PackageTrack
Sign in Get early access

weak_map

WeakMap is a map where the keys are weakly referenced. WeakContainer lets you check if an object is the same you had before. Cache functions for memoization with weak-references.

4.0.1 48K downloads/mo #1495 most downloaded on pub.dev marcglasberg/weak_map

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships fairly regularly

a new release about every 5 months

Some releases are documented

notes for 13 of 24 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

25 releases · first in 2020

0 releases in the last 12 months

see the full history below

Release timeline

25 releases · May 2020 to Jan 2025
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 25
  1. 4.0.1 06 Jan 2025
    Release notes

    Open source →
  2. 4.0.0 30 Oct 2024

    Nothing published for this version

  3. 3.0.1 24 Jan 2024
    Release notes
    • Flutter 3.10.0 and Dart 3.0.0
    Open source →
  4. 3.0.0 12 May 2023

    Nothing published for this version

  5. 2.1.0 13 Sep 2022
    Release notes
    • cache2states_3params((state1, state2) => (param1, param2, param3) => ...);
    Open source →
  6. 2.0.4 25 Dec 2021
    Release notes
    • Docs improvement.
    Open source →
  7. 2.0.3 20 Sep 2021

    Nothing published for this version

  8. 2.0.2 27 Apr 2021
    Release notes
    • NNBD improvement.
    Open source →
  9. 2.0.1 26 Apr 2021

    Nothing published for this version

  10. 2.0.0 04 Mar 2021
    Release notes
    • Cache functions with extra parameters.
    • Rename of cache functions to make them easier to use.

    Now, cache functions are:

    cache1state((state) => () => ...);
    cache1state_1param((state) => (parameter) => ...);
    cache1state_2params((state) => (param1, param2) => ...);
    cache2states((state1, state2) => () => ...);
    cache2states_1param((state1, state2) => (parameter) => ...);
    cache2states_2params((state1, state2) => (param1, param2) => ...);
    cache3states((state1, state2, state3) => () => ...);
    cache1state_0params_x((state1, extra) => () => ...);
    cache2states_0params_x((state1, state2, extra) => () => ...);
    cache3states_0params_x((state1, state2, state3, extra) => () => ...);
    
    Open source →
  11. 2.0.0-nullsafety.1 15 Feb 2021 pre-release

    Nothing published for this version

  12. 1.3.1 11 Aug 2020
    Release notes
    • cache3_0.
    Open source →
  13. 1.2.2 28 Jul 2020
    Release notes
    • Dependency bump.
    Open source →
  14. 1.2.1 12 Jun 2020
    Release notes
    • Cache functions.
    Open source →
  15. 1.2.0 12 Jun 2020

    Nothing published for this version

  16. 1.1.2 26 May 2020
    Release notes
    • Add is by identity.
    • Docs improvement.
    Open source →
  17. 1.1.1 26 May 2020

    Nothing published for this version

  18. 1.1.0 26 May 2020

    Nothing published for this version

  19. 1.0.6 19 May 2020
    Release notes
    • Removed dependency on Flutter (it's now pure Dart).
    Open source →
  20. 1.0.5 19 May 2020

    Nothing published for this version

  21. 1.0.4 19 May 2020

    Nothing published for this version

  22. 1.0.3 19 May 2020

    Nothing published for this version

  23. 1.0.2 19 May 2020
    Release notes
    • Example.
    Open source →
  24. 1.0.1 19 May 2020

    Nothing published for this version

  25. 1.0.0 19 May 2020
    Release notes
    • WeakMap and WeakContainer.
    Open source →

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