Skip to content

Releases: derbyjs/racer

v1.1.0

06 Jun 20:44
Compare
Choose a tag to compare

What's Changed

  • Support sharedb@4 by @craigbeck in #298
    • sharedb@4 drops official Node.js v14 support but has no actual breaking changes, so Racer is unaffected.
  • Add *Promised versions of callback-based methods by @craigbeck in #299
    • The vast majority of promisified methods return Promise<void>, which resolves with no value.
    • Note that, when using a promisified method, the returned Promise should be consumed to avoid unhandled promise rejections. A model.on('error', ...) handler will not handle errors coming from promisified methods.

New Contributors

Full Changelog: v1.0.6...v1.1.0

v1.0.6

28 Mar 20:04
Compare
Choose a tag to compare

What's Changed

  • Support sharedb@3 in dependencies by @ericyhwang in #297
    • Racer now supports all sharedb versions 1-3.

Full Changelog: v1.0.5...v1.0.6

v1.0.5

07 Dec 01:16
Compare
Choose a tag to compare

What's Changed

  • Fix Model#unload to actually unload docs and queries, and add regression tests. by @distracteddev in #296

Full Changelog: v1.0.4...v1.0.5

v1.0.4

19 Nov 00:49
Compare
Choose a tag to compare

What's Changed

  • Strip ref outputs from initial data bundle, by @ericyhwang in #295
    • This can reduce the size of the initial page, depending on the amount of data model.ref is used with

Full Changelog: v1.0.3...v1.0.4

v1.0.3

25 Aug 22:32
Compare
Choose a tag to compare

What's Changed

  • Fix Contexts#unloadAll to account for addition of toJSON method by @ericyhwang in #294

Full Changelog: v1.0.2...v1.0.3

v1.0.2

25 Aug 21:44
Compare
Choose a tag to compare

Do not use this version.

Use [email protected] instead.

What's Changed

  • In Model#bundle, use new Contexts#toJSON method for consistency with other data bundle properties by @ericyhwang in #293
    • This does not affect the final JSON-string serialized form of the data bundle

Full Changelog: v1.0.1...v1.0.2

v1.0.1

30 Oct 03:35
Compare
Choose a tag to compare

Changes:

  • #291 - Support sharedb@2 alongside sharedb@1 (@ericyhwang)
    • Depending on if a consumer of racer has its own dependency on sharedb:
      • If no, then sharedb@2 will be used.
      • If yes, then the consumer's version of sharedb will be used as long as it's 1 or 2.
    • The only change in sharedb@2 is dropping support for Node 10, so racer can continue to support both versions of sharedb for now.

Development-only:

v1.0.0

08 Jan 16:14
Compare
Choose a tag to compare

This is a major release of racer, however it should largely be backwards compatible. The included changes were to refactor existing functionality for performance, so this version bump gives consumers of the library a chance to test the changes first before updating.

  • #264 - Improve performance when there are many reactive functions. Decreases the overhead to adding and removing event listeners, which are leveraged heavily by reactive functions and component bindings.

v0.9.16

02 Sep 20:29
Compare
Choose a tag to compare
  • #281 - Add additional signature for Model#filter that doesn't use var-args (@mskeving)
model.filter(inPath1, inPath2, inPath3, ..., fn);  // Old, still supported
model.filter(inPath1, [inPath2, inPath3, ...], fn); // New

v0.9.15

25 Mar 20:08
Compare
Choose a tag to compare
  • #279 - Fix erroneous deferred unload when doing the last unfetch then synchronously subscribing to a doc (@ericyhwang)