Skip to content

Releases: pklauzinski/payload

v0.7.0

06 Jan 22:09
Compare
Choose a tag to compare
  • Added the ability to set the XHR contentType property globally via options.contentType and to override it per request using the HTML API data-content-type attribute - Closes #13
  • Updated the gruntify-eslint dependency to v5.0.0
  • README updates

v0.6.1

14 Aug 21:20
Compare
Choose a tag to compare
  • Removed @version main comment line
  • Removed deprecated _cache.view property initialization

v0.6.0

14 Aug 21:08
Compare
Choose a tag to compare
  • 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

27 May 19:22
Compare
Choose a tag to compare
  • Removed .jshintrc and .jscsrc
  • Fixed bug in _storageAvailable method

v0.5.2

27 May 02:09
Compare
Choose a tag to compare
  • 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

19 May 17:38
Compare
Choose a tag to compare
  • 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

19 May 17:39
Compare
Choose a tag to compare
  • 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.