-
Notifications
You must be signed in to change notification settings - Fork 266
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 Vue to 3.5.13 #13085
base: master
Are you sure you want to change the base?
Bump Vue to 3.5.13 #13085
Conversation
creators/extension/pkg/vue-shim.ts
Outdated
declare module '*.vue' { | ||
import Vue from 'vue'; | ||
export default Vue; | ||
export {} |
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.
This empty export is in line with guidance from the Vue docs1 on the topic of augmenting vue types.
Footnotes
} | ||
|
||
declare module '@vue/runtime-core' { | ||
declare module 'vue' { |
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.
shell/config/router/routes.js
Outdated
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.
The duplicated/nested index
name was causing errors in vue-router:
Error: A route named "index" has been added as a child of a route with the same name. Route names must be unique and a nested route cannot use the same name as an ancestor.
I understand that the child with with the same name of index
is the default route, so removing this parent name should be safe.
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.
Oh I was wondering that part.
e30d8e2
to
ea0ae50
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.
I see some version downgraded, mismatching or not pinned, is that intended?
ea0ae50
to
48a33b7
Compare
Marking this as draft as I work through the remaining issues with this PR.
|
Regarding the failing e2e tests, these are the test results when running locally on my workstation:
|
34813bb
to
7423367
Compare
@cnotv @codyrancher @aalves08 I think that this vue bump is in a state that is ready for review. @aalves08 there is an issue related to |
So, I did a bit of investigation and turns out that neuvector is using their yarn.lock have several mentions on I tried to replicate this issue locally by yarn linking shell from this PR to neuvector (don't forget to run neuvector's version in branch from a "normal" shell (from dashboard's current All in all, I don't really understand where the problem really lies. I think that adding a resolution to neuvector might go a long way to fix this, but I've also noted another problem: neuvector's They do it a bit differently, where they create branches per version, meaning that branch I would just say to open an issue on their repo, talking about adding a resolution to their extension, but also mentioning that they need to keep For now I would just comment out the test for their extension (also create an issue with label |
Maybe they can do what we proposed for Rancher a time ago, to have another branch for bookkeeping as stable. |
Could we not just install |
Signed-off-by: Phillip Rak <[email protected]>
``` Error: A route named "index" has been added as a child of a route with the same name. Route names must be unique and a nested route cannot use the same name as an ancestor. ``` Signed-off-by: Phillip Rak <[email protected]>
This updates the augment from `@vue/runtime core` to `vue`. See: vuejs/router#2295 Signed-off-by: Phillip Rak <[email protected]>
Signed-off-by: Phillip Rak <[email protected]>
Signed-off-by: Phillip Rak <[email protected]>
The test failure associated with the test "should display subnets grouped by network in the virtual network dropdown" is legitimate and reproducible in master - it is just that the unit test was not detecting this error. I suspect that bumping Vue and related dependencies has patched a bug in test utils. Signed-off-by: Phillip Rak <[email protected]>
Neuvector builds currently fail with the error ``` ERROR Failed to compile with 1 error5:49:49 PM error in utils/common.ts:85:23 TS2694: Namespace 'dayjs' has no exported member 'ManipulateType'. 83 | base: string, 84 | interval: number, > 85 | intervalUnit: dayjs.ManipulateType, | ^^^^^^^^^^^^^^ 86 | pattern = "YYYYMMDDHHmmss" 87 | ) { 88 | // base format: "YYYYMMDDHHmmss" ``` It appears that neuvector might require some updates that are unrelated to bumping Vue to 3.5.x. We will disable this test until neuvector can be patched. Signed-off-by: Phillip Rak <[email protected]>
7423367
to
2bb17c8
Compare
@aalves08 I commented out the neuvector plugin test, and now capi fails with the following error
edit: see also |
This could be an option as well. I would prefer to keep this change as focused on Vue as possible, but I'm willing to bump other dependencies if we find that to be required. |
Summary
This bumps Vue and related project dependencies to versions that are compatible with 3.5.13.
Fixes #13084
Occurred changes and/or fixed issues
Areas or cases that should be tested
Checklist