Releases: dominikbulaj/react-scroll-into-view
Upgrade dependencies
v1.8.1 is just a patch version upgrading some dependencies. Some known security vulnerabilities were detected in acorn
and minimist
packages.
Added `onClick` callback
This release adds (optional) onClick
property for callback function executed when user clicks to scroll (#11)
Version 1.6
Smaller size thanks to:
- removing recompose dependency (code migrated to vanilla JS)
- exposing only build code in published package (omitting e.g.
src/
and other non-crucial files)
Since it's minor release you might upgrade package without worries about any migration process - nothing has changed to how you use react-scroll-into-view
Dependencies upgrade
Just a small dependencies upgrade to fix all security audit issues
Dependency bump
Versions 1.5.1 and 1.5.2 basically update dependencies and have no code changes.
Babel 7 & reducing build size dramatically
Upgraded to Babel 7
Reduced size of build file by more than 75% which is huge win (3.77 kB instead of 16.41 kB)
Added Prettier code formatting
Added Travis CI
Added Snapshot tests
Styling adjustments
Added className
support.
Additionally style
is empty by default.
Breaking changes
style
by default is empty. Previously it's value was set to {display: 'inline'}
.
You will need to adjust it and provide by own style={{display: 'inline'}}
for backward compatibility. (#4)
Reducing build size
Thanks to moving react to peerDependencies and using rollup-plugin-uglify resulting file size went down from 91K to 16K
Optimized dependencies
Removed all unused dev dependencies
Initial release
Initial release. Contains all the featured documented in README.md