github remix-run/history v5.0.0-beta.0

latest releases: v5.3.0, v5.3.0-pre.0, v5.2.0...
pre-release5 years ago

You can track v5 beta progress in #751

You can install the v5 beta using the next tag: npm add history@next

Lots of updates in this release! Here's a quick summary:

New features:

  • Remove legacy browser support (pre pushState)
  • Add state to hash history
  • Use custom window when creating history objects
  • Better history.block API w/ tx.retry for retrying transitions
  • Fix location.pathname encoding issues
  • About 50% smaller
  • No dependencies

Removed features:

  • Removes basename support
  • Removes relative pathname support in hash + memory histories
  • Removes getUserConfirmation
  • Removes keyLength
  • Removes hashType

A migration guide will be available soon. For now, you can either browse around the docs on the dev branch or the tests.

Enjoy!

Don't miss a new history release

NewReleases is sending notifications on new releases.