Skip to content

v1.5.0

Choose a tag to compare

@azhukaudev azhukaudev released this 08 Mar 19:54
· 41 commits to main since this release

⚠️ Breaking Changes

  • Change injectQuery(), injectMutation(), and injectAction() so data() is typed as T | undefined, matching the existing initial, skipped, and reset runtime states.

🐛 Bug Fixes

  • Make injectMutation().mutate() and injectAction().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() and run() in both READMEs.
  • Document the corrected data() typing in both READMEs.

View changes on GitHub: v1.4.0...v1.5.0