Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump history from 4.10.1 to 5.1.0 #2031

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 17, 2021

Bumps history from 4.10.1 to 5.1.0.

Release notes

Sourced from history's releases.

v5.1.0

Because the prior 5.0.2 release removed the State type parameter from Location, 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

Fixed parsePath adding incorrectly adding search

v5.0.2

Just a couple fixes:

  • Fixed search params persisting on redirects
  • Changed the location.state type to any and removed the generic on Location

Full Changelog: remix-run/history@v5.0.1...v5.0.2

v5.0.1

This patch release contains a tiny TypeScript update to use the built-in Partial utility for PartialPath and PartialLocation. We always love it when we can ship just a little less code!

馃檹 Credits

Thanks to @鈥媗iuhanqu, @鈥媓anquliu, @鈥媍haance and @鈥媘jackson for your contributions!

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 with window.History

Breaking Changes

... (truncated)

Commits
  • 8bef6f4 Version 5.1.0
  • eb6ca11 Restore the State export in the types
  • 792a8fa Version 5.0.3
  • a2a2c72 fix: remove false search returns in parsePath
  • ed674b5 Version 5.0.2
  • 82e5352 chore: type the parsePath function
  • 04a01ad fix: remove generic State from Location type
  • 8cb33f2 update package-lock.json
  • 2d5c85e Merge pull request #902 from remix-run/jacob/rem-473-redirects-after-action-a...
  • 3095a04 fix: search params persisting on redirects
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 17, 2021
@KatieMSB
Copy link
Collaborator

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/history-5.1.0 branch from 3fd86a8 to c30dddb Compare November 17, 2021 16:18
KatieMSB
KatieMSB previously approved these changes Nov 17, 2021
@dctalbot
Copy link
Contributor

Blocked by supasate/connected-react-router#543

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/history-5.1.0 branch from c30dddb to 1cf5034 Compare November 22, 2021 21:32
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/history-5.1.0 branch from 1cf5034 to 3dac704 Compare November 30, 2021 15:47
@dctalbot
Copy link
Contributor

Proof of concept for removing connected-react-router is completed here: https://github.com/target/goalert/compare/routing?expand=1

Bumps [history](https://github.com/ReactTraining/history) from 4.10.1 to 5.1.0.
- [Release notes](https://github.com/ReactTraining/history/releases)
- [Commits](remix-run/history@v4.10.1...v5.1.0)

---
updated-dependencies:
- dependency-name: history
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/history-5.1.0 branch from 3dac704 to b3e17af Compare December 16, 2021 16:12
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 20, 2021

Superseded by #2059.

@dependabot dependabot bot closed this Dec 20, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/history-5.1.0 branch December 20, 2021 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants