Bump history from 4.10.1 to 5.3.0
Bumps history from 4.10.1 to 5.3.0.
Release notes
Sourced from history's releases.
v5.3.0
This release provides support for native ESM consumption of all exports.
v5.3.0-pre.0
No release notes provided.
v5.2.0
🐛 Bug fixes
- Fixed a few type declarations and deprecated the following types:
State(now set tounknownwhich will require consumer type narrowing)PartialPath(usePartial<Path>instead)PartialLocation(usePartial<Location>instead)- Fixed a regression related to the
createPathreturn value (#813)✨ Features
- We now use statically analyzable CJS exports. This enables named imports in Node ESM scripts (See the commit).
Full Changelog: https://github.com/remix-run/history/compare/v5.1.0...v5.2.0
v5.1.0
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: https://github.com/remix-run/history/compare/v5.0.3...v5.1.0
v5.0.3
Fixed
parsePathadding incorrectly addingsearchv5.0.2
Just a couple fixes:
- Fixed search params persisting on redirects
- Changed the
location.statetype toanyand removed the generic onLocationFull Changelog: https://github.com/remix-run/history/compare/v5.0.1...v5.0.2
v5.0.1
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,@chaanceand@mjacksonfor your contributions!v5.0.0
Today we are very pleased to announce the stable release of history version 5!
Overview
... (truncated)
Commits
c9bc27dVersion 5.3.0c9b1b1bVersion 5.3.0-pre.068543c6Merge branch 'main' into release/v5.3.0ba1cd3cfix: import history from ESM (#934)3966191Merge pull request #914 from remix-run/logan/format-action8117ab2chore: Update readme + docblock referencesf5cb295chore: fix lockfile224cda0chore: Merge branch 'main' into devaef6c2bfix: Use statically analyzable CJS exportseac4eddchore(ci): add format action- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Codecov Report
Merging #4146 (bd14214) into main (070b610) will not change coverage. The diff coverage is
0.00%.
@@ Coverage Diff @@
## main #4146 +/- ##
=======================================
Coverage 48.58% 48.58%
=======================================
Files 899 899
Lines 26328 26328
Branches 5403 5403
=======================================
Hits 12791 12791
Misses 12605 12605
Partials 932 932
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/options/store.ts | 0.00% <0.00%> (ø) |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
It doesn't work well, I see:
Uncaught Could not find router reducer in state tree, it must be mounted under "router
Tentatively assigning to @BALEHOK
history v5 requires react-router-dom v6 (stackoverflow)
react-router-dom v6 requires changes in our app.
We can take this in work depending on priority (however I'd start with updating React to the latest version).
- Tracked in https://github.com/pixiebrix/pixiebrix-extension/issues/1851
- Also related https://github.com/pixiebrix/pixiebrix-extension/issues/3164
@dependabot ignore this dependency
OK, I won't notify you about history again, unless you re-open this PR. 😢
OK, I won't notify you about history again, unless you re-open this PR. 😢