Skip to content

0.2.6

Compare
Choose a tag to compare
@BehindTheMath BehindTheMath released this 30 Apr 19:13
· 18 commits to master since this release
  • Fixed: Form submission for GET requests.
    (#129 - @robinnorth)
  • Fixed: Refactor loadUrl() to make manually calling simpler.
    (#134 - @robinnorth)
  • Fixed: Support multiple select fields in form submissions.
    (#147 - @robinnorth)
  • Fixed: Use the same options object in handle-response as in send-request. This way, pjax.state.options will also have the request options.
    (#148 - @BehindTheMath)
  • Added: Move the XHR callback to a separate method, and trigger an error event if the response cannot be parsed.
    (#137 - @BehindTheMath)
  • Added: TypeScript definitions.
    (#138 - @BehindTheMath)
  • Added: replaceNode switch, as an alternative to the outerHTML switch.
    (#141 - @BehindTheMath)
  • Added: X-PJAX-Selectors HTTP header. This is a serialized JSON array of selectors, taken from options.selectors. You can use this to send back only the elements that Pjax will use to switch, instead of sending the whole page.
    (#144 - @BehindTheMath)
  • Added: An option to use FormData to submit forms.
    (#153 - @BehindTheMath)
  • Added: Tests.
    (f98f2dd, #145 - @robinnorth, @BehindTheMath)