Releases: metafizzy/infinite-scroll
Releases Β· metafizzy/infinite-scroll
v4.0.1
v4.0.0 - ES2018 refactor; fetch() & Promises
4.0.0 release notes
Breaking Changes
- π replaced
responseType
option toresponseBody
. 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
, anderror
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
v3.0.5
v3.0.4
v3.0.3
v3.0.2
v3.0.1
v3.0.0 - All new re-write
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
andloadCount
- 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