Skip to content

Releases: shawnmcknight/react-scrollbar-size

5.0.0

07 May 17:01
3a4155f
Compare
Choose a tag to compare

What's Changed

Read more

Release 4.0.0

15 May 14:50
55a73e6
Compare
Choose a tag to compare

BREAKING CHANGE

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.

Release 4.0.0-rc.0

04 Apr 16:00
d7c4e54
Compare
Choose a tag to compare
Release 4.0.0-rc.0 Pre-release
Pre-release

BREAKING CHANGE

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.

Release 3.2.0

12 Mar 01:13
e71484a
Compare
Choose a tag to compare

This release introduces the useScrollbarSize custom hook to provide the same functionality to detect scrollbar size changes as the existing component based syntax. This syntax is significantly easier to utilize as a consumer and should be considered the default way to utilize this library. All documentation has been updated to reference this approach and the component syntax should be considered legacy at this point.

The component syntax will be deprecated in a future major release.

Release 3.1.1

06 Mar 18:01
4cea5ff
Compare
Choose a tag to compare
  • Minor changes to links requiring republish. No user facing changes.

Release 3.1.0

07 Nov 22:35
1ab1ea6
Compare
Choose a tag to compare

Release 3.0.1

25 Jul 20:20
3a6334b
Compare
Choose a tag to compare
  • Internalized debounce function (#30 by @shawnmcknight)
    • Repo now has zero production dependencies!

Release 3.0.0

18 Jul 22:52
cadf047
Compare
Choose a tag to compare

BREAKING CHANGE

  • Library has been completely rewritten in TypeScript, complies with React >=16.8, and all tooling has been updated (#11) @shawnmcknight
    • The API has been changed significantly; there are no longer separate onLoad and onChange props in favor of a single onChange prop. The callback for onChange returns height and width instead of scrollbarHeight and scrollbarWidth.

Release 3.0.0-rc.0

18 Jul 18:00
2f53528
Compare
Choose a tag to compare
Release 3.0.0-rc.0 Pre-release
Pre-release

BREAKING CHANGE

  • Library has been completely rewritten in TypeScript, complies with React >=16.8, and all tooling has been updated (#11) @shawnmcknight
    • The API has been changed significantly; there are no longer separate onLoad and onChange props in favor of a single onChange prop. The callback for onChange returns height and width instead of scrollbarHeight and scrollbarWidth.

2.1.0

01 Feb 16:54
Compare
Choose a tag to compare
  • Lodash as a peerDependency was causing missing peerDependency errors. Lodash peerDep replaced with stifle dep
  • Bump several dependency versions
  • Configure npm to not generate package-lock file