Skip to content

Releases: ForceUniverse/cargo

export and copyTo

14 Oct 20:29
Compare
Choose a tag to compare
  • 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

12 Oct 16:32
Compare
Choose a tag to compare
  • 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

24 Aug 20:31
Compare
Choose a tag to compare

Add an optional parameter defaultValue when you want to get an item out of the storage implementation.

Add

04 Aug 10:54
Compare
Choose a tag to compare
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

29 Jul 20:46
Compare
Choose a tag to compare

implementation of indexDB into cargo

off

09 Jul 20:05
Compare
Choose a tag to compare
off

Introducing off(key, datachangelistener) and offAll(key) method, to remove the listeners

Realtime updates

06 Jul 17:32
Compare
Choose a tag to compare

Adding events responds immediately to data changes as they occur.

By using the method cargo.on("userData", (DataEvent de) { // do something });

Client Server abstraction

04 Jul 23:26
Compare
Choose a tag to compare
v0.3.0

Prepare for release version 0.3.0

Operators and Async

04 Jul 11:05
Compare
Choose a tag to compare
  • Add async for getting a value
  • Add operator functions [] and []=
  • Fix some issues on the length parameter