Skip to content

Releases: BeneathTheInk/lazybones

v0.3.1

01 Jul 20:50
Compare
Choose a tag to compare
  • Fixed some issues with promise resolution and Backbone sync callbacks.
  • Added filter option for changes feed.

v0.3.0

03 Jun 23:58
Compare
Choose a tag to compare

Lazybones is now just a Backbone sync method.

v0.2.1

27 Jan 23:39
Compare
Choose a tag to compare

Upgraded NPM dependencies.

v0.2.0

27 Jan 01:10
Compare
Choose a tag to compare
  • Seriously toned down the complexity of Lazybones. Instead of a full abstraction of PouchDB, Lazybones is now more of a OOP/Backbone cousin.
  • Removed the write queue. While theoretically better, I couldn't justify all of that extra code for something PouchDB kind of already handles under the hood.
  • Added the ability to fetch documents from views. This does not load the view's values, only the documents from that view.
  • Removed .load() method. I've realized that .connect() and .fetch() are fundamentally different and shouldn't be generalized like they were. This is functionality that is good to wire up by hand, as needed.
  • Sync no longer needs access to a Lazybones instance, just a PouchDB instance. This means that Documents can be saved without needing to create a full Lazybones object.
  • Integrated with Backbone Symlink. This was going to be separate, however the two were designed for each other.

v0.1.8

20 Jan 19:31
Compare
Choose a tag to compare
  • Reverted the .destroy() behavior introduced in v0.1.7. The method can be called more than once, however doing so results in an error. If actively destroying, the error originates from Lazybones. Otherwise the error will come from PouchDB.
  • Shortened all the error codes to make them easier to use.

v0.1.7

15 Jan 20:06
Compare
Choose a tag to compare
  • Added Lazybones.Backbone so the version of Backbone used with Lazybones is easily accessed.
  • Added .isConnected() to test if a Lazybones instance is actively listening to the PouchDB changes feed.
  • Lazybones instances proxy the "error" and "destroyed" events from the underlying PouchDB instance.
  • .destroy() can now only be called once. Further calls do nothing and return a promise that resolves instantly.

v0.1.6

12 Jan 20:53
Compare
Choose a tag to compare
  • Upgraded dependencies
  • Upgraded doxxo for better docs
  • Added .load() method that essentially combines .fetch() and .connect().

v0.1.4

11 Dec 20:31
Compare
Choose a tag to compare
  • increased sync throughput by:
    • decreasing flush interval from 500ms to 200ms
    • increasing flush bandwidth from 20 documents to 100 documents
    • highlights the need for better options
  • fixed .extend() method on Lazybones and Document classes.