cylc-ui icon indicating copy to clipboard operation
cylc-ui copied to clipboard

fix(deps): update dependency vue to v3.5.4

Open renovate[bot] opened this issue 1 year ago • 3 comments

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vue (source) 3.4.11 -> 3.5.4 age adoption passing confidence

Release Notes

vuejs/core (vue)

v3.5.4

Compare Source

Bug Fixes
Performance Improvements
  • reactivity: trigger deps directly instead of storing in an array first (#​11695) (f80d447)

v3.5.3

Compare Source

Bug Fixes
  • hydration: check __asyncHydrate presence for vue3-lazy-hydration compat (#​11825) (8e6c337), closes #​11793
  • Revert "fix(reactivity): self-referencing computed should refresh" (35c760f)
  • ssr: respect app.config.warnHandler during ssr (bf3d9a2), closes #​11830
  • Transition: handle KeepAlive child unmount in Transition out-in mode (#​11833) (6b7901d), closes #​11775
  • useId: make generated IDs selector compatible (babfb4c), closes #​11828

v3.5.2

Compare Source

Bug Fixes
Features
  • compiler-core: parse modifiers as expression to provide location data (#​11819) (3f13203)

v3.5.1

Compare Source

Bug Fixes

v3.5.0

Compare Source

Aggregated Features List for 3.5 (alpha to stable)

Reactivity
  • reactivity: Refactor reactivity system to use version counting and doubly-linked list tracking (#​10397) (05eb4e0)
  • reactivity: Optimize array tracking (#​9511) (70196a4)
  • compiler-sfc: enable reactive props destructure by default (d2dac0e)
  • reactivity: onEffectCleanup API (2cc5615), closes #​10173
  • reactivity: add failSilently argument for onScopeDispose (9a936aa)
  • reactivity/watch: base watch, getCurrentWatcher, and onWatcherCleanup (#​9927) (205e5b5)
  • reactivity/watch: add pause/resume for ReactiveEffect, EffectScope, and WatchHandle (#​9651) (267093c)
  • watch: support passing number to deep option to control the watch depth (#​9572) (22f7d96)
  • types: export MultiWatchSources type (#​9563) (998dca5)
  • types: allow computed getter and setter types to be unrelated (#​11472) (a01675e), closes #​7271
SSR
  • runtime-core: useId() and app.config.idPrefix (#​11404) (73ef156)
  • hydration: lazy hydration strategies for async components (#​11458) (d14a11c)
  • hydration: support suppressing hydration mismatch via data-allow-mismatch (94fb2b8)
Custom Element
Teleport
Misc
Internals
  • reactivity: store value cache on CustomRefs impls (#​11539) (e044b6e)
  • types: provide internal options for directly using user types in language tools (#​10801) (75c8cf6)
  • types: provide internal options for using refs type in language tools (#​11492) (5ffd1a8)

Bug Fixes

v3.4.38

Compare Source

For stable releases, please refer to CHANGELOG.md for details. For pre-releases, please refer to CHANGELOG.md of the minor branch.

v3.4.37

Compare Source

Bug Fixes

v3.4.36

Compare Source

v3.4.35

Compare Source

Bug Fixes
  • teleport/ssr: fix Teleport hydration regression due to targetStart anchor addition (7b18cdb)
  • teleport/ssr: ensure targetAnchor and targetStart not null during hydration (#​11456) (12667da), closes #​11400
  • types/ref: allow getter and setter types to be unrelated (#​11442) (e0b2975)
Performance Improvements

v3.4.34

Compare Source

Bug Fixes

v3.4.33

Compare Source

Bug Fixes

v3.4.32

Compare Source

Bug Fixes
Performance Improvements
  • server-renderer: avoid unnecessary checks in createBuffer (#​11364) (fc205bf)
  • server-renderer: optimize unrollBuffer by avoiding promises (#​11340) (05779a7)

v3.4.31

Compare Source

Bug Fixes
Reverts
  • Revert "fix(reactivity): avoid infinite loop when render access a side effect computed (#​11135)" (e0df985)
  • Revert "fix(reactivity): fix side effect computed dirty level (#​11183)" (6c303ea), closes #​11183

v3.4.30

Compare Source

Bug Fixes
Performance Improvements

v3.4.29

Compare Source

Bug Fixes
  • build: fix accidental inclusion of runtime-core in server-renderer cjs build (11cc12b), closes #​11137
  • compiler-sfc: fix missing scope for extends error message (4ec387b)
  • compiler-sfc: fix parsing of mts, d.mts, and mtsx files (a476692)
  • compiler-sfc: support @​vue-ignore comment on more type sources (a23e99b)
  • custom-element: support same direct setup function signature in defineCustomElement (7c8b126), closes #​11116
  • reactivity: avoid infinite loop when render access a side effect computed (#​11135) (8296e19), closes #​11121

v3.4.28

Compare Source

Bug Fixes

v3.4.27

Compare Source

Bug Fixes

v3.4.26

Compare Source

Bug Fixes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] avatar Jan 13 '24 03:01 renovate[bot]

For some reason we are getting a recursion error in the tree view with this version

Tree view -- Expandcollapse all buttons -- Collapses and expands as expected (failed)

Maximum call stack size exceeded

(Chrome)

too much recursion

(Firefox)

I've searched for both on the Vue issues but not found anything recent

MetRonnie avatar Jan 23 '24 15:01 MetRonnie

Seeing as no-one else is screaming about this, I suspect we have a genuine recursion problem here ☹

MetRonnie avatar Feb 15 '24 14:02 MetRonnie

For some reason we are getting a recursion error in the tree view with this version

Seeing as no-one else is screaming about this, I suspect we have a genuine recursion problem here ☹

... Or not anymore, with Vue 3.5.4? 🤞

Maybe fixed by vuejs/core#11135?

Will test locally.


However we do now have a call to the requestIdleCallback API in our build, which is not supported by Safari at all (as of 18.0)

/home/runner/work/cylc-ui/cylc-ui/dist/assets/index-Ct6ZOA0K.js
  14:15600  error  requestIdleCallback is not supported in Safari 15.6  compat/compat

In the output of yarn build --minify false --mode production:

const hydrateOnIdle = (timeout = 1e4) => (hydrate2) => {
  const id = requestIdleCallback(hydrate2, { timeout });
  return () => cancelIdleCallback(id);
};

This function is only imported in the vue3-apexcharts chunk, for some reason.

MetRonnie avatar Sep 12 '24 14:09 MetRonnie

Updating to the latest vue3-apexcharts fixes this, but breaks the analysis view plots 😩 (see https://github.com/cylc/cylc-ui/pull/1499).

I think the hydrateOnIdle function is not actually used, it's just not being tree-shaken properly in vue3-apexcharts v1.4.1 (see https://github.com/apexcharts/vue3-apexcharts/pull/92)

Other than that, I've tested the tree view expand/collapse and don't get the recursion error :+1:

TLDR blocked by #1499

MetRonnie avatar Oct 09 '24 11:10 MetRonnie