byteshiva / e-commenceland

e-Commerce Land Project
https://byteshiva.github.io/e-commenceland/
MIT License
2 stars 1 forks source link

Update dependency history to v5 #69

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

remix-run/history ### [`v5.3.0`](https://togithub.com/remix-run/history/releases/tag/v5.3.0) [Compare Source](https://togithub.com/remix-run/history/compare/v5.2.0...v5.3.0) This release provides support for native ESM consumption of all exports. ### [`v5.2.0`](https://togithub.com/remix-run/history/releases/tag/v5.2.0) [Compare Source](https://togithub.com/remix-run/history/compare/v5.1.0...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` instead) - `PartialLocation` (use `Partial` instead) - Fixed a regression related to the `createPath` return value ([#​813](https://togithub.com/remix-run/history/issues/813)) #### ✨ Features - We now use statically analyzable CJS exports. This enables named imports in Node ESM scripts ([See the commit](https://togithub.com/remix-run/history/commit/aef6c2b9b5d4a62f20678b0aec16d839d994ea0a)). **Full Changelog**: https://github.com/remix-run/history/compare/v5.1.0...v5.2.0 ### [`v5.1.0`](https://togithub.com/remix-run/history/releases/tag/v5.1.0) [Compare Source](https://togithub.com/remix-run/history/compare/v5.0.3...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](https://togithub.com/remix-run/react-router/releases/tag/v6.0.0)? **Full Changelog**: https://github.com/remix-run/history/compare/v5.0.3...v5.1.0 ### [`v5.0.3`](https://togithub.com/remix-run/history/releases/tag/v5.0.3) [Compare Source](https://togithub.com/remix-run/history/compare/v5.0.2...v5.0.3) Fixed `parsePath` adding incorrectly adding `search` ### [`v5.0.2`](https://togithub.com/remix-run/history/releases/tag/v5.0.2) [Compare Source](https://togithub.com/remix-run/history/compare/v5.0.1...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**: https://github.com/remix-run/history/compare/v5.0.1...v5.0.2 ### [`v5.0.1`](https://togithub.com/remix-run/history/releases/tag/v5.0.1) [Compare Source](https://togithub.com/remix-run/history/compare/v5.0.0...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](https://togithub.com/liuhanqu), [@​hanquliu](https://togithub.com/hanquliu), [@​chaance](https://togithub.com/chaance) and [@​mjackson](https://togithub.com/mjackson) for your contributions! ### [`v5.0.0`](https://togithub.com/remix-run/history/releases/tag/v5.0.0) [Compare Source](https://togithub.com/remix-run/history/compare/v4.10.1...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 ` Githubissues.
  • Githubissues is a development platform for aggregating issues.