Releases: ForceUniverse/cargo
Releases · ForceUniverse/cargo
export and copyTo
- Adding a copyTo method and an export method.
- Adding the method exportToFileStorage to the memory impl serverside.
- Still some work todo in indexDB implementation.
Configuration
- Adding a better way of adding configuration data to the right implementation.
So instead of path: ... you will find now conf: ...
var cargo = new Cargo(MODE: CargoMode.FILE, conf: { "path" : "../store/" });
defaultValue
Add an optional parameter defaultValue when you want to get an item out of the storage implementation.
Add
- Add the method, 'add' to cargo, so you can add data to a key in a list. This can be handy if you want to collect data.
- Improve the working of localstorage, encode and decode objects.
IndexDB
implementation of indexDB into cargo
off
Introducing off(key, datachangelistener) and offAll(key) method, to remove the listeners
Realtime updates
Adding events responds immediately to data changes as they occur.
By using the method cargo.on("userData", (DataEvent de) { // do something });
Client Server abstraction
v0.3.0 Prepare for release version 0.3.0
Operators and Async
- Add async for getting a value
- Add operator functions [] and []=
- Fix some issues on the length parameter