Update dependency history to v5
Created by: renovate[bot]
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
history | 4.5.1 -> 5.0.0 |
Release Notes
ReactTraining/history
v5.0.0
Today we are very pleased to announce the stable release of history version 5!
Overview
This version includes many enhancements and fixes a few important issues with the library.
New Features
- Hash history now has support for
location.state
- Better
history.block
API, with support for retrying transitions - Full TypeScript declarations and IntelliSense docs
- Adds development and production builds for
<script type=module>
users - Both browser and hash history have support for iframes (custom
window
objects) - About 50% smaller than v4 (and no dependencies)
Bugfixes
- Fixed some long-standing encoding issues with
location.pathname
- Removed unfixable warnings about pushing the same path in hash history
- Renamed browser global to
HistoryLibrary
so it doesn't conflict withwindow.History
Breaking Changes
- Removed support for browsers that do not support the HTML5 history API (no
pushState
) - Removed relative pathname support in hash history and memory history
- Removed
getUserConfirmation
,keyLength
, andhashType
APIs
Usage
Please refer to our installation guide for instructions about how to install the library.
There is also a getting started guide as well as a complete API reference in the docs
folder.
We are very excited about this release, especially because it will serve as the foundation for the upcoming release of React Router version 6.
Thank you for your support. Enjoy!
v4.10.1
v4.10.0
v4.9.0
The main change in this release is pre-bundled single-file builds for both development and production environments. This is not a breaking change, since we still support old-style require('history/createBrowserHistory')
statements for now. However, these are deprecated in favor of import
ing/require
ing from the main module.
Please see the release notes for 4.98.0-beta.0 for more info.
v4.7.2
v4.7.1
v4.7.0
v4.6.3
v4.6.2
v4.6.1
v4.6.0
Renovate configuration
-
If you want to rebase/retry this PR, check this box
This PR has been generated by WhiteSource Renovate. View repository job log here.