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

chore(deps): bump vue to 3.2 #889

Merged
merged 1 commit into from Aug 29, 2021
Merged

Conversation

xanf
Copy link
Collaborator

@xanf xanf commented Aug 26, 2021

Pretty self-describing. Basically there were two reasons for blowing up:

@xanf xanf force-pushed the xanf-upgrade-to-vue-3-2 branch 2 times, most recently from 125011c to e58991b Compare August 26, 2021 20:53
@xanf
Copy link
Collaborator Author

xanf commented Aug 26, 2021

Ouch, it seems that @vue/compat is kinda broken (exposing itself as require('vue').default instead of require('vue')
Investigating

@lmiller1990
Copy link
Member

LMK if I can help out - something seems broken somewhere in Vue core, this should not be breaking us 🤔

@xanf
Copy link
Collaborator Author

xanf commented Aug 27, 2021

vuejs/core#4460 opened with fix and root cause analysis. Meanwhile, I've downgraded version only of vue-compat here to 3.2.4 which is a last good version at the moment

I believe this Vue bump fixes issues with #890 too :)

@xanf xanf force-pushed the xanf-upgrade-to-vue-3-2 branch 3 times, most recently from 75a2efa to 86fb3ef Compare August 27, 2021 16:25
@@ -322,7 +323,7 @@ describe('emitted', () => {
expect(wrapper.emitted('foo')).toHaveLength(1)
})

it.each([EmitsEventSFC, EmitsEventScriptSetup])(
it.each([EmitsEventSFC, EmitsEventScriptSetup] as DefineComponent[])(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason Volar (vue-tsc) fails to pick up correct overload for mount, so we've hinting it a bit :)

@lmiller1990 lmiller1990 merged commit 83991af into vuejs:master Aug 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants