This is a maintenance release, with a completely 1.0.x
compatible API. This is meant to be a stable base for later versions.
- loStorage.js is now very well unit tested.
storage.increase
/session.increase
now works like.add
with a default value of 1.storage.add
will be removed in1.2.0
.storage.push
creates an array and pushes if it doesn't exist yet.
storage.all
/ session.all
now unserializes all values, like it says in the documentation.
Fix storage.get
/ session.get
bug. Fallbacks now work correctly.
Fix storage.set
/ session.set
bug when passing in an object.
Initial loStorage.js release.