Releases: steaks/leo-query
Releases · steaks/leo-query
v0.5.0
Improved error handling, improved performance, and support for React Native
Changes
🐶 Features
v0.4.1
v0.4.0
v0.3.0
Integration with Next.js, persisting to local storage, and performance improvements.
Changes
🐶 Features
- Support for persisting data (#71 #80)
- Support for Next.js (#71 #80)
- Added option to set a query's initial value (#71 #80)
- Added option to set a query value manaully (#71 #80)
🐝 Fixes
- Skip some unnecessary rerenders when new query value equals existing query value or when unrelated values in the store change (#71 #74 #80)
Breaking Changes
- Require React version >=18.0.0 (#80)
v0.2.0
Retries, stale data timers and development ergonomic improvements.
Changes
🐶 Features
- Added global configuration support for setting defaults across your app (#51)
- Improved retry mechanism with configurable options (#49)
- Added stale timeout support for better cache control and polling (#50)
- Added new hook API for simpler integration (#54, #57)
🐝 Fixes
- Fixed equality checks for better cache management (#52)
- Fixed retry mechanism reliability (#49)
- Fixed build system stability (#48)
Breaking Changes
- Types were moved out of
leo-query/types. Instead import types directly fromleo-query. withoutSuspenseHookwas removed. Instead usehook(yourStore, /*suspense*/false}).