Skip to content

Releases: metafizzy/infinite-scroll

v4.0.1

04 Jan 03:39
Compare
Choose a tag to compare

🐞 fix 403 Network Error handling

v4.0.0 - ES2018 refactor; fetch() & Promises

01 Jan 22:30
Compare
Choose a tag to compare

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

27 Apr 19:44
Compare
Choose a tag to compare
  • 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

28 Aug 18:41
Compare
Choose a tag to compare
  • 🐞 Fixed removing jQuery data on destroy. #803 #807
  • 🐞 Fixed jQuery plugin bug ._init is not a function #768

v3.0.4

13 Apr 13:55
Compare
Choose a tag to compare
  • 🐞 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

13 Apr 13:54
Compare
Choose a tag to compare
  • ⬆️ update imagesLoaded v4.1.4, to address loading images in Safari with Masonry/Isotope #671
  • πŸ›  checkLastPage on load. #690

v3.0.2

20 Sep 16:25
Compare
Choose a tag to compare
  • 🐞 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

04 Aug 13:48
Compare
Choose a tag to compare
  • 🐞 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 - All new re-write

27 Jun 00:17
Compare
Choose a tag to compare

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