Releases: BeneathTheInk/lazybones
Releases · BeneathTheInk/lazybones
v0.3.1
v0.3.0
Lazybones is now just a Backbone sync method.
v0.2.1
Upgraded NPM dependencies.
v0.2.0
- 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
- 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
- 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
- Upgraded dependencies
- Upgraded doxxo for better docs
- Added
.load()
method that essentially combines.fetch()
and.connect()
.
v0.1.4
- 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.