Repository navigation
chore(deps): update vue-i18n to 12.0.0-alpha.6 and Vue to 3.6.0-rc.12 - #656
Conversation
Move the lockfile from vue-i18n and the @intlify packages 12.0.0-alpha.3 to the current `next`, 12.0.0-alpha.6. The catalog and the dependencies still ask for `next`. With alpha.3 in the lockfile, CI tested an older vue-i18n than the one users install, and any lockfile update, such as the Renovate PRs, failed the tests. - vue-i18n 12.0.0-alpha.6 requires Vue 3.6, so the `vue` catalog moves from ~3.5.34 to ~3.6.0-rc.12. - `overrides` set the @intlify packages, vue-i18n and petite-vue-i18n to `next`, as v11 does with its ranges. Without them, the vue-i18n and petite-vue-i18n installed for the peers of unplugin-vue-i18n stay on alpha.3. - `minimumReleaseAgeExclude` lists the alpha.6 packages: pnpm 11 rejects a lockfile entry for a day after it is published, also on a frozen install. The entries can go after 2026-10-18 15:31 UTC. - Update the test expectations. Since 12.0.0-alpha.4, escapeHtml also escapes `&`, `/` and `=`, and the message compiler reads `\\` as one backslash, as v11 does.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
commit: |
Summary
Move the lockfile from vue-i18n and the
@intlifypackages 12.0.0-alpha.3 to 12.0.0-alpha.6, the currentnext, and Vue from 3.5.34 to 3.6.0-rc.12. The catalog and the dependencies still ask fornext. With alpha.3 in the lockfile, CI tested an older vue-i18n than the one users install, and any lockfile update (the Renovate PRs, for example) failed the tests.Behavior changes
@intlify/unplugin-vue-i18nnow depends onvue~3.6.0-rc.12instead of~3.5.34(itsvuedependency comes from thevuecatalog). vue-i18n 12.0.0-alpha.6 requires Vue 3.6 (fix!: require Vue 3.6 or later vue-i18n#2691).nextspecifiers of the published packages do not change.Notes
pnpm-workspace.yaml:vuecatalog:~3.5.34→~3.6.0-rc.12.overridesset@intlify/shared,@intlify/message-compiler,@intlify/core-base,@intlify/vue-i18n-core,vue-i18nandpetite-vue-i18ntonext, as v11 does with its~11.4.xranges. Without them, thevue-i18nandpetite-vue-i18nthat pnpm installs for the peers of@intlify/unplugin-vue-i18nstay on alpha.3, which is in their^12.0.0-alpha.2range.minimumReleaseAgeExcludelists the seven alpha.6 packages. pnpm 11 rejects a lockfile entry until a day after it is published (ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION), also onpnpm install --frozen-lockfile, so CI and the release workflow would fail until then. The entries name these versions only, and can be removed after 2026-10-18 15:31 UTC.escape messagein unplugin-vue-i18n. Both changes come from 12.0.0-alpha.4:escapeHtmlof@intlify/sharedalso escapes&,/and=(</p>→</p>).\\as one backslash, as v11 does. Thebackslash-backslashsnapshots now match the ones on v11.Test plan
pnpm install --frozen-lockfilewith the default pnpm 11 settingspnpm build,pnpm test:typecheckpnpm lint(0 errors, 124 warnings, the same as before)pnpm test:unit:utils(147 passed, 3 skipped)pnpm test:unit:unplugin:vite:vite8(83 passed, 3 skipped),vite6(82 passed, 4 skipped),webpackandrspack(57 passed, 29 skipped each), also withCI=truepnpm test:e2e:unplugin(6 passed),pnpm test:e2e(3 passed)pnpm build:example:vite,pnpm build:example:webpack,pnpm build:example:rspackSummary by CodeRabbit