NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
A package for managing ViewModel that depends on anlifecycle. Similar to Androidx ViewModel.
Last release 2 months ago
09 Aug 2026
Release timing varies
gaps range from 1 weeks to 4 months
Nearly every release is documented
notes for 22 of 22 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
24 releases · first in 2024
One column per month.
Deprecated: Marked the onCreate lifecycle method as deprecated due to naming ambiguity ( users frequently confused whether the ViewModel was *actively…
ViewModel.useHostLifecycle now supports custom onCleared state handling.onCreate lifecycle method as deprecated due to naming ambiguity (
users frequently confused whether the ViewModel was actively creating or already created). It
will be completely removed in a future major release.onCreate to the newly
introduced onCreated method.Added ViewModelCallbacks to observe the ViewModel lifecycle.
AsyncData migrated to the an_async_data package.
Nothing published for this version
* Update readme.
Added ViewModel.useHostLifecycle
* Code standardization
Optimize the search efficiency of ViewModelProvider
ViewModelProvider.getOrCreate is deprecated, please use getOrCreateViewModel instead.
优化_MergingValueNotifier的清理时机
优化_MergingValueNotifier的清理时机
* Upgrading Dependencies.
RefViewModelProvider now supports handling viewModelStore removal.
Fix the bug in the ViewModel extension viewModels.
Fix the bug when viewModelProviderProducer is null.
* Adjust example
Add onCreate method to ViewModel, called after the ViewModel is created.
Fix the bug of clearing the ViewModel when removing from ViewModelStore.
Print logs for ViewModel creation and cleanup in non-release mode.
* Upgrading Dependencies.
Add more proactive notifications to valueNotifierStreamXXX when notifyWhenEquals=true.
BuildContext.withLifecycleAndViewModelEffect allows executing lifecycle-related functions based on the current context and ViewModel.
Added makeCloseable to provide cancelable based on viewmodel lifecycle.
Nothing published for this version
Migrate from an_lifecycle_viewmodel.
Your coding agent can read these notes before it upgrades. Set up the MCP server →