Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download refreshless-8.x-1.0-alpha3.tar.gztar.gz 23.25 KB
MD5: 6d613f751e23ee151bd222ff5674759c
SHA-1: be42682013aa7457a0d96181a8ae433795517eeb
SHA-256: 073df2bedb504ab884f7360732f96ae79f084ed4d982d210b830f84e99e6e053
Download refreshless-8.x-1.0-alpha3.zipzip 31.3 KB
MD5: ed973abae70f032e102c5be42d216d09
SHA-1: 45bc1ab5d3af22d498656e498fdbb26006fa1c23
SHA-256: ee79293d7fe9f01e7c94682e44e8a44a67fd121621e560f10248d4604c3f851a

Release notes

Major alpha release of the RefreshLess module.

Don't forget to apply the Drupal 8 core patch (core.patch). It was updated in this release. Please read the README.

Important bugs squashed

  • Fixed: page title and anything in <head> now actually is updated as well.
  • Fixed: once a region is empty, it will never be shown again, even when navigating to a page that should have it
  • Fixed: fragment URLs.
  • Fixed: back/forward buttons now work! What's more, they result in instantaneous page loads: their data is cached.
  • Fixed: when navigating to a next page, it should be scrolled to the top, just like a regular page load.
  • Fixed: redirecting responses now work (e.g. My account (/user) link).

New features

  • New: accessibility: new page loads are now announced using Drupal.announce().
  • New: compatible with JS components that do their own routing — in line with progressive decoupling.

For the first time: APIs!

  • New API: refreshless:load event
  • New API: links with data-refreshless-exclude will be loaded the normal way, without RefreshLess.
  • New API: manually perform navigation using RefreshLess using RefreshLess.visit(url)
  • Documentation!

Many thanks to the many people who have reported problems! Please keep the feedback coming!

This release should be the first one that should work in a stable way for >95% of use cases.


Changes since 8.x-1.0-alpha2:

  • Update README in preparation of alpha3 release: most of the TODOs have actually been addressed
  • #2704075 by Wim Leers: Clicking the "My account" main menu link results in JS errors and nothing happening
  • #2699497 by tedbow, Wim Leers: Allow modules to exclude links from Refreshless Behavior
  • #2695777 by andrewmacpherson, Wim Leers, mgifford: Announce new content to screenreader users when navigating using RefreshLess
  • #2713841 by Wim Leers: drupalSettings.ajaxPageState.libraries should be purely additive, is currently overwritten when going back in history
  • Follow-up for issue #2713515 by Wim Leers: Fix backward navigation (in cases where different regions have been updated), improve root state handling
  • Follow-up for issue #2713549 by Wim Leers: Refactor onhashchange event handler away: simplicity, consistency, and avoids a whole class of potential problems with JS using hash-based routing
  • #2713567 by Wim Leers: Refactor all the controller logic into an actual object: improve understandability/maintainability
  • #2713767 by Wim Leers: Fix all eslint errors
  • #2713515 by Wim Leers: Fix backward navigation (in cases where different regions have been updated), improve root state handling
  • #2713549 by Wim Leers: Refactor onhashchange event handler away: simplicity, consistency, and avoids a whole class of potential problems with JS using hash-based routing
  • #2713499 by Wim Leers: When navigating to a new page, it should be scrolled to the top + navigating to a fragment on another page broken in Firefox
  • #2705363 by Wim Leers: Fragments URLs fail: local fragments cause unnecessary page load, remote fragments cause HTTP 500 response
  • #2713439: Allow navigating back to the original page without doing a full reload
  • #2693743 by Wim Leers, cashwilliams: Regions that are empty on certain pages (like Breadcrumb) do not appear after once having been empty
  • #2708579 by heddn, Devin Carlson, Wim Leers: Add composer.json
  • #2708579 by heddn, Wim Leers: Add composer.json
  • Follow-up commit for #2692317.
  • #2693569 by Wim Leers: RefreshLess should declare a dependency on Drupal 8.1
  • #2692299 by Wim Leers: Back/forward buttons are broken: implement onpushstate event handler
  • #2692317 by Wim Leers: Make everything in update: , tags, etc
Created by: Wim Leers
Created on: 27 Apr 2016 at 12:21 UTC
Last updated: 27 Apr 2016 at 14:32 UTC
Bug fixes
New features

Other releases