Ragnarok: LokiJS 1.1 [Jul] rises
A bit of [optional] background
So, this particular release is called Jul, from the Old High Germanic name of December.
What is new in 1.1
Lots of improvements and advancements in 1.1, namely:
- Persistence Adapter for IndexedDB (and plugin functionality, roll-your-own-adapter)
- Changes API (with full snapshot of objects, not just IDs)
- Improved Database and Collection constructors, with lots of optional config parameters
- periodic autosave
- increased MongoDB API compatibility (this is ongoing work)
- compound sort on multiple columns
Among issues and bug fixes that were addressed:
- event listeners are now optionally async
- renamed the id property of objects to $loki to avoid conflicts
- optionally clone objects when inserting them into the db
- insert class instances in the db, and de-serialize them as such (i.e. inflate a collection of users into instances of a User constructor)
The World after Ragnarok
There are a lot more changes coming into LokiJS soon enough, Jolablot is only 12 days away though so in all likelihood there’ll be a 1.1.2 bug-fixes release, but nothing more.
The future is extremely bright though, LokiJS is seeing rising adoption in a number of contexts and the feedback from the community has been excellent and very helpful to improve LokiJS, particularly on the session-store and browser districts,
Among future features are:
- MRU cache
- key/value store collections (I already have a prototype working in the experimental branch)
- server standalone (tcp and http wrappers and clients)
and much more.
Happy Yule / Christmas from Loki.