Hot on the heels of 1.3.0, i am hoping to release 1.3.1 next week.
Here is a list of the JIRA's associated with it
https://issues.jboss.org/issues/?jql=project%20%3D%20AGJS%20AND%20fixVers...
There was some bug fixes and test/documentation updates, but there were 2 big option
added in DataManager:
1. Auto Connect
Since IndexedDB and WebSQL needed to both be "opened" before doing a
read/save/remove/filter , i've added an option " auto" to the creation of a
store. It will default to false, so it will not break any existing stuff. if set to
true, then you can do the a read, for example and not have to worry about calling open.
2. Opt-Out of Fallback and "preferred"
this new option, 'fallback' will default to true, so data manager will fallback to
a support adapter by default, but if you want to make sure an error is thrown if an
adapter is not supported then you can set fallback=false.
there is also a new "preferred" option. By default when fallback is enabled,
this is the order the adapters are tried [ "IndexedDB", "WebSQL",
"SessionLocal", "Memory" ]
now a user can specify a list of adapters they want to try, so they can do [
"Memory" ] if they only want to fallback to the memory adapter if lets say
IndexedDB isn't available
So give it a try