PackageTrack
Sign in Get early access

context_watch

A hassle-free way to watch for observable value changes within the `build` method.

7.0.3 18K downloads/mo #2297 most downloaded on pub.dev s0nerik/context_plus

What this package is like to depend on

Last release 9 months ago

02 Nov 2025

Release timing varies

gaps range from 2 weeks to 6 months

Nearly every release is documented

notes for 25 of 25 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

30 releases · first in 2023

1 release in the last 12 months

see the full history below

Release timeline

30 releases · Nov 2023 to Nov 2025
2024 2025 2026
Release Pre-release

Releases

latest 30
  1. 7.0.3 02 Nov 2025
    Release notes
    • Update a dependency to the latest release.
    Open source →
  2. 7.0.2 22 Jun 2025
    Release notes
    • Update a dependency to the latest release.
    Open source →
  3. 7.0.1 14 Jun 2025
    Release notes
    • Update a dependency to the latest release.
    Open source →
  4. 7.0.0 22 May 2025
    Release notes
    • BREAKING FEAT: context.use().
    Open source →
    Release notes
    • BREAKING FEAT: context.use().
    Open source →
    Release notes

    Note: There are no breaking API changes apart from a couple tiny changes to the way custom ContextWatchers are defined.

    If you don't use any custom ContextWatchers - upgrading the package shouldn't break anything for you.

    • REFACTOR: Significant internal code changes aimed at maximizing the performance and unifying the logic for attaching data to a BuildContext among all context_* packages.
    Open source →
  5. 6.0.0 03 May 2025
    Release notes
    • BREAKING FEAT: context.use().
    Open source →
    Release notes

    Note: This release has breaking changes.

    Note: This release requires Dart 3.7.0 or newer

    • BREAKING FEAT: watch*() on Listenable/ValueListenable is even more convenient now!

      • TListenable.watch(context) now returns TListenable instead of void
      • ValueListenable<T>.watchOnly()/.watchEffect() now provide T instead of TListenable as a value
    • DOCS: README improvements

    Open source →
  6. 5.1.3 19 Mar 2025
    Release notes
    • FIX: allow .watch(context) inside LayoutBuilder.
    Open source →
  7. 5.1.2 18 Sep 2024
    Release notes
    • Update a dependency to the latest release.
    Open source →
  8. 5.1.1 18 Sep 2024
    Release notes
    • Update a dependency to the latest release.
    Open source →
  9. 5.1.0 07 Sep 2024
    Release notes
    • REFACTOR: simplified callback argument selection API for ContextWatchSubscription.
    • REFACTOR: simplified exports.
    • FEAT: Multi-value watching via (obs1, obs2, ...).watch*(context).

    2024-08-24

    Changes


    Packages with breaking changes:

    • There are no breaking changes in this release.

    Packages with other changes:


    Open source →
    Release notes
    • FEAT: Multi-value watching via (obs1, obs2, ...).watch*(context).
    Open source →
  10. 5.0.1 24 Aug 2024
    Release notes
    • DOCS: README.md update.

    2024-08-22

    Changes


    Packages with breaking changes:

    Packages with other changes:

    • There are no other changes in this release.

    Open source →
    Release notes
    • DOCS: README.md update.
    Open source →
  11. 5.0.0 22 Aug 2024
    Release notes
    • BREAKING FEAT: context.use().
    • BREAKING FEAT: watch*() on Listenable/ValueListenable is even more convenient now!

    2025-05-22

    Changes


    Packages with breaking changes:

    Packages with other changes:

    • There are no other changes in this release.

    Packages graduated to a stable release (see pre-releases prior to the stable version for changelog entries):

    • context_plus_core - v1.0.0
    • context_plus_lint - v1.0.0
    • context_watch_getx - v4.0.0

    Open source →
    Release notes

    Note: This release does not contain any breaking API changes.

    This is a major release because the underlying implementation of InheritedContextWatch and ContextWatcher had changed significantly and the behavior of watchOnly() had been improved to reduce unnecessary rebuilds in one of the edge cases.

    • FEAT: watchEffect() for attaching side effects to the observed data.
    Open source →
  12. 4.0.0 30 Jul 2024
    Release notes
    • REFACTOR: applied Dart 3.7 formatting.
    • BREAKING FEAT: watch*() on Listenable/ValueListenable is even more convenient now!
    Open source →
    Release notes

    Note: This release has breaking changes.

    • DOCS: README.md update.

    • BREAKING FEAT: goodbye, context.unwatch()!

      All cases of conditional .watch()'ing are now handled automatically.

    Open source →
  13. 3.3.0 23 Jul 2024
    Release notes
    • FEAT: [context_watch] Removes the rxdart dependency, ValueStreams are still supported! (#14) by @passsy.
    • DOCS: removed outdated doc comment for Listenable.watch().
    Open source →
  14. 3.2.0 29 Jun 2024
    Release notes
    • FEAT: context.inheritRefBindingsFrom(otherContext).

    2025-05-27

    Changes


    Packages with breaking changes:

    Packages with other changes:

    Packages graduated to a stable release (see pre-releases prior to the stable version for changelog entries):

    • context_plus_utils - v1.0.0

    Packages with dependency updates only:

    Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

    • context_plus - v6.0.1

    Open source →
    Release notes
    • FEAT: async_listenable support integration.
    • FIX: proper handling of synchronous new value notifications during build().
    Open source →
  15. 3.1.1 12 Mar 2024
    Release notes
    • FIX: proper handling of synchronous new value notifications during build().
    Open source →
    Release notes
    • DOCS: Updated README.md.
    Open source →
  16. 3.1.0 06 Mar 2024
    Release notes
    • FEAT: added ability to suppress the "no rebinds" policy for a specific Ref.bind or Ref.bindLazy call using allowRebind parameter.

    2025-05-23

    Changes


    Packages with breaking changes:

    • There are no breaking changes in this release.

    Packages with other changes:


    Open source →
    Release notes
    • FEAT: Subscriptions are now kept throughout the Element re-parenting.
    Open source →
  17. 3.0.0 26 Feb 2024
    Release notes
    • BREAKING FEAT: context.use().
    Open source →
    Release notes

    Note: This release has breaking changes.

    • BREAKING REFACTOR: Simplified the API. Every observable type now has only two extension methods: watch(), watchOnly().
    Open source →
  18. 2.0.4 21 Feb 2024
    Release notes
    • DOCS: updated README.md.

    2024-02-19

    Changes


    Packages with breaking changes:

    • There are no breaking changes in this release.

    Packages with other changes:


    Open source →
    Release notes
    • DOCS: updated README.md.
    Open source →
  19. 2.0.3 19 Feb 2024
    Release notes
    • REFACTOR: added topics to context_plus, context_ref, context_watch.

    2024-02-19

    Changes


    Packages with breaking changes:

    • There are no breaking changes in this release.

    Packages with other changes:


    Open source →
    Release notes
    • REFACTOR: added topics to context_plus, context_ref, context_watch.
    Open source →
  20. 2.0.2 19 Feb 2024
    Release notes
    • REFACTOR: pubspec.yaml: Updated homepage/repository with proper branch name.
    Open source →
  21. 2.0.1 18 Feb 2024
    Release notes
    • DOCS: updated README.md.

    2024-02-26

    Changes


    Packages with breaking changes:

    Packages with other changes:


    Open source →
    Release notes
    • REFACTOR: updated Flutter SDK constraint.
    Open source →
  22. 2.0.0 18 Feb 2024
    Release notes
    • REFACTOR: applied Dart 3.7 formatting.
    • DOCS: Enhance README files for context_plus, context_ref, and context_watch with improved descriptions and examples.
    • DOCS: Update README badges to reflect download metrics for context_plus, context_ref, and context_watch.
    • BREAKING FEAT: watch*() on Listenable/ValueListenable is even more convenient now!
    Open source →
  23. 2.0.0-dev.5 24 Dec 2023 pre-release
    Release notes
    • Fixed initial frame handling
    Open source →
  24. 2.0.0-dev.4 09 Dec 2023 pre-release
    Release notes
    • Stream.watch() and Future.watch() now return AsyncSnapshot, just like StreamBuilder and FutureBuilder do
    • Performance improvements
    • Added example app with benchmarks
    • Extracted InheritedContextWatch into a separate package to make it possible to create context watchers for custom observable types
    Open source →
  25. 2.0.0-dev.3 05 Dec 2023 pre-release

    Nothing published for this version

  26. 2.0.0-dev.2 05 Dec 2023 pre-release

    Nothing published for this version

  27. 2.0.0-dev.1 05 Dec 2023 pre-release

    Nothing published for this version

  28. 1.0.2 27 Nov 2023
    Release notes
    • FIX: dispose all binding when root widget is removed from the tree. Fixes #27.
    Open source →
    Release notes
    • Updated flutter_lints
    Open source →
  29. 1.0.1 27 Nov 2023
    Release notes
    • REFACTOR: ContextPlusFrameInfo.isWarmupFrame.
    • FIX: don't pre-increment ContextPlusFrameInfo.currentFrameId for a warmup frame.
    Open source →
    Release notes
    • Added back a workaround for https://github.com/flutter/flutter/issues/128432 to loosen Flutter SDK version constraint.
    Open source →
  30. 1.0.0 12 Nov 2023
    Release notes

    2024-03-12

    Changes


    Packages with breaking changes:

    • There are no breaking changes in this release.

    Packages with other changes:

    Packages with dependency updates only:

    Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

    • context_plus - v2.2.1

    Open source →
    Release notes
    • Initial release.
    • Listenable.watch(context), Stream.watch(context) extensions.
    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