Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^4.10.1
->^5.3.0
^4.7.11
->^5.0.0
Release Notes
remix-run/history (history)
v5.3.0
Compare Source
This release provides support for native ESM consumption of all exports.
v5.2.0
Compare Source
🐛 Bug fixes
State
(now set tounknown
which will require consumer type narrowing)PartialPath
(usePartial<Path>
instead)PartialLocation
(usePartial<Location>
instead)createPath
return value (#813)✨ Features
Full Changelog: remix-run/history@v5.1.0...v5.2.0
v5.1.0
Compare Source
Because the prior 5.0.2 release removed the
State
type parameter fromLocation
, this was technically a breaking change. To correct for this, I'm bumping this as a minor release. It won't affect runtime code, but it may affect your development experience and tests if you were using that parameter.The
State
type export is also restored, so you shouldn't have issues with installing React Router v6.Oh, by the way, did you hear we released React Router v6?
Full Changelog: remix-run/history@v5.0.3...v5.1.0
v5.0.3
Compare Source
Fixed
parsePath
adding incorrectly addingsearch
v5.0.2
Compare Source
Just a couple fixes:
location.state
type toany
and removed the generic onLocation
Full Changelog: remix-run/history@v5.0.1...v5.0.2
v5.0.1
Compare Source
This patch release contains a tiny TypeScript update to use the built-in
Partial
utility forPartialPath
andPartialLocation
. We always love it when we can ship just a little less code!🙏 Credits
Thanks to @liuhanqu, @hanquliu, @chaance and @mjackson for your contributions!
v5.0.0
Compare Source
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
location.state
history.block
API, with support for retrying transitions<script type=module>
userswindow
objects)Bugfixes
location.pathname
HistoryLibrary
so it doesn't conflict withwindow.History
Breaking Changes
pushState
)getUserConfirmation
,keyLength
, andhashType
APIsUsage
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! 😀
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.