chore(front): update vue monorepo to v3.3.11 (develop)
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@vue/compiler-sfc (source) | devDependencies | patch | 3.3.2 -> 3.3.11 |
@vue/runtime-core (source) | dependencies | patch | 3.3.2 -> 3.3.11 |
vue (source) | dependencies | patch | 3.3.2 -> 3.3.11 |
Release Notes
vuejs/core (@vue/compiler-sfc)
v3.3.11
Bug Fixes
- custom-element: correctly handle number type props in prod (#8989) (d74d364)
- reactivity: fix mutation on user proxy of reactive Array (6ecbd5c), closes #9742 #9751 #9750
- runtime-dom: fix width and height prop check condition (5b00286), closes #9762
- shared: handle Map with symbol keys in toDisplayString (#9731) (364821d), closes #9727
- shared: handle more Symbol cases in toDisplayString (983d45d)
- Suspense: properly get anchor when mount fallback vnode (#9770) (b700328), closes #9769
- types: ref() return type should not be any when initial value is any (#9768) (cdac121)
- watch: should not fire pre watcher on child component unmount (#7181) (6784f0b), closes #7030
v3.3.10
Bug Fixes
- app: prevent template from being cached between apps with different options (#9724) (ec71585), closes #9618
- compiler-sfc: avoid passing forEach index to genMap (f12db7f)
- compiler-sfc: deindent pug/jade templates (6345197), closes #3231 #3842 #7723
- compiler-sfc: fix :where and :is selector in scoped mode with multiple selectors (#9735) (c3e2c55), closes #9707
- compiler-sfc: generate more treeshaking friendly code (#9507) (8d74ca0), closes #9500
- compiler-sfc: support inferring generic types (#8511) (eb5e307), closes #8482
- compiler-sfc: support resolving components from props (#8785) (7cbcee3)
- compiler-sfc: throw error when failing to load TS during type resolution (#8883) (4936d2e)
- cssVars: cssVar names should be double-escaped when generating code for ssr (#8824) (5199a12), closes #7823
- deps: update compiler to ^7.23.4 (#9681) (31f6ebc)
- runtime-core: Suspense get anchor properly in Transition (#9309) (65f3fe2), closes #8105
- runtime-dom: set width/height with units as attribute (#8781) (bfc1838)
- ssr: avoid computed being accidentally cached before server render (#9688) (30d5d93), closes #5300
- types: expose emits as props in functional components (#9234) (887e54c)
- types: fix reactive collection types (#8960) (ad27473), closes #8904
- types: improve return type withKeys and withModifiers (#9734) (43c3cfd)
Performance Improvements
- optimize on* prop check (38aaa8c)
- runtime-dom: cache modifier wrapper functions (da4a4fb), closes #8882
- v-on: constant handlers with modifiers should not be treated as dynamic (4d94ebf)
v3.3.9
Bug Fixes
- compiler-core: avoid rewriting scope variables in inline for loops (#7245) (a2d810e), closes #7238
-
compiler-core: fix
resolveParserPlugins
decorators check (#9566) (9d0eba9), closes #9560 - compiler-sfc: consistently escape type-only prop names (#8654) (3e08d24), closes #8635 #8910 vitejs/vite-plugin-vue#184
- compiler-sfc: malformed filename on windows using path.posix.join() (#9478) (f18a174), closes #8671 #9583 #9446 #9473
-
compiler-sfc: support
:is
and:where
selector in scoped css rewrite (#8929) (3227e50) - compiler-sfc: support resolve extends interface for defineEmits (#8470) (9e1b74b), closes #8465
- hmr/transition: fix kept-alive component inside transition disappearing after hmr (#7126) (d11e978), closes #7121
- hydration: force hydration for v-bind with .prop modifier (364f319), closes #7490
- hydration: properly hydrate indeterminate prop (34b5a5d), closes #7476
- reactivity: clear method on readonly collections should return undefined (#7316) (657476d)
- reactivity: onCleanup also needs to be cleaned (#8655) (73fd810), closes #5151 #7695
-
ssr: hydration
__vnode
missing for devtools (#9328) (5156ac5) -
types: allow falsy value types in
StyleValue
(#7954) (17aa92b), closes #7955 - types: defineCustomElement using defineComponent return type with emits (#7937) (5d932a8), closes #7782
-
types: fix
unref
andtoValue
when input union type contains ComputedRef (#8748) (176d476), closes #8747 #8857 - types: fix instance type when props type is incompatible with setup returned type (#7338) (0e1e8f9), closes #5885
- types: fix shallowRef return type with union value type (#7853) (7c44800), closes #7852
- types: more precise types for class bindings (#8012) (46e3374)
- types: remove optional properties from defineProps return type (#6421) (94c049d), closes #6420
- types: return type of withDefaults should be readonly (#8601) (f15debc)
- types: revert class type restrictions (5d077c8), closes #8012
- types: update jsx type definitions (#8607) (58e2a94)
- types: widen ClassValue type (2424013)
- v-model: avoid overwriting number input with same value (#7004) (40f4b77), closes #7003
- v-model: unnecessary value binding error should apply to dynamic instead of static binding (2859b65), closes #3596
v3.3.8
Bug Fixes
-
compile-sfc: support
Error
type indefineProps
(#5955) (a989345) - compiler-core: known global should be shadowed by local variables in expression rewrite (#9492) (a75d1c5), closes #9482
- compiler-sfc: fix dynamic directive arguments usage check for slots (#9495) (b39fa1f), closes #9493
- deps: update dependency @vue/repl to ^2.6.2 (#9536) (5cef325)
- deps: update dependency @vue/repl to ^2.6.3 (#9540) (176d590)
- hydration: fix tagName access error on comment/text node hydration mismatch (dd8a0cf), closes #9531
- types: avoid exposing lru-cache types in generated dts (462aeb3), closes #9521
- warn: avoid warning on empty children with Suspense (#3962) (405f345)
v3.3.7
Bug Fixes
- compiler-sfc: avoid gen useCssVars when targeting SSR (#6979) (c568778), closes #6926
- compiler-ssr: proper scope analysis for ssr vnode slot fallback (#7184) (e09c26b), closes #7095
- correctly resolve types from relative paths on Windows (#9446) (089d36d), closes #8671
- hmr: fix hmr error for hoisted children array in v-for (7334376), closes #6978 #7114
- reactivity: assigning array.length while observing a symbol property (#7568) (e9e2778)
- scheduler: ensure jobs are in the correct order (#7748) (a8f6638), closes #7576
- ssr: fix hydration mismatch for disabled teleport at component root (#9399) (d8990fc), closes #6152
- Suspense: calling hooks before the transition finishes (#9388) (00de3e6), closes #5844 #5952
- transition/ssr: make transition appear work with SSR (#8859) (5ea8a8a), closes #6951
- types: fix ComponentCustomProps augmentation (#9468) (7374e93), closes #8376
-
types: improve
h
overload to support union of string and component (#5432) (16ecb44), closes #5431
v3.3.6
Bug Fixes
- compiler-sfc: model name conflict (#8798) (df81da8)
- compiler-sfc: support asset paths containing spaces (#8752) (36c99a9)
- compiler-ssr: fix missing scopeId on server-rendered TransitionGroup (#7557) (61c1357), closes #7554
- compiler-ssr: fix ssr compile error for select with non-option children (#9442) (cdb2e72), closes #9440
- runtime-core: delete stale slots which are present but undefined (#6484) (75b8722), closes #9109
- runtime-core: fix error when using cssvars with disabled teleport (#7341) (8f0472c), closes #7342
- teleport: ensure descendent component would be unmounted correctly (#6529) (4162311), closes #6347
- types: support contenteditable="plaintext-only" (#8796) (26ca89e)
Performance Improvements
v3.3.5
Bug Fixes
- add isGloballyWhitelisted back, but deprecated (#8556) (63dfe8e), closes #8416
- build: disable useDefineForClassFields in esbuild (#9252) (6d14fa8)
- compat: return value of vue compat set() (#9377) (e3c2d69)
- compiler-sfc: don't hoist props and emit (#8535) (24db951), closes #7805 #7812
- compiler-sfc: don't registerTS when bundling for browsers (#8582) (6f45f76)
- compiler-sfc: fix using imported ref as template ref during dev (#7593) (776ebf2), closes #7567
- compiler-sfc: handle dynamic directive arguments in template usage check (#8538) (e404a69), closes #8537
- compiler-sfc: ignore style v-bind in double slash comments (#5409) (381b497)
- compiler-sfc: pass options directly to stylus (#3848) (d6446a6)
- compiler-sfc: support resolve multiple re-export /w same source type name (#8365) (4fa8da8), closes #8364
- compiler-sfc: typo in experimental feature warnings (#8513) (fd1a3f9)
- deps: update dependency monaco-editor to ^0.44.0 (#9237) (8611874)
- deps: update playground (#9154) (c8566a2)
- playground: fix github button style (#7722) (5ee992c)
- runtime-core: swap client/server debug labels (#9089) (8f311c6)
- ssr: render correct initial selected state for select with v-model (#7432) (201c46d), closes #7392
- ssr: reset current instance if setting up options component errors (#7743) (020851e), closes #7733
- teleport: handle target change while disabled (#7837) (140a89b), closes #7835
- transition: handle possible auto value for transition/animation durations (96c76fa), closes #8409
-
types/jsx: add
inert
attribute and missinghidden
values (#8090) (ceb0732) - types/jsx: add missing loading attr for img element (#6160) (68d6b43)
- types: correct withDefaults return type for boolean prop with undefined default value (#8602) (f07cb18)
- types: ensure nextTick return type reflect correct Promise value (#8406) (6a22b1f)
- types: support correct types for style on svg elements (#6322) (364dc53)
Performance Improvements
- compiler-sfc: lazy require typescript (d2c3d8b)
-
custom-element: cancel
MutationObserver
listener when disconnected (#8666) (24d98f0) - mark
defineComponent
as side-effects-free (#8512) (438027c)
v3.3.4
Bug Fixes
- build: ensure correct typing for node esm (d621d4c)
- build: fix DEV flag replacement edge case (8b7c04b), closes #8353
- compiler-sfc: handle imported types from default exports (5aec717), closes #8355
v3.3.3
Bug Fixes
- avoid regex s flag for old browsers (91f1c62), closes #8316
- build: fix dev flag replacement in esm-builder builds (#8314) (003836f), closes #8312
- compiler-sfc: don't hoist regexp literial (#8300) (8ec73a3)
- compiler-sfc: fix props destructing default value type checking with unresolved type (#8340) (f69dbab), closes #8326
- compiler-sfc: fix type import from path aliased vue file (fab9c72), closes #8348
- compiler-sfc: handle ts files with relative imports with .js extension (b36addd), closes #8339
- compiler-sfc: parses correctly when inline mode is off (#8337) (ecbd42a), closes #6088
- compiler-sfc: support defineEmits type reference with unions (#8299) (b133e0f), closes #7943
- types: support generic usage with withDefaults + defineProps (#8335) (216f269), closes #8310 #8331 #8325
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.