v9.0.0-beta.2: HMR Fix
Summary
See the v9.0.0-beta.0 and v9.0.0-beta.1 Release Notes first if you are upgrading from v8. Additionally:
π Features
- We now prefix Replicache IDB instances with the string
rep:
so they can be easily distinguished in developer tools (#842)
π§° Fixes
- Fix bug that was preventing Hot Module Replacement from working (#846)
- Remove reference to
window
that was preventing Replicache from working within web workers (#844)
Compatibility
v9.0.0-beta.2 will upgrade cleanly from 9.0.0-beta.1 or earlier Replicache versions.
However, it does not migrate any unsent mutations across versions. For example, if the user goes offline in v8 or v9.0.0-beta.1, makes a change, then comes back to the app online and the app includes v9, the mutations made while offline in v8 will be lost. We will begin migrating such mutations across major versions beginning in our first General Availability Release, which we plan for v10.