Releases: ankeetmaini/react-infinite-scroll-component
Releases · ankeetmaini/react-infinite-scroll-component
v7.0.0-beta.0
🚧 Beta Release
This is a beta release of v7.0.0. Please test and report any issues.
Installation
npm install react-infinite-scroll-component@beta
# or
yarn add react-infinite-scroll-component@betaWhat's New
⚛️ React 17+ Required
- Minimum React version is now 17.0.0 (previously 16.0.0)
- Uses the new JSX transform — no more
import Reactboilerplate
🛠️ Modernized Toolchain
- Node.js: Requires 18.18.0+ (dropped Node 16)
- Jest: Upgraded from v24 → v29
- Husky: Upgraded to v9
- Storybook: Upgraded from v5 → v7
⚠️ Breaking Changes
| Before (v6) | After (v7) |
|---|---|
| React 16+ | React 17+ |
| Node 12+ | Node 18.18.0+ |
Migration
Upgrade React if you're on v16:
npm install react@17 react-dom@17No API changes — the library interface remains the same.
Feedback
This is a beta release. Please test it in your projects and report any issues. Your feedback helps ensure a stable v7.0.0 release!
CI/CD modernization and comprehensive tests (no runtime changes)
v6.1.1 – CI/CD updates and test suite (no runtime changes)
- Tests: add coverage for threshold parsing, bottom/top triggers (inverse), custom scrollableTarget, pull‑down‑to‑refresh, and loader/hasChildren.
- CI/CD: modern GitHub Actions (checkout/setup-node v4), Node 16/18/20 matrix, yarn cache, lint + prettier check, type‑check, tests with coverage, and build.
- Formatting: applied Prettier to src/; no behavior changes.
- Packaging: unchanged (CJS/ESM/UMD), types unchanged.
No public API or runtime changes. Safe to upgrade.
Remove warning for newer React versions
v6.1.0 Bump version to 6.1.0
v6.0.1
Because I botched the previous release.
Change logic for inverse scroll
v6.0.0 6.0.0
Add infinite scroll in up direction
Thanks to @osmarpb97 for the implementation.
Pull refresh bug fix
v5.0.6 Bump version
bug fix - refresh
v5.0.5 Merge pull request #190 from geoffreyteng/pullToRefreshThresholdBreac…
Minor Fixes
- Remove scroll listener on
componentWillUnmount - Throw error if required prop
dataLengthis not provided - Add
prettierto git precommit hook
Fix prop types of height
v5.0.3 5.0.3