Skip to content

Releases: rocicorp/replicache

v5.0.1

02 Feb 20:45
@arv arv
Compare
Choose a tag to compare

This contains a newer version of diff-server. v5.0.0 was using an old version.

Client View URL is now required

01 Feb 20:16
@arv arv
Compare
Choose a tag to compare

The Replicache constructor now requires you to pass in the clientViewURL. See Replicache Server Setup

v4.0.0

15 Dec 20:07
@arv arv
Compare
Choose a tag to compare
  • subscribe only calls onData if the return value changed compared to last time.
  • subscribe body is now required to return a JSONValue. This might introduce new TypeScript type errors.
  • Simplify JSON types a bit (we used to allow objects with a toJSON method).

v3.1.0

01 Dec 20:20
@arv arv
Compare
Choose a tag to compare

Mostly logging related changes.

  • There is a new method to enable more verbose logging: setVerboseWasmLogging
  • Give up on reauthenticating after a few tries.

v3.0.0

12 Nov 19:05
@arv arv
Compare
Choose a tag to compare
  • createIndex and dropIndex are only available on Replicache class (no longer part of a WriteTransaction).
  • Better handling of the wasm file when using Webpack (see sample/next).
  • Fixed issue when a mutator was missing which lead to an iloop.
  • When scanning over an index, the result key is tuple of [secondary, primary]. Similarly when starting a scan over an index at a key you can now provide a tuple.

Rebuild indexes during sync correctly

06 Nov 01:25
abb1756
Compare
Choose a tag to compare

This picks up a fix in repc which would cause indexes to sometimes not get built correctly during sync.

v2.0.0

05 Nov 23:38
@arv arv
Compare
Choose a tag to compare

Improvements

  • You can now scan indexes starting at a particular key
  • Scanning indexes was fixed to work with indexes larger than a few hundred items

Breaking API Changes

  • ScanOptions is now flattened to deal with the startKey and startKeyExclusive
  • We now return a tuple for the key when scanning over indexes

See https://replicache-sdk-js.now.sh/interfaces/readtransaction.html#scan for more information.

v1.0.0

26 Oct 22:54
Compare
Choose a tag to compare

A few cleanup changes. These are technically breaking, however we do not think any current customers are using them. Please let us know if this is not correct.

  • ScanKey.exclusive is now a required field
  • Remove the cjs version of the built module

v0.9.0: Bump version to 0.9.0.

23 Oct 15:37
Compare
Choose a tag to compare
  • Had to skip past 0.7.0 and 0.8.0 due to unpublished versions on npm
  • Scan now works for more than one page with indexes (rocicorp/repc#231)
  • Remove noisy console.debug() statements that were logging every RPC (they were messing up our perf tests)
  • Rename ScanId -> ScanKey and id to key. Deprecate old names but allow them to be used still
  • This is the first release that is BSL

v0.6.0

16 Oct 22:48
Compare
Choose a tag to compare