fix(deps): update dependency history to v5 #2525
Open
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.6.3->^5.0.0Release Notes
remix-run/history (history)
v5.3.0Compare Source
This release provides support for native ESM consumption of all exports.
v5.2.0Compare Source
🐛 Bug fixes
State(now set tounknownwhich will require consumer type narrowing)PartialPath(usePartial<Path>instead)PartialLocation(usePartial<Location>instead)createPathreturn value (#813)✨ Features
Full Changelog: remix-run/history@v5.1.0...v5.2.0
v5.1.0Compare Source
Because the prior 5.0.2 release removed the
Statetype 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
Statetype 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.3Compare Source
Fixed
parsePathadding incorrectly addingsearchv5.0.2Compare Source
Just a couple fixes:
location.statetype toanyand removed the generic onLocationFull Changelog: remix-run/history@v5.0.1...v5.0.2
v5.0.1Compare Source
This patch release contains a tiny TypeScript update to use the built-in
Partialutility forPartialPathandPartialLocation. 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.0Compare 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.statehistory.blockAPI, with support for retrying transitions<script type=module>userswindowobjects)Bugfixes
location.pathnameHistoryLibraryso it doesn't conflict withwindow.HistoryBreaking Changes
pushState)getUserConfirmation,keyLength, andhashTypeAPIsUsage
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
docsfolder.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 - "on sunday" (UTC), 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 this update again.
This PR was generated by Mend Renovate. View the repository job log.