Infinite Scroll Versions Save

📜 Automatically add next page

v4.0.1

3 years ago

🐞 fix 403 Network Error handling

v4.0.0

3 years ago

4.0.0 release notes

Breaking Changes

  • 💔 replaced responseType option to responseBody. This effects loading JSON. See Upgrading to v4.
  • 💀 Internet Explorer and Android 4 support dropped.
  • 💀 Removed RequireJS support and AMD export

New Features

  • Use fetch API to make requests
  • .loadNextPage() returns the fetch request Promise
  • Response argument added to load, append, and error events. #845
  • With append enabled, last page will be triggered if the loaded page appends 0 items. #840
  • Added fetchOptions option. Allows you to set request headers. #791, #801, #822, #905, #917
  • Automated linting and style with ESLint
  • Added headless browser testing Puppeteer
  • Use ES2018 syntax and features

v3.0.6

5 years ago
  • provide fix for bug related to parsing GET parameters #832
  • Supported 204 No content #759
  • 🐞 fix query param absolute path. #829
  • Replace negative lookbehind with a more supported regular expression #837

Thanks to @kyle-mccarthy and @icetee for their Pull Requests in this release!

v3.0.5

5 years ago
  • 🐞 Fixed removing jQuery data on destroy. #803 #807
  • 🐞 Fixed jQuery plugin bug ._init is not a function #768

v3.0.4

6 years ago
  • 🐞 prevent error if getPath returns falsey on init. #776
  • 🐞 do not do append history if no items. #779
  • 🐞 execute inline scripts. #718, #782

v3.0.3

6 years ago
  • ⬆️ update imagesLoaded v4.1.4, to address loading images in Safari with Masonry/Isotope #671
  • 🛠 checkLastPage on load. #690

v3.0.2

6 years ago
  • 🐞 Fixed Tumblr Uncaught DOMException bug #672, PR #705
  • 🐞 Fixed destroy with button option bug #719
  • 🐞 Fixed hidden infinite-scroll-last status element #706
  • 🛠 added X-Requested-With header #702

v3.0.1

6 years ago
  • 🐞 Fixed #679 - Back button returning to first page
  • 🐞 Fixed #686 - Fixed button destory typo
  • 🐞 Fixed #691 - Do not proceed if falsy getPath
  • 🐞 Fixed #690 - Stop prefilling on last or error; 🛠 checkLastPage on append

v3.0.0

6 years ago

Infinite Scroll v3 is a complete rewrite with all new API and behavior.

  • Uphold URLs by changing browser URL and history as user scrolls. Maintain users scroll position if they go back to an infinitely-scrolled site or hit the refresh button.
  • Removed jQuery dependency. Vanilla JS support added
  • Changed license from MIT to GPLv3 + Metafizzy commercial license
  • UMD js support added. AMD support added. CommonJS support added.
  • Events added
  • Expose properties pageIndex and loadCount
  • Added direct integration for Masonry, Isotope, and Packery with outlayer option
  • Removed WordPress plugin code from this repo. To be moved into a new repo.

See Upgrading from v2 for details on how to upgrade from Infinite Scroll v2