Releases: superKalo/super-repo
v2.1.4
v2.1.3
v2.1.2
v2.1.1
Change log:
-
Add: UNIT TESTS! Implemented with Mocha, Chai and Sinon. They bring stability, predictability and bug-resilience 🐞 The two bugs below are caught by these tests!
-
Add: Public method
getDataUpToDateStatus()
that gives info if the currently cached data is up to date. -
Add: Option to mark data as always up to date by setting
outOfDateAfter
to0
. -
Add: Notes in the README.md for the background sync process logic and the 3 edge cases that prevent network (performance) overhead.
-
Fix: The background sync process, if data was up to date, was not setting the timeout to get fresh data correctly. Initiating the sync intervals was all messed up too.
-
Fix: Make sure
outOfDateAfter
period is not faster than 1 second, for real.
v2.1.0
Change log:
- Add: Support for ES5 browsers (via implementing a compilation step with Babel)
- Add: Browser support matrix
- Add: Example usage in IE11 with polyfill that emulates a full ES2015+ environment
- Add: Example of applying data model when the server response is more complex or nested
- Change: distribution files are now located in the
lib/
directory - Change: do not include any unnecessary files in the NPM registry
v2.0.4
Change log:
- Add: Option to install the project with bower:
bower install --save super-repo
- Add:
.invalidateData()
method now returns aPromise
, that resolves to {Object} that hasprevData
{Object} and thenextData
{Object} - Add:
.clearData()
now returns aPromise
, that resolves toprevData
{Object} - the previous (just deleted) data - Add: more explanations and more examples in the documentation
- Add: more detailed example in the
examples
directory. - Fix: set the default value for the
outOfDateAfter
option to-1
(like it was told in the docs)
v2.0.3
That's the FIRST official stable Release! 🎉
Change log:
- Add: All available configuration options (
storage
,name
,request
,dataModel
,outOfDateAfter
,mapData
). - Add: All available public methods (
getData()
,invalidateData()
,clearData()
,initSyncer()
,destroySyncer
- Add: Awesome Readme!
- Add: JSDoc style in-code documentation
PS: Please ignore all other releases and tags before v2.0.3