Skip to content

Releases: superKalo/super-repo

v2.1.4

16 Jan 19:34
Compare
Choose a tag to compare

Change log:

  • Fix: Promise rejection is properly handled. See #14

v2.1.3

14 Oct 16:36
Compare
Choose a tag to compare

Change log:

  • Add: enhance the getDataUpToDateStatus() method with lastFetched and isInvalid params. See #12

v2.1.2

03 Oct 16:49
Compare
Choose a tag to compare

Change log:

  • Add: info section about projects powered by SuperRepo
  • Fix: all package.json dependencies should actually be listed as dev dependencies only

v2.1.1

29 Sep 11:06
Compare
Choose a tag to compare

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!

    screen shot 2017-09-29 at 14 30 57
  • 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 to 0.

  • 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

26 Sep 16:18
Compare
Choose a tag to compare

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

21 Sep 17:10
Compare
Choose a tag to compare

Change log:

  • Add: Option to install the project with bower:
    bower install --save super-repo
  • Add: .invalidateData() method now returns a Promise, that resolves to {Object} that has prevData {Object} and the nextData {Object}
  • Add: .clearData() now returns a Promise, that resolves to prevData {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

21 Sep 14:50
Compare
Choose a tag to compare

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

v2.0.2

21 Sep 14:51
Compare
Choose a tag to compare
v2.0.2 Pre-release
Pre-release
2.0.2

v2.0.1

21 Sep 14:52
Compare
Choose a tag to compare
v2.0.1 Pre-release
Pre-release
2.0.1

v2.0.0

21 Sep 14:53
Compare
Choose a tag to compare
v2.0.0 Pre-release
Pre-release
2.0.0