Page MenuHomePhabricator

Update MediaWiki and Codex to Vue 3.5
Open, Needs TriagePublic1 Estimated Story Points

Description

Vue 3.5 has been released in September 2024. Citing a significant performance improvement from the official blog post: https://blog.vuejs.org/posts/vue-3-5

In 3.5, Vue's reactivity system has undergone another major refactor that achieves better performance and significantly improved memory usage (-56%) with no behavior changes.

Follow-up to T364789.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
CCiufo-WMF subscribed.

Thanks @simon04. We're not in a rush to update but we will try to slot this in to an upcoming sprint.

CCiufo-WMF raised the priority of this task from Low to High.Nov 18 2024, 9:34 PM
CCiufo-WMF raised the priority of this task from High to Needs Triage.
CCiufo-WMF moved this task from Needs Refinement to Housekeeping on the Design-System-Team board.

I tried upgrading Codex to Vue 3.5, but unfortunately there is a bug in Vue 3.5 (or maybe in vue-tsc) that breaks TypeScript checks for components that use expose. We can't upgrade until that bug is resolved or unless we decide to (temporarily?) not use expose. (To be fair, it provides a bit of a false sense of security currently, because Option API components expose everything by default; so our components with no public API currently expose more things than the ones with a defined public API.)

Change #1105801 had a related patch set uploaded (by Catrope; author: Catrope):

[design/codex@main] Update Vue to 3.5

https://gerrit.wikimedia.org/r/1105801

I've attached a patch moving Codex to Vue 3.5, but I still need to submit a patch updating the Vue version in MediaWiki.

Change #1105923 had a related patch set uploaded (by Catrope; author: Catrope):

[mediawiki/core@master] Update Vue to 3.5.13

https://gerrit.wikimedia.org/r/1105923

  NODES
Note 1
Project 3