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

Bump history from 4.10.1 to 5.0.0 - requires manual update - duplicate packages found #7554

Closed
wants to merge 2 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 19, 2020

Bumps history from 4.10.1 to 5.0.0.

Release notes

Sourced from history's releases.

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

  • Removed support for browsers that do not support the HTML5 history API (no pushState)
  • Removed relative pathname support in hash history and memory history
  • Removed getUserConfirmation, keyLength, and hashType APIs

Usage

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! 😀

v5.0.0-beta.8

[You can track v5 beta progress in #751](ReactTraining/history#751)

You can install the v5 beta using the next tag: npm add history@next

Changes

In this release the core library was converted to TypeScript, and the type declaration files that are published with the npm package are derived from the source instead of being written by hand. This should make them both more accurate and more useful.

A migration guide will be available soon. For now, you can either browse around the docs on the dev branch or the tests.

Enjoy!

Commits
  • 026d9e5 Version 5.0.0
  • ef40006 Remove api doc generation script
  • 9930845 Update doc links to master branch
  • 987ff43 Add some more type declarations
  • 4ab6a42 Restore syntax highlights in declaration blocks
  • 41bacf0 Add more links to doc comments
  • a7ae54c More docs + IntelliSense doc comments
  • 1babffe Update API docs
  • 0f95d29 More tweaks to API docs
  • f88b174 Small tweaks to api reference
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 dependabot bot added this to the Dependency Updates milestone Aug 19, 2020
@karinathomasbbc
Copy link
Contributor

@dependabot recreate

@karinathomasbbc
Copy link
Contributor

@dependabot rebase

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 24, 2020

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@karinathomasbbc
Copy link
Contributor

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/history-5.0.0 branch from 180cfd1 to b8e2dd8 Compare August 24, 2020 17:43
@karinathomasbbc
Copy link
Contributor

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/history-5.0.0 branch from b8e2dd8 to 65ffeb3 Compare September 7, 2020 16:59
@karinathomasbbc
Copy link
Contributor

@dependabot rebase

@karinathomasbbc karinathomasbbc changed the title Bump history from 4.10.1 to 5.0.0 Bump history from 4.10.1 to 5.0.0 - requires manual update - duplicate packages found Sep 11, 2020
@rhenshaw56 rhenshaw56 self-assigned this Sep 14, 2020
@rhenshaw56
Copy link
Contributor

rhenshaw56 commented Sep 14, 2020

I think we would need to pack this update for now as it's a breaking change with no clear fixes. After fixing the duplicates issue, I noticed that some history API's which use to be used by react-router and react-router-dom are no longer available, which results in the webpack warning below.

Screen Shot 2020-09-14 at 16 43 53

checked their repos and also noticed that react-router and react-router-dom are still using the previous history version and there's a host of issues relating to this update for the history package. see remix-run/history#804, remix-run/history#803.

probable next steps, park this for now and wait for react-router(/+)dom version 6 to get out of beta as it supports history v5

@karinathomasbbc karinathomasbbc added the external blocked Blocked by an external dependency label Sep 15, 2020
@karinathomasbbc
Copy link
Contributor

@dependabot rebase

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 18, 2020

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@karinathomasbbc
Copy link
Contributor

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/history-5.0.0 branch from d52ccd5 to 9818940 Compare November 18, 2020 18:28
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 14, 2021

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/history-5.0.0 branch January 14, 2021 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies external blocked Blocked by an external dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants