Releases: derbyjs/racer
Releases · derbyjs/racer
v1.1.0
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.
- The vast majority of promisified methods return
New Contributors
- @craigbeck made their first contribution in #298
Full Changelog: v1.0.6...v1.1.0
v1.0.6
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
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
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
- This can reduce the size of the initial page, depending on the amount of data
Full Changelog: v1.0.3...v1.0.4
v1.0.3
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
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
Changes:
- #291 - Support
sharedb@2
alongsidesharedb@1
(@ericyhwang)- Depending on if a consumer of
racer
has its own dependency onsharedb
:- If no, then
sharedb@2
will be used. - If yes, then the consumer's version of
sharedb
will be used as long as it's1
or2
.
- If no, then
- The only change in
sharedb@2
is dropping support for Node 10, soracer
can continue to support both versions ofsharedb
for now.
- Depending on if a consumer of
Development-only:
- #292 - Switch CI to GitHub actions, update devDependencies (@ericyhwang)
v1.0.0
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
v0.9.15
- #279 - Fix erroneous deferred unload when doing the last unfetch then synchronously subscribing to a doc (@ericyhwang)