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.
5.0.0 - 2022-05-07
- Browser targets have been changed to the default targets of browserslist (
> 0.5%, last 2 versions, Firefox ESR, not dead
) plusnot ie 11
. Browsers outside of that range may be supported, but are not guaranteed. (#705)
- Disable dependabot (#655) and enable renovate (#656)
- Add support for React 18 (#693)
- Improved CHANGELOG format (#704)
- Fix use of
act
in test scripts (#598) - Bypass
babel
for example launches to eliminate warnings emitted by parcel (#705) - Fix launch configuration for vscode debugging (#705)
4.0.0 - 2021-05-15
- Deprecated the legacy component syntax in favor of the custom hook syntax introduced in #263. The custom hook is now the default export from the library. See the README for information on how to use the custom hook syntax. (#309)
4.0.0-rc.0 - 2021-04-04
- Deprecated the legacy component syntax in favor of the custom hook syntax introduced in #263. The custom hook is now the default export from the library. See the README for information on how to use the custom hook syntax. (#309)
3.2.0 - 2021-03-11
- Updated library to export a custom hook to provide the same functionality as the component syntax. This is much easier to use as a consumer. (#263)
- The component syntax is now considered legacy and will be deprecated in a future major release.
3.1.1 - 2021-03-06
- Update links to reference new repository location and main branch (#260)
- Change from
master
branch tomain
branch
3.1.0 - 2020-11-07
- Update dependency ranges to support react
^17.0.1
(#140)
3.0.1 - 2020-07-25
- Internalized
debounce
function (#30)- Repo now has zero production dependencies!
3.0.0 - 2020-07-18
- Library has been completely rewritten in TypeScript, complies with React >=16.8, and all tooling has been updated (#11)
- The API has been changed significantly; there are no longer separate
onLoad
andonChange
props in favor of a singleonChange
prop. The callback foronChange
returnsheight
andwidth
instead ofscrollbarHeight
andscrollbarWidth
.
- The API has been changed significantly; there are no longer separate
3.0.0-rc.0 - 2020-07-18
- Library has been completely rewritten in TypeScript, complies with React >=16.8, and all tooling has been updated (#11)
- The API has been changed significantly; there are no longer separate
onLoad
andonChange
props in favor of a singleonChange
prop. The callback foronChange
returnsheight
andwidth
instead ofscrollbarHeight
andscrollbarWidth
.
- The API has been changed significantly; there are no longer separate
2.1.0 - 2018-01-31
- Lodash as a peerDependency was causing missing peerDependency errors. Lodash peerDep replaced with stifle dep (#7)
- Bump several dependency versions
- Configure npm to not generate package-lock file
2.0.0 - 2017-05-30
- Make react a peerDependency to avoid running module duplication (#3)
- Make lodash a peerDependency due to its common use and avoid inflating build size unnecessarily
1.0.2 - 2017-05-28
- Remove separate lodash modules in favor of direct import of functions
- Add support for prettier and update libraries to conform to rules
- Update all dependencies to latest version and make updates to conform to API changes
- Update all devDependencies to latest version and make updates to conform to API changes
- Eliminate usage of lodash isEqual in favor of separate instance variables
- Updated test suite to check for returned values rather than simply calling
1.0.1 - 2017-04-26
- Cancel throttled events when unmounting component
1.0.0 - 2017-04-17
- Add unit tests through mocha/chai/enzyme to reach 100% code coverage
- Add code coverage tooling through istanbul/nyc
- Update to React separate prop-types package
- Update all dependencies to latest versions
- Correct instruction link in README
- Initial creation of this repository! Thanks for using it!