All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
This version introduces upwards scroll support (fixes #466). See upwards scroll
documentation on how to use this feature.
- Adds all features from 3.1.0-beta.1
- Added
upwards
documentation
This version introduces upwards scroll support (fixes #466). See documentation on the prev
option on how to enable this feature.
- Added
prev
option - Added
prev
event - Added
preved
event - Added
top
event - Added
first
event - Added
prepend
event - Added
prepended
event
- Fixed prefill not filling past the scroll threshold
Changes since 3.0.0-rc.1:
- Removed
promise
property on the next event (replaced bynexted
event) - Added
nexted
event
This version is incompatible with previous versions. Read UPGRADE.md for upgrade instructions.
This version changes the license from MIT to GNU Affero General Public License v3.0. See LICENSE for more details.
Complete rewrite of Infinite Ajax Scroll.
Key features:
- Embraces package managers
- Dropped jQuery dependency
- Vanilla Javascript (ES6)
- New and improved test suites
- New and improved documentation and examples
- Improved developer experience
This version is incompatible with previous versions. Read UPGRADE.md for upgrade instructions.
This version changes the license from MIT to GNU Affero General Public License v3.0. See LICENSE for more details.
- Fix: noneLeft event not being triggered when there was only one page
- Added new option:
initialize
- Fix:
ready
event to fire when ready (see commit f6b44a7) - Added
ajaxOptions
toload
event (PR by campadrenalin)
- Improved documentation
- Fix: Cannot read property 'Deferred' of undefined (in jQuery noConflict mode) (fixes #188, #271, #291)
- Fix: render callback is not executed when using a custom render function (fixes #198)
- Fix: unpredictable behaviour when multiple instances used the same selectors for sub-elements (fixes #93)
- Stop ajax responder if instance was destroyed or reinitialized
- Improved documentation on delay and negativeMargin options
- Added FAQ to support documentation
- Added Wordpress cookbook
- Fix: Maintain history state object when changing pages (longzheng)
- Fix: no longer caching $itemsContainer (fixes #153)
- Fix: really destroy instance on destroy method (fixes #160)
- Fix: Replaced deprecated size() with .length (fixes #162)
- Fix: Reworked binding and unbinding (fixes various issues with unbinding)
- Fix: Bail out when device doesn't support onScroll event (like Opera Mini) (fixes #146 by fflewddur)
- Added reinitialize method
- Bug #152 Improve compatibility support when Prototype is used along with jQuery (antoinekociuba)
- Added docs
- Added
htmlPrev
andtextPrev
options to IASTriggerExtension
- Changed argument of
load
event from url to event object - Fixed
prev()
return value
- Added History extension
- Added
ready
event - Added
loaded
event (load
is now triggered before loading starts) - Added
rendered
event (render
is now triggered before rendering starts) - Added priority to callbacks
- Added
initialize
call for extensions - Added
one
method
- Completely rewritten
- Extensible through extensions
- Extensible through events
- Added an extensive test suite