Skip to content

v0.9.0

Compare
Choose a tag to compare
@taion taion released this 04 Nov 23:11
· 312 commits to master since this release
v0.9.0
aee5f24

This release removes the previous withScroll history enhancer along with any direct dependencies on history. Instead, this library now only needs the ability to install a transition hook and to interact with page session storage.

This change will allow things like simultaneous full compatibility with history v2 and v3 (net of bugs with hash history in the latter) in react-router-scroll, as well as integration with other history management libraries.

  • Breaking: Change package export to be the ScrollBehavior class (#107)
  • Breaking: Remove withScroll history enhancer (#107)
  • Breaking/Feature: Remove explicit dependency on history and instead use more granular configuration of ScrollBehavior objects to allow integrate with other history management libraries (#107)
  • Breaking: Remove readPosition method on ScrollBehavior; the read method on the provided stateStorage object exposes the same data (#107)