-
Notifications
You must be signed in to change notification settings - Fork 19
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
fix(deps): update dependency vue-router to v4 #622
Open
renovate
wants to merge
1
commit into
release
Choose a base branch
from
renovate/vue-router-4.x
base: release
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⚠ Artifact update problemRenovate 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:
The artifact failure details are included below: File name: package-lock.json
|
renovate
bot
force-pushed
the
renovate/vue-router-4.x
branch
6 times, most recently
from
June 23, 2022 00:43
4dab0d9
to
b9843e9
Compare
renovate
bot
force-pushed
the
renovate/vue-router-4.x
branch
7 times, most recently
from
June 30, 2022 14:02
e41f42f
to
a73dc40
Compare
renovate
bot
force-pushed
the
renovate/vue-router-4.x
branch
5 times, most recently
from
July 7, 2022 14:53
fbe05f9
to
cf711c6
Compare
renovate
bot
force-pushed
the
renovate/vue-router-4.x
branch
2 times, most recently
from
July 16, 2022 23:48
92ff0f4
to
eb36762
Compare
renovate
bot
force-pushed
the
renovate/vue-router-4.x
branch
3 times, most recently
from
July 23, 2022 01:37
066c5e0
to
4bab6ba
Compare
renovate
bot
force-pushed
the
renovate/vue-router-4.x
branch
5 times, most recently
from
August 3, 2022 06:02
8d6a8db
to
f753199
Compare
renovate
bot
force-pushed
the
renovate/vue-router-4.x
branch
from
August 4, 2022 04:28
f753199
to
6624b23
Compare
renovate
bot
force-pushed
the
renovate/vue-router-4.x
branch
6 times, most recently
from
September 4, 2024 21:59
e63bfae
to
e40170d
Compare
renovate
bot
force-pushed
the
renovate/vue-router-4.x
branch
5 times, most recently
from
September 13, 2024 08:21
9c36fa0
to
75d3555
Compare
renovate
bot
force-pushed
the
renovate/vue-router-4.x
branch
10 times, most recently
from
September 22, 2024 10:03
3713695
to
5a4edea
Compare
renovate
bot
force-pushed
the
renovate/vue-router-4.x
branch
3 times, most recently
from
September 28, 2024 07:00
e5f958d
to
a34a5ec
Compare
renovate
bot
force-pushed
the
renovate/vue-router-4.x
branch
4 times, most recently
from
October 4, 2024 01:15
4bb7cec
to
d3f8c88
Compare
renovate
bot
force-pushed
the
renovate/vue-router-4.x
branch
from
November 25, 2024 17:36
d3f8c88
to
f46cd1f
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.6.5
->4.5.0
Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
vuejs/router (vue-router)
v4.5.0
Compare Source
Please refer to CHANGELOG.md for details.
v4.4.5
Compare Source
Please refer to CHANGELOG.md for details.
v4.4.4
Compare Source
Please refer to CHANGELOG.md for details.
v4.4.3
Compare Source
Please refer to CHANGELOG.md for details.
v4.4.2
Compare Source
Please refer to CHANGELOG.md for details.
v4.4.1
Compare Source
v4.4.0
Compare Source
Please refer to CHANGELOG.md for details.
v4.3.3
Compare Source
Please refer to CHANGELOG.md for details.
v4.3.2
Compare Source
Please refer to CHANGELOG.md for details.
v4.3.1
Compare Source
Please refer to CHANGELOG.md for details.
v4.3.0
Compare Source
Please refer to CHANGELOG.md for details.
v4.2.5
Compare Source
Please refer to CHANGELOG.md for details.
v4.2.4
Compare Source
Please refer to CHANGELOG.md for details.
v4.2.3
Compare Source
Please refer to CHANGELOG.md for details.
v4.2.2
Compare Source
Please refer to CHANGELOG.md for details.
v4.2.1
Compare Source
Please refer to CHANGELOG.md for details.
v4.2.0
Compare Source
Please refer to CHANGELOG.md for details.
v4.1.6
Compare Source
Please refer to CHANGELOG.md for details.
v4.1.5
Compare Source
Please refer to CHANGELOG.md for details.
v4.1.4
Compare Source
Please refer to CHANGELOG.md for details.
v4.1.3
Compare Source
Please refer to CHANGELOG.md for details.
v4.1.2
Compare Source
Please refer to CHANGELOG.md for details.
v4.1.1
Compare Source
Please refer to CHANGELOG.md for details.
v4.1.0
Compare Source
Vue Router 4.1
We are excited to announce the release of Vue Router 4.1 with a few new interesting features, better support for Node ESM and no breaking changes.
Omitting the
component
/components
option in routesIt's now possible to completely omit the
component
option when defining routes with children. While nested routes are about defining layouts, they are also directly connected to apath
and users often found themselves defining a pass through component that would just render a<RouterView>
component to reuse thepath
structure. You can now simplify this to:In other words, you can now nest paths without having to define a component.
Passing History State in navigations
Passing History State through
router.push()
has been implemented and used by the router since its version 4.0 but hasn't been exposed as a public API until now. This enables passing astate
property when callingrouter.push()
orrouter.replace()
. This is useful to pass global state to be associated with the history entry that cannot be shared by copying the URL. One common example of this are Modals:To see a full example, check the modal e2e test, it has been updated to use the
state
property.It's worth noting this shouldn't be used to pass fetched data or complex objects such as classes because of type and size limitations. Check the History State documentation for more information about the
state
property.Given the nature of the
<RouterView>
'sroute
prop, there is also a new functionloadRouteLocation()
that can be used on a resolved route location to load a route with lazy loading:Typed Routes
In v4.1 we were initially planning to introduce types to automatically detect the params from a
path
property, creating autocomplete and type safety inrouter.push()
and<RouterLink>
'sto
prop. It was implemented but also turned out to be extremely slow after ~50 routes due to the nature of the types relying on nesting and complex unions. Instead, we are introducing a build plugin to generate the types of the routes for you based your file structure. This is similar to Nuxt and Vite Plugin Pages but with full type support (similar to nuxt-typed-router) while allowing you to keep using the exact same API, just with Autocompletion and typing hints 😄. The plugin currently supports Vite, Webpack (with some caveats), and rollup and it's currently experimental to gather feedback from the community and build a flexible solution. We hope to release a stable version in the following months.Check out the plugin GitHub repository for installation instructions and documentation.
Here are some other examples of how much this plugin can improves your developer experience:
CJS/MJS support for Node
We now expose a few extra entry points for Node but kept the old ones as well to prevent any disruption to the existing users. You can find more information about this in the corresponding pull request.
Please refer to CHANGELOG.md for details.
v4.0.16
Compare Source
Please refer to CHANGELOG.md for details.
v4.0.15
Compare Source
Please refer to CHANGELOG.md for details.
v4.0.14
Compare Source
Please refer to CHANGELOG.md for details.
v4.0.13
Compare Source
Please refer to CHANGELOG.md for details.
v4.0.12
Compare Source
Please refer to CHANGELOG.md for details.
v4.0.11
Compare Source
Please refer to CHANGELOG.md for details.
v4.0.10
Compare Source
Please refer to CHANGELOG.md for details.
v4.0.9
Compare Source
Please refer to CHANGELOG.md for details.
v4.0.8
Compare Source
Please refer to CHANGELOG.md for details.
v4.0.7
Compare Source
Please refer to CHANGELOG.md for details.
v4.0.6
Compare Source
Please refer to CHANGELOG.md for details.
v4.0.5
Compare Source
Please refer to CHANGELOG.md for details.
v4.0.4
Compare Source
Please refer to CHANGELOG.md for details.
v4.0.3
Compare Source
Please refer to CHANGELOG.md for details.
v4.0.2
Compare Source
Please refer to CHANGELOG.md for details.
v4.0.1
Compare Source
Please refer to CHANGELOG.md for details.
v4.0.0
Compare Source
A more complete but lighter Router
Today Vue Router 4 is officially released as stable.
After 14 alphas, 13 betas and 6 release candidates, Vue Router v4 is ready to bring the best of routing to your Vue 3 applications with improved bundle size, TypeScript integration, new features and consistency improvements for modern apps.
It has taken almost 2 years of work, around 1500 commits, 15 RFCs, and the help of many users and their bug reports and feature requests to get here. Thank you all for your very much appreciated help!
Project Organization improvements
Vue Router is now divided in three modules:
/users/:id
and its rankingDynamic Routing
One the most wanted features on Vue Router is Dynamic Routing. It makes the router more flexible and powerful and open possibilities for applications that were not possible before! This is possible thanks to an advanced path parsing with automatic ranking, allowing the router to guess what route should be matched based on the URL string representation, allowing user to define routes in any order.
Improved Navigation system
The new navigation system is more consistent and improves the experience of Scroll Behavior to match native browser behavior. It also gives users almost more information about the status of a navigation and allow using that information to improve user experience through global UI elements like progress bars and modals.
More powerful Devtools
Thanks to the new Vue Devtools, Vue Router is able to create more advanced integrations: navigation in the timeline and a complete route directory that helps you debug routes.
Better Navigation guards
Say good bye to
next
and avoid easy-to-make mistakes inside navigation guards: return any value you were passing tonext
. The previous version is still supported to ease migration!More information on the updated documentation.
Consistent encoding in routes
Encoding has been adapted to make it consistent across different browsers and route location properties (
params
,query
andhash
). You don't need to encode these properties when passing them torouter.push()
and they will always appear decoded in the route locations (e.g.$route
anduseRoute()
).Small migration path
Vue Router 4 focus on improving the existing Router while keeping a very similar API, migration should be short and almost limited to a few renames if you were using the basics of Vue Router. You can check the full migration guide on the documentation
The future of the Router
Vue Router has been effectively stable for the past couple of months and makes it possible to now focus on:
Trying It Out
If you want to give Vue Router 4 a quick try, you can check this CodeSandbox, this Vite template with Tailwind CSS, or use the CLI to get started.
To Learn more about Vue Router 4, check out our new documentation. If you are an existing Vue 2.x user, go directly to the Migration Guide.
Supporting Vue Router Development
If your company uses Vue Router, please consider supporting its development by supporting me 🙏 . It will mean a lot and really help me to keep working on improving the Vue Ecosystem.
If you were already using the release candidate version of vue router, you can find the list of improvements on the CHANGELOG.md.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.