-
-
Notifications
You must be signed in to change notification settings - Fork 377
fix: vue-i18n type definition for vue package #1888
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
Conversation
Deploying vue-i18n-next with
|
Latest commit: |
d38633f
|
Status: | ✅ Deploy successful! |
Preview URL: | https://48929470.vue-i18n-next.pages.dev |
Branch Preview URL: | https://fix-vue-type-definition-exte.vue-i18n-next.pages.dev |
I think we will need a patch release for v9 to also change the type augmentations to use Due to Vue Router changing its augmentation, Nuxt is doing so too, mixed augmentation will break projects with v9. |
@kazupon |
@BobbieGoede You can open the PR on it! |
* fix: vue-i18n type definition for vue package (#1888) * fix: vue-i18n-bridge type definition for vue package --------- Co-authored-by: kazuya kawaguchi <kawakazu80@gmail.com>
problem persists with v10.0.0 and vue 3.5 |
@hinogi |
I guess I am unable to do that. But I use Quasar and vite and I get |
Why was this changed? This breaks the legacy API, at least in some cases, see #1403 The MR / commit is missing an explanation for this change, which makes it difficult to find out what/if users of this package need to change something, or if it's a bug. |
Ok, so this happens when other packages augment Still, this change/info is missing from the changelogs, as far as I can see: https://github.com/intlify/vue-i18n/blob/v9/CHANGELOG.md and https://github.com/intlify/vue-i18n/blob/c580c3a5baa6cc3e60e962ff8f6e95ad2372b135/CHANGELOG.md |
@Narretz At some point packages were moving to the correct augmentation, augmenting |
@BobbieGoede thanks for the clarification, but I still think it should be mentioned in the changelogs, just not as a not a breaking change. It still affects users and looks like a bug/breaking change. In the linked thread users report problems as little as 3 weeks ago, so this issue has not been documented well. |
No description provided.