ground-db icon indicating copy to clipboard operation
ground-db copied to clipboard

Ground.Collection 1.0.0

Open raix opened this issue 8 years ago • 3 comments

Tracking WIP releases, first release is a complete rewrite in ES2015 using localforage as the storage adapter.

Requires [email protected]

Notes

  • Ground.Collection(name, options) extends Mongo.Collection with a few extra options
  • Support for localstorage/indexedDB/webSQL/SQLlite (on cordova)
  • Pr. document updates (old uses bulk)
  • Added async loading - this should improve performance even on large datasets

TODO

  • [ ] Conflict handling (method resume/removal/updates of documents)
  • [ ] Add document compression?
  • [ ] Only subscribe to actual updates - prevent refetching
  • [ ] Handle storage errors - eg. when hitting limits
  • [ ] Storage quota handling?
  • [ ] Add test coverage
  • [ ] Add tab sync - maybe as a seperate package?
  • [ ] Add support for blobs?
  • [ ] Add support for indexes?

raix avatar Aug 25 '15 00:08 raix

1.0.0-alpha.1 out

raix avatar Aug 25 '15 00:08 raix

ground:[email protected]

  • fixed servertime dependency

raix avatar Aug 25 '15 06:08 raix

ground:[email protected]

  • minor fixes
  • added clear() for clearing local mem

raix avatar Aug 25 '15 07:08 raix