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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove history and @types/history #2059

Merged
merged 3 commits into from
Jan 13, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 20, 2021

Bumps history from 4.10.1 to 5.2.0.

Release notes

Sourced from history's releases.

v5.2.0

🐛 Bug fixes

  • Fixed a few type declarations and deprecated the following types:
    • State (now set to unknown which will require consumer type narrowing)
    • PartialPath (use Partial<Path> instead)
    • PartialLocation (use Partial<Location> instead)
  • Fixed a regression related to the createPath return value (#813)

✨ Features

  • We now use statically analyzable CJS exports. This enables named imports in Node ESM scripts (See the commit).

Full Changelog: remix-run/history@v5.1.0...v5.2.0

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 @​liuhanqu, @​hanquliu, @​chaance and @​mjackson 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

... (truncated)

Commits

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 Dec 20, 2021
Forfold
Forfold previously approved these changes Dec 20, 2021
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/history-5.2.0 branch 2 times, most recently from 4a3ff53 to 8ad6846 Compare January 3, 2022 18:27
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/history-5.2.0 branch from 8ad6846 to c4706f8 Compare January 6, 2022 16:50
Bumps [history](https://github.com/remix-run/history) from 4.10.1 to 5.2.0.
- [Release notes](https://github.com/remix-run/history/releases)
- [Commits](remix-run/history@v4.10.1...v5.2.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.2.0 branch from c4706f8 to 5c6f571 Compare January 10, 2022 17:33
@dctalbot dctalbot removed the blocked label Jan 13, 2022
@dctalbot
Copy link
Contributor

the history package is only used as a sub-dependency of react-router-dom, so we can remove it from package.json. Further, the @types/history package is obsolete as history now ships with types, so that has also been removed

@dctalbot dctalbot changed the title Bump history from 4.10.1 to 5.2.0 ~Bump history from 4.10.1 to 5.2.0~ Jan 13, 2022
@dctalbot dctalbot changed the title ~Bump history from 4.10.1 to 5.2.0~ ~~Bump history from 4.10.1 to 5.2.0~~ Jan 13, 2022
@dctalbot dctalbot changed the title ~~Bump history from 4.10.1 to 5.2.0~~ Remove history and @types/history Jan 13, 2022
@dctalbot dctalbot merged commit 36e4240 into master Jan 13, 2022
@dctalbot dctalbot deleted the dependabot/npm_and_yarn/history-5.2.0 branch January 13, 2022 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants