Skip to content

v0.8.1

Compare
Choose a tag to compare
@IjzerenHein IjzerenHein released this 29 Dec 15:57
  • Added support for document schemas, using superstruct
  • Added support for custom Document classes

Breaking changes

A small change to the API was made because of the additions mentioned above. As well as so new features can be added more easily in the future.

This:

const collection = new Collection('artists', 'on')

is now:

const collection = new Collection('artists', {
  realtimeUpdating: 'on'
});