v0.6.1

@pklauzinski pklauzinski released this Aug 14, 2017

  • Removed @version main comment line
  • Removed deprecated _cache.view property initialization

v0.6.0

@pklauzinski pklauzinski released this Aug 14, 2017 · 2 commits to master since this release

  • Added package-lock.json
  • Fixed publishing user events twice when subscribed to with the .pre namespace - Fixes #10
  • Change user events published with the .pre namespace to use the .beforeRender namespace, with the intent of deprecating the .pre namespace - Fixes #11
  • Upgraded gruntify-eslint dev-dependency to v4.0.0

v0.5.3

@pklauzinski pklauzinski released this May 27, 2017 · 4 commits to master since this release

  • Removed .jshintrc and .jscsrc
  • Fixed bug in _storageAvailable method

v0.5.2

@pklauzinski pklauzinski released this May 27, 2017 · 5 commits to master since this release

  • Replaced jshint and jscs with eslint
  • Added private method to check if browser storage is both supported and available to prevent errors from being thrown in private browsing mode where storage is suppressed

v0.5.1

@pklauzinski pklauzinski released this May 19, 2017 · 6 commits to master since this release

  • Added the ability to the Payload.storage API to access sessionStorage by passing an additional parameter 'session' to each method. By default, it will still behave just as before using localStorage.
  • Added Payload.session API as a shortcut to the Payload.storage API with only sessionStorage access.

v0.5.0

@pklauzinski pklauzinski released this May 19, 2017 · 8 commits to master since this release

  • Set auto-load elements to allow the data-auto-load attribute to be empty rather than requiring it to be set to true.
  • Fire user defined .pre namespace events separately for XHR vs. non-XHR template requests.
  • Return Payload object from public methods to allow for chaining.
  • Allow apiAccessToken option to be overridden by a data-token attribute.
  • Fixed appended GET params added to URL query to only append key/value pairs from the data parameter when it is present for GET requests.
  • A few updates to README.md.