Revision code

Changes Version 2.4.0
Released on September 20, 2021 with 16 commits


  • New experimental function up.history.isLocation(). It returns whether the given URL matches the current browser location.
  • New experimental function up.util.normalizeURL(). It returns a normalized version of the given URL string. Two URLs that point to the same resource should normalize to the same string.
  • Fix a bug where an [up-nav] link to the root path (/) would never receive the .up-current class (#280).
  • Fix a bug where an [up-nav] link would never receive the .up-current class if the current URL contains a #hash fragment (#284).
  • Unpoly now prints a log entry when a request or fragment update with { solo: true } abort all other requests.
  • All API functions that work with URL now document how they handle #hash fragments.


If you're upgrading from an older Unpoly version you should load unpoly-migrate.js to polyfill deprecated APIs. Changes handled by unpoly-migrate.js are not considered breaking changes.

See our upgrading guide for details.