@ngx-pwa/local-storage
Advanced tools
Changelog
8.2.1 (2019-08-20)
ng add @ngx-pwa/local-storage
(for versions >= 8)ng update @ngx-pwa/local-storage
(it does not mean you do not have work to do when updating, be sure to follow the migrations guides)Before v8.2.0, this library was listening to indexedDb
request success
event.
Now it is listening to transaction complete
event.
Except for the special .keys()
method, all other methods in this library are doing just one request by transaction.
So request success
or transaction complete
are supposed to be equivalent. But there are rare cases like
#162
where the transaction could fail even if the request succeeded (meaning the data will not be written on disk).
So now it should catch more rare edgy cases, but for nearly everyone it should not change anything. But it is still a sensitive change as it concerns asynchrony (the order of operations are not exactly the same).
Changelog
8.1.0 (2019-08-17)
indexedDb
Changelog
6.2.4 & 8.0.1 (2019-06-05)
indexedDB
or localStorage
variables causes a security exception,
and all Angular code will fail. So the library is now catching the error,
and fallbacks to in-memory storage in this case.