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

Update dependency history to v5 #674

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 29, 2021

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
history ^4.10.1 -> ^5.0.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

remix-run/history (history)

v5.3.0

Compare Source

This release provides support for native ESM consumption of all exports.

v5.2.0

Compare Source

🐛 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

Compare Source

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

Compare Source

Fixed parsePath adding incorrectly adding search

v5.0.2

Compare Source

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

Compare Source

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

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


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Dec 29, 2021
@renovate
Copy link
Contributor Author

renovate bot commented Dec 29, 2021

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: connected-react-router@6.9.1
npm ERR! Found: history@5.3.0
npm ERR! node_modules/history
npm ERR!   dev history@"^5.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer history@"^4.7.2" from connected-react-router@6.9.1
npm ERR! node_modules/connected-react-router
npm ERR!   peer connected-react-router@"^6.5.2" from ra-core@3.19.12
npm ERR!   node_modules/ra-core
npm ERR!     peer ra-core@"^3.17.2" from ra-data-simple-rest@3.19.0
npm ERR!     node_modules/ra-data-simple-rest
npm ERR!       dev ra-data-simple-rest@"^3.19.0" from the root project
npm ERR!     4 more (ra-i18n-polyglot, ra-language-english, ...)
npm ERR!   connected-react-router@"^6.5.2" from ra-ui-materialui@3.19.12
npm ERR!   node_modules/ra-ui-materialui
npm ERR!     ra-ui-materialui@"^3.19.12" from react-admin@3.19.12
npm ERR!     node_modules/react-admin
npm ERR!       dev react-admin@"^3.19.12" from the root project
npm ERR!   1 more (react-admin)
npm ERR! 
npm ERR! Conflicting peer dependency: history@4.10.1
npm ERR! node_modules/history
npm ERR!   peer history@"^4.7.2" from connected-react-router@6.9.1
npm ERR!   node_modules/connected-react-router
npm ERR!     peer connected-react-router@"^6.5.2" from ra-core@3.19.12
npm ERR!     node_modules/ra-core
npm ERR!       peer ra-core@"^3.17.2" from ra-data-simple-rest@3.19.0
npm ERR!       node_modules/ra-data-simple-rest
npm ERR!         dev ra-data-simple-rest@"^3.19.0" from the root project
npm ERR!       4 more (ra-i18n-polyglot, ra-language-english, ...)
npm ERR!     connected-react-router@"^6.5.2" from ra-ui-materialui@3.19.12
npm ERR!     node_modules/ra-ui-materialui
npm ERR!       ra-ui-materialui@"^3.19.12" from react-admin@3.19.12
npm ERR!       node_modules/react-admin
npm ERR!         dev react-admin@"^3.19.12" from the root project
npm ERR!     1 more (react-admin)
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /tmp/worker/026167/90fa3d/cache/others/npm/_logs/2023-08-31T10_48_14_770Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /tmp/worker/026167/90fa3d/cache/others/npm/_logs/2023-08-31T10_48_14_770Z-debug-0.log

@renovate renovate bot requested a review from JaneJeon December 29, 2021 09:31
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 29, 2021

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: bbbdc1d
Status: ✅  Deploy successful!
Preview URL: https://342a2fd3.blink.pages.dev
Branch Preview URL: https://renovate-history-5-x.blink.pages.dev

View logs

@renovate renovate bot force-pushed the renovate/history-5.x branch from b6100e3 to 14c7828 Compare December 30, 2021 00:40
@vercel
Copy link

vercel bot commented Dec 30, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/janejeon/blink/3k8S9SR7L7tyYLVCo24hgRibczd7
✅ Preview: https://blink-git-renovate-history-5x-janejeon.vercel.app

@vercel
Copy link

vercel bot commented Mar 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blink ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 31, 2023 10:48am

@renovate renovate bot force-pushed the renovate/history-5.x branch from 0f2e2d9 to c0bb0c1 Compare March 19, 2023 16:07
@renovate renovate bot force-pushed the renovate/history-5.x branch from c0bb0c1 to ffa650a Compare March 19, 2023 16:38
@renovate renovate bot force-pushed the renovate/history-5.x branch from ffa650a to 95784ea Compare March 19, 2023 16:45
@renovate renovate bot force-pushed the renovate/history-5.x branch from 95784ea to 95bc0d7 Compare March 28, 2023 15:13
@renovate renovate bot force-pushed the renovate/history-5.x branch from 95bc0d7 to 29ed358 Compare April 10, 2023 07:44
@renovate renovate bot force-pushed the renovate/history-5.x branch from 29ed358 to 6ba489c Compare May 21, 2023 11:00
@renovate renovate bot force-pushed the renovate/history-5.x branch from 6ba489c to d9f7026 Compare May 21, 2023 15:51
@renovate renovate bot force-pushed the renovate/history-5.x branch from d9f7026 to 3acb2c1 Compare May 21, 2023 15:58
@renovate renovate bot force-pushed the renovate/history-5.x branch from 3acb2c1 to d26e986 Compare July 5, 2023 17:11
@renovate renovate bot force-pushed the renovate/history-5.x branch from d26e986 to 905b1eb Compare July 10, 2023 05:49
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.

0 participants