Commit Graph

1995 Commits

Author SHA1 Message Date
Evan You 048dffd7ee release: v3.4.0-beta.4 2023-12-19 18:23:57 +08:00
Evan You e8448b018d fix(ssr): fix hydration prop mismatch check for class on SVG elements 2023-12-19 18:09:42 +08:00
AlanYu 1d79b64ebc
feat(runtime-core): throw real error when scheduler detects infinite loop during dev (#7447)
close #7437
2023-12-19 16:59:47 +08:00
Evan You 317b783a53 release: v3.4.0-beta.3 2023-12-16 14:41:29 +08:00
Evan You 9f64d2b681 chore: Merge branch 'main' into minor 2023-12-16 14:37:21 +08:00
Evan You 4e7967f016 release: v3.3.12 2023-12-16 14:23:40 +08:00
edison eb12f211b8
fix(defineModel): ensure trigger effect when prop changed (#9841)
close #9838
2023-12-16 12:15:30 +08:00
edison e70f4c47c5
fix(hydration): handle appear transition before patch props (#9837)
close #9832
2023-12-16 11:55:40 +08:00
Cédric Exbrayat 4070502bd0
test(runtime-core): uncomment assertion in hydration test (#9843) 2023-12-15 23:07:45 +08:00
Evan You f0f6f7cea6 fix(Suspense): fix edge case of Suspense being patched during async HOC child remount 2023-12-15 11:39:50 +08:00
Evan You c51ab4c765 release: v3.4.0-beta.2 2023-12-14 10:28:34 +08:00
Evan You e00b160435 release: v3.4.0-beta.1 2023-12-13 18:52:16 +08:00
Evan You 69a2acc6ea fix(runtime-core): properly pop warning context when mounting components with async setup 2023-12-13 17:57:57 +08:00
Evan You 0db336ff6c fix(Suspense): properly fix #6416
previous fix caused regressions in nuxt
2023-12-13 17:56:58 +08:00
Evan You 33159a5916 fix(hydration): should not warn mismatch for nullish prop 2023-12-13 02:41:49 +08:00
Evan You aa0c13f637 fix(Suspense): handle switching away from kept-alive component before resolve
close #6416
using test from #6467
2023-12-12 23:50:28 +08:00
Evan You 96aeb24d66 chore: remove unnecessary statements 2023-12-12 23:47:38 +08:00
mmis1000 bb0c8899ca
fix(runtime-core): fix suspense crash when patching non-resolved async setup component (#7290)
close #5993
close #6463
close #6949
close #6095
close #8121
2023-12-12 21:55:15 +08:00
Evan You e04d821422 fix(ssr): make isInSSRComponentSetup state sharable across copies of Vue
This also fixes the issue when rendering async components in
the SFC playground with SSR enabled.
2023-12-12 21:37:52 +08:00
Evan You f41fd86d5f fix(hydration): swap client/server labels for hydration mismatch warnings
this was swapped in #9098 but lost when merging #5953
2023-12-12 20:05:49 +08:00
三咲智子 Kevin Deng ef688ba92b
feat(compiler-sfc): promote defineModel stable (#9598) 2023-12-12 17:28:40 +08:00
Evan You 74387929cd chore: update defineModel comment docs [ci skip] 2023-12-12 17:04:16 +08:00
Evan You f74785bc4a feat(defineModel): support local mutation by default, remove local option
ref https://github.com/vuejs/rfcs/discussions/503#discussioncomment-7566278
2023-12-12 16:47:34 +08:00
Evan You 7e60d1058f perf: use sync watcher for defineModel local mode
ref https://github.com/vuejs/rfcs/discussions/503#discussioncomment-7566278
2023-12-12 13:49:23 +08:00
丶远方 a625376ac8
feat(types): improve event type inference when using `h` with native elements (#9756) 2023-12-11 22:10:01 +08:00
Carles Mitjans a41409ed02
feat(types): support passing generics when registering global directives (#9660) 2023-12-11 22:07:24 +08:00
三咲智子 Kevin Deng fa4969e7a3
feat(types): export ObjectPlugin and FunctionPlugin types (#8946)
close #8577
2023-12-11 22:04:56 +08:00
Evan You 982a145d38 chore: Merge branch 'main' into minor 2023-12-11 22:03:28 +08:00
丶远方 a6503e3e77
refactor(types): simplify `EmitsToProps` types (#9788) 2023-12-11 20:01:36 +08:00
三咲智子 Kevin Deng 096ba81817
feat(types): expose `DefineProps` type 2023-12-09 00:34:28 +08:00
edison 60415b5d67
fix(ssr): fix suspense hydration of fallback content (#7188) 2023-12-08 23:06:34 +08:00
Carlos Rodrigues 213eba479c
fix(types): support for generic keyof slots (#8374) 2023-12-08 22:54:57 +08:00
Evan You c95ab62936 chore: fix types 2023-12-08 22:34:47 +08:00
三咲智子 Kevin Deng 927ab17cfc
feat(types): add emits and slots type to `FunctionalComponent` (#8644) 2023-12-08 22:24:58 +08:00
Carlos Rodrigues bfb856565d
feat(types): provide ComponentInstance type (#5408) 2023-12-08 22:24:38 +08:00
Carlos Rodrigues 44135dc95f
feat(types): expose `PublicProps` type (#2403) 2023-12-08 22:17:46 +08:00
三咲智子 Kevin Deng b1fe48d851
ci: add continuous reactivity benchmark (#9638) 2023-12-08 21:26:48 +08:00
Fabian Gündel d42b6ba3f5
feat: MathML support (#7836)
close #7820
2023-12-08 18:25:01 +08:00
Divyansh Singh bc7698dbfe
feat(ssr): add `__VUE_PROD_HYDRATION_MISMATCH_DETAILS__` feature flag (#9550) 2023-12-08 16:41:15 +08:00
Evan You 2ffc1e8cfd
feat(ssr): improve ssr hydration mismatch checks (#5953)
- Include the actual element in the warning message
- Also warn class/style/attribute mismatches

Note: class/style/attribute mismatches are check-only and will not be
rectified.

close #5063
2023-12-08 15:49:09 +08:00
Evan You 19b590fa3a release: v3.3.11 2023-12-08 14:13:52 +08:00
edison b700328342
fix(Suspense): properly get anchor when mount fallback vnode (#9770)
close #9769
2023-12-08 12:29:15 +08:00
Rudy 6784f0b1f8
fix(watch): should not fire pre watcher on child component unmount (#7181)
close #7030
2023-12-08 12:24:44 +08:00
Evan You b4ac0e6ac1 chore(dx): fix defineProps jsdoc + update defineEmits jsdoc example 2023-12-07 14:30:32 +08:00
nandi95 8e27692029
feat(runtime-core): provide full props to props validator functions (#3258) 2023-12-05 17:14:17 +08:00
Evan You a817883c26 chore: Merge branch 'main' into minor 2023-12-05 10:54:20 +08:00
Evan You e2f2b75b62 chore(deps): bump vitest to 1.0 2023-12-05 10:48:04 +08:00
Evan You c0d396b785 release: v3.4.0-alpha.4 2023-12-04 23:24:43 +08:00
Evan You e12b10ac3e chore: Merge branch 'main' into minor 2023-12-04 23:17:41 +08:00
Evan You d5a88ef9d7 release: v3.3.10 2023-12-04 21:42:18 +08:00