v1.5.0
⚠️ Breaking Changes
- Change
injectQuery(),injectMutation(), andinjectAction()sodata()is typed asT | undefined, matching the existing initial, skipped, and reset runtime states.
🐛 Bug Fixes
- Make
injectMutation().mutate()andinjectAction().run()reject on failure after updating the reactive error state. - Ignore stale mutation and action completions so only the latest invocation updates reactive state.
📖 Documentation
- Document rejected promise behavior for
mutate()andrun()in both READMEs. - Document the corrected
data()typing in both READMEs.
View changes on GitHub: v1.4.0...v1.5.0