Skip to content

Releases: defunkt/jquery-pjax

jquery-pjax 2.0.1

20 May 19:04
Compare
Choose a tag to compare
  • Fix blurring current active element within pjax container
  • Remove extra & after stripping internal query params
  • Handle documents with no or empty <head> tag
  • Fix npm warnings about package.json
  • Add eslint to project

jquery-pjax 2.0.0

19 May 18:34
Compare
Choose a tag to compare

This release brings jQuery 3.x compatibility.

Backwards-incompatible changes:

  • The value of container parameter to pjax functions should be a string selector, and not a jQuery object anymore.

  • The value of container parameter cannot be a DOM node with an ID anymore.

  • The call signature $("#main").pjax("a") is not supported anymore because the container selector #main cannot be inferred from the context of the $.fn.pjax() call. To fix this, pass the container selector explicitly: $("#main").pjax("a", "#main")

pjax 1.9.6

02 Apr 14:31
Compare
Choose a tag to compare
  • Change internal cache struct to fix restoring mixed containers.
  • Avoid tackling on extra # on URLs in Safari.
  • Fix stripping internal query params to avoid touching & and ? in components other than query string.

pjax 1.9.5

07 Mar 11:54
Compare
Choose a tag to compare

Pjax content-related fixes:

  • Fix executing inline <script> tags on pjax back/forward
  • Fix popstate with different pjax containers
  • Scroll to named <a name="..."> anchors after pjax navigation
  • Decode hash value before querying for named anchor or element by ID
  • Avoiding calling scrollTop() twice

Browser URL and anchor fixes:

  • Strip jQuery's cache-busting parameter
  • Keep hash in temporarily changed URL while the page is loading
  • Reflect the hash of the URI in state.url
  • Preserve hash in reloaded URL after pjax request has timed out

Server request fixes:

  • Abort pending XHR in popstate handler.
  • Handle array form data in pjax fallback behavior

pjax 1.9.4

03 Dec 05:36
Compare
Choose a tag to compare
  • Avoid Sizzle CSS syntax errors by looking up whether a location.hash references a DOM ID using document.getElementById() instead of passing the whole value as selector to $().

pjax 1.9.3

03 Dec 05:40
Compare
Choose a tag to compare
  • Fix fragment inclusion when fragment === 'body'
  • Add support for file input fields for form submits
  • Fix maxCacheLength setting and using it to disable caching
  • Don't break the back button after having loaded a static HTML page
  • Fix pjax on iOS Simulator
  • Fix handling <script src> tags with no type attribute
  • Have minifiers retain the copyright notice in source
  • Indicate MIT license in source code
  • Fix adding _pjax parameter when data option is explicitly supplied
  • Simplify & improve detection of same-page anchors

pjax 1.9.2

03 Dec 05:41
Compare
Choose a tag to compare
  • Ensure pjax.state is consistent before pjax:beforeReplace event
  • Add previous state to beforeReplace event
  • Move state and previousState to be event properties
  • Fix previousState scope to success closure

pjax 1.9.1

03 Dec 05:42
Compare
Choose a tag to compare
  • Fixes Bower ignore list

pjax 1.9.0

03 Dec 05:43
Compare
Choose a tag to compare
  • Don't process events with prevented defaults
  • Fire pjax:beforeReplace event before replacing HTML

pjax 1.8.2

19 Apr 23:18
Compare
Choose a tag to compare
  • IE fix for blurring of active element