-
Notifications
You must be signed in to change notification settings - Fork 122
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.4.5 #320
base: main
Are you sure you want to change the base?
Conversation
25c84a8
to
41f519c
Compare
41f519c
to
9006bec
Compare
9006bec
to
73b0364
Compare
73b0364
to
f2d6d66
Compare
f2d6d66
to
8cce9af
Compare
8cce9af
to
30cd623
Compare
30cd623
to
0febab8
Compare
0febab8
to
69c10ea
Compare
69c10ea
to
1644fc9
Compare
1644fc9
to
6946c95
Compare
6946c95
to
73a620f
Compare
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the WalkthroughThe primary change involves updating the Changes
Poem
TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
73a620f
to
967b50a
Compare
967b50a
to
193db54
Compare
6f581c7
to
377385e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- package.json (1 hunks)
Additional comments not posted (1)
package.json (1)
44-44
: Verify compatibility ofvue-router
version4.4.3
.The update from
4.0.5
to4.4.3
likely includes various enhancements and bug fixes. Ensure that the new version does not introduce breaking changes or incompatibilities with the existing codebase.
377385e
to
56a0851
Compare
56a0851
to
860a4cc
Compare
This PR contains the following updates:
4.0.5
->4.4.5
Release Notes
vuejs/router (vue-router)
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.
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 becomes conflicted, 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.