]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
18 months agoci: verify common treeshaking issues in CI
Evan You [Tue, 26 Dec 2023 07:34:40 +0000 (15:34 +0800)] 
ci: verify common treeshaking issues in CI

18 months agorefactor: adjust warn method treeshaking
Evan You [Tue, 26 Dec 2023 07:26:29 +0000 (15:26 +0800)] 
refactor: adjust warn method treeshaking

18 months agofeat(compiler-sfc): export aggregated error messages for compiler-core and compiler-dom
Evan You [Tue, 26 Dec 2023 07:06:56 +0000 (15:06 +0800)] 
feat(compiler-sfc): export aggregated error messages for compiler-core and compiler-dom

18 months agochore: use consistent file names for scripts
Evan You [Tue, 26 Dec 2023 06:59:34 +0000 (14:59 +0800)] 
chore: use consistent file names for scripts

18 months agobuild: avoid exporting setDevTools in global prod build
Evan You [Tue, 26 Dec 2023 03:03:45 +0000 (11:03 +0800)] 
build: avoid exporting setDevTools in global prod build

18 months agofix(warning): ensure prod hydration warnings actually work
Evan You [Tue, 26 Dec 2023 02:52:45 +0000 (10:52 +0800)] 
fix(warning): ensure prod hydration warnings actually work

18 months agorelease: v3.4.0-rc.1 v3.4.0-rc.1
Evan You [Mon, 25 Dec 2023 08:42:12 +0000 (16:42 +0800)] 
release: v3.4.0-rc.1

18 months agochore: Merge branch 'main' into minor
Evan You [Sun, 24 Dec 2023 14:50:06 +0000 (22:50 +0800)] 
chore: Merge branch 'main' into minor

18 months agofix(compiler-sfc): fix type resolution for shared type w/ different generic parameters
Evan You [Fri, 22 Dec 2023 16:43:22 +0000 (00:43 +0800)] 
fix(compiler-sfc): fix type resolution for shared type w/ different generic parameters

close #9871

18 months agofix(compiler-core): fix parsing `<script setup>` generics with >
Evan You [Fri, 22 Dec 2023 14:49:03 +0000 (22:49 +0800)] 
fix(compiler-core): fix parsing `<script setup>` generics with >

close #9890

18 months agochore(test): replace deprecated `SpyInstance` import with the latest `MockInstance...
丶远方 [Fri, 22 Dec 2023 13:55:43 +0000 (21:55 +0800)] 
chore(test): replace deprecated `SpyInstance` import with the latest `MockInstance` (#9889)

18 months agochore: fix mismatching tag in hydration test (#9888)
agoni1212 [Fri, 22 Dec 2023 13:55:11 +0000 (21:55 +0800)] 
chore: fix mismatching tag in hydration test (#9888)

18 months agochore(deps): update lint (#9860)
renovate[bot] [Fri, 22 Dec 2023 13:51:56 +0000 (21:51 +0800)] 
chore(deps): update lint (#9860)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
18 months agochore: correct `@antfu/ni` package name in contributing guide (#9892) [ci skip]
Dan Rose [Fri, 22 Dec 2023 13:51:32 +0000 (07:51 -0600)] 
chore: correct `@antfu/ni` package name in contributing guide (#9892) [ci skip]

18 months agochore(deps): update test (#9859)
renovate[bot] [Wed, 20 Dec 2023 02:52:16 +0000 (10:52 +0800)] 
chore(deps): update test (#9859)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
18 months agofix(ssr): avoid hydration mismatch warning for classes with different order
Evan You [Wed, 20 Dec 2023 02:48:01 +0000 (10:48 +0800)] 
fix(ssr): avoid hydration mismatch warning for classes with different order

18 months agochore(deps): update compiler to ^7.23.6 (#9858)
renovate[bot] [Wed, 20 Dec 2023 02:38:35 +0000 (10:38 +0800)] 
chore(deps): update compiler to ^7.23.6 (#9858)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
18 months agochore(deps): update all non-major dependencies (#9857)
renovate[bot] [Wed, 20 Dec 2023 02:38:20 +0000 (10:38 +0800)] 
chore(deps): update all non-major dependencies (#9857)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
18 months agorelease: v3.4.0-beta.4 v3.4.0-beta.4
Evan You [Tue, 19 Dec 2023 10:23:57 +0000 (18:23 +0800)] 
release: v3.4.0-beta.4

18 months agochore: remove merge leftover
Evan You [Tue, 19 Dec 2023 10:19:26 +0000 (18:19 +0800)] 
chore: remove merge leftover

18 months agochore: Merge branch 'main' into minor
Evan You [Tue, 19 Dec 2023 10:16:16 +0000 (18:16 +0800)] 
chore: Merge branch 'main' into minor

18 months agorelease: v3.3.13 v3.3.13
Evan You [Tue, 19 Dec 2023 10:12:48 +0000 (18:12 +0800)] 
release: v3.3.13

18 months agofix(ssr): fix hydration prop mismatch check for class on SVG elements
Evan You [Tue, 19 Dec 2023 10:09:42 +0000 (18:09 +0800)] 
fix(ssr): fix hydration prop mismatch check for class on SVG elements

18 months agochore: reuse descriptor ast in compileScript inlineTemplate mode by default
Evan You [Tue, 19 Dec 2023 10:02:28 +0000 (18:02 +0800)] 
chore: reuse descriptor ast in compileScript inlineTemplate mode by default

18 months agofix(compile-sfc): fix identifier prefixing edge case caused by reused AST (#9867)
edison [Tue, 19 Dec 2023 10:04:36 +0000 (18:04 +0800)] 
fix(compile-sfc): fix identifier prefixing edge case caused by reused AST (#9867)

close #9853
close #9863

18 months agofix(compiler-core): fix v-on with modifiers on inline expression of undefined (#9866)
白雾三语 [Tue, 19 Dec 2023 09:08:46 +0000 (17:08 +0800)] 
fix(compiler-core): fix v-on with modifiers on inline expression of undefined (#9866)

close #9865
improve isMemberExpression check for undefined

18 months agofix(types): extract properties from extended collections (#9854)
Eduardo San Martin Morote [Tue, 19 Dec 2023 09:05:29 +0000 (10:05 +0100)] 
fix(types): extract properties from extended collections (#9854)

close #9852

18 months agofeat(runtime-core): throw real error when scheduler detects infinite loop during...
AlanYu [Tue, 19 Dec 2023 08:59:47 +0000 (16:59 +0800)] 
feat(runtime-core): throw real error when scheduler detects infinite loop during dev (#7447)

close #7437

18 months agofix(runtime-dom): cache event handlers by key/modifiers (#9851)
Thorsten Lünborg [Sat, 16 Dec 2023 13:54:37 +0000 (14:54 +0100)] 
fix(runtime-dom): cache event handlers by key/modifiers (#9851)

close #9849

18 months agorelease: v3.4.0-beta.3 v3.4.0-beta.3
Evan You [Sat, 16 Dec 2023 06:41:29 +0000 (14:41 +0800)] 
release: v3.4.0-beta.3

18 months agochore: Merge branch 'main' into minor
Evan You [Sat, 16 Dec 2023 06:34:26 +0000 (14:34 +0800)] 
chore: Merge branch 'main' into minor

18 months agorelease: v3.3.12 v3.3.12
Evan You [Sat, 16 Dec 2023 06:23:40 +0000 (14:23 +0800)] 
release: v3.3.12

18 months agotest(types): add test for ref/shallowRef generic casting
Evan You [Sat, 16 Dec 2023 05:46:11 +0000 (13:46 +0800)] 
test(types): add test for ref/shallowRef generic casting

18 months agofix(types): fix `shallowRef` type error (#9839)
丶远方 [Sat, 16 Dec 2023 05:45:01 +0000 (13:45 +0800)] 
fix(types): fix `shallowRef` type error (#9839)

18 months agofix(defineModel): ensure trigger effect when prop changed (#9841)
edison [Sat, 16 Dec 2023 04:15:30 +0000 (12:15 +0800)] 
fix(defineModel): ensure trigger effect when prop changed (#9841)

close #9838

18 months agofix(hydration): handle appear transition before patch props (#9837)
edison [Sat, 16 Dec 2023 03:55:40 +0000 (11:55 +0800)] 
fix(hydration): handle appear transition before patch props (#9837)

close #9832

18 months agotest(runtime-core): uncomment assertion in hydration test (#9843)
Cédric Exbrayat [Fri, 15 Dec 2023 15:07:45 +0000 (16:07 +0100)] 
test(runtime-core): uncomment assertion in hydration test (#9843)

18 months agofix(compiler-core): vnode hooks error message (#9842)
Cédric Exbrayat [Fri, 15 Dec 2023 15:07:15 +0000 (16:07 +0100)] 
fix(compiler-core): vnode hooks error message (#9842)

18 months agofix(Suspense): fix edge case of Suspense being patched during async HOC child remount
Evan You [Fri, 15 Dec 2023 03:39:50 +0000 (11:39 +0800)] 
fix(Suspense): fix edge case of Suspense being patched during async HOC child remount

18 months agofix(sfc/cssVars): fix loss of CSS v-bind variables when setting inline style with...
丶远方 [Fri, 15 Dec 2023 01:56:01 +0000 (09:56 +0800)] 
fix(sfc/cssVars): fix loss of CSS v-bind variables when setting inline style with string value (#9824)

close #9821

18 months agofix(mathml): update known mathML tags (#9829)
Divyansh Singh [Thu, 14 Dec 2023 14:08:55 +0000 (19:38 +0530)] 
fix(mathml): update known mathML tags (#9829)

18 months agorelease: v3.4.0-beta.2 v3.4.0-beta.2
Evan You [Thu, 14 Dec 2023 02:28:34 +0000 (10:28 +0800)] 
release: v3.4.0-beta.2

18 months agofeat(types): remove default jsx global registration
Evan You [Thu, 14 Dec 2023 02:19:17 +0000 (10:19 +0800)] 
feat(types): remove default jsx global registration

BREAKING CHANGE: Vue no longer registers the global `JSX` namespace by
default.

18 months agochore: cleanup changelog [ci skip]
Evan You [Thu, 14 Dec 2023 02:01:09 +0000 (10:01 +0800)] 
chore: cleanup changelog [ci skip]

18 months agorelease: v3.4.0-beta.1 v3.4.0-beta.1
Evan You [Wed, 13 Dec 2023 10:52:16 +0000 (18:52 +0800)] 
release: v3.4.0-beta.1

18 months agofix(runtime-core): properly pop warning context when mounting components with async...
Evan You [Wed, 13 Dec 2023 09:57:57 +0000 (17:57 +0800)] 
fix(runtime-core): properly pop warning context when mounting components with async setup

18 months agofix(Suspense): properly fix #6416
Evan You [Wed, 13 Dec 2023 09:56:58 +0000 (17:56 +0800)] 
fix(Suspense): properly fix #6416

previous fix caused regressions in nuxt

19 months agofix(hydration): should not warn mismatch for nullish prop
Evan You [Tue, 12 Dec 2023 18:41:49 +0000 (02:41 +0800)] 
fix(hydration): should not warn mismatch for nullish prop

19 months agochore: preserve error code enum order
Evan You [Tue, 12 Dec 2023 16:48:32 +0000 (00:48 +0800)] 
chore: preserve error code enum order

19 months agofix(Suspense): handle switching away from kept-alive component before resolve
Evan You [Tue, 12 Dec 2023 15:50:28 +0000 (23:50 +0800)] 
fix(Suspense): handle switching away from kept-alive component before resolve

close #6416
using test from #6467

19 months agochore: remove unnecessary statements
Evan You [Tue, 12 Dec 2023 15:47:38 +0000 (23:47 +0800)] 
chore: remove unnecessary statements

19 months agochore(sfc-playground): use dev mode by default
Evan You [Tue, 12 Dec 2023 15:08:23 +0000 (23:08 +0800)] 
chore(sfc-playground): use dev mode by default

19 months agoworkflow(sfc-playground): add reload function (#8674)
丶远方 [Tue, 12 Dec 2023 15:06:46 +0000 (23:06 +0800)] 
workflow(sfc-playground): add reload function (#8674)

19 months agofix(runtime-core): fix suspense crash when patching non-resolved async setup componen...
mmis1000 [Tue, 12 Dec 2023 13:55:15 +0000 (21:55 +0800)] 
fix(runtime-core): fix suspense crash when patching non-resolved async setup component (#7290)

close #5993
close #6463
close #6949
close #6095
close #8121

19 months agofix(ssr): make isInSSRComponentSetup state sharable across copies of Vue
Evan You [Tue, 12 Dec 2023 13:34:40 +0000 (21:34 +0800)] 
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.

19 months agochore: update lockfile
Evan You [Tue, 12 Dec 2023 12:42:57 +0000 (20:42 +0800)] 
chore: update lockfile

19 months agofix(hydration): swap client/server labels for hydration mismatch warnings
Evan You [Tue, 12 Dec 2023 12:05:37 +0000 (20:05 +0800)] 
fix(hydration): swap client/server labels for hydration mismatch warnings

this was swapped in #9098 but lost when merging #5953

19 months agofeat(compiler-sfc): promote defineModel stable (#9598)
三咲智子 Kevin Deng [Tue, 12 Dec 2023 09:28:40 +0000 (17:28 +0800)] 
feat(compiler-sfc): promote defineModel stable (#9598)

19 months agochore: update defineModel comment docs [ci skip]
Evan You [Tue, 12 Dec 2023 09:04:16 +0000 (17:04 +0800)] 
chore: update defineModel comment docs [ci skip]

19 months agofeat(defineModel): support local mutation by default, remove local option
Evan You [Tue, 12 Dec 2023 08:47:34 +0000 (16:47 +0800)] 
feat(defineModel): support local mutation by default, remove local option

ref https://github.com/vuejs/rfcs/discussions/503#discussioncomment-7566278

19 months agoperf: use sync watcher for defineModel local mode
Evan You [Tue, 12 Dec 2023 05:49:23 +0000 (13:49 +0800)] 
perf: use sync watcher for defineModel local mode

ref https://github.com/vuejs/rfcs/discussions/503#discussioncomment-7566278

19 months agochore: remove accidentally kept file from merge
Evan You [Tue, 12 Dec 2023 05:48:42 +0000 (13:48 +0800)] 
chore: remove accidentally kept file from merge

19 months agoci: disable continuous benchmark for now
Evan You [Mon, 11 Dec 2023 14:22:03 +0000 (22:22 +0800)] 
ci: disable continuous benchmark for now

19 months agofeat(types): improve event type inference when using `h` with native elements (...
丶远方 [Mon, 11 Dec 2023 14:10:01 +0000 (22:10 +0800)] 
feat(types): improve event type inference when using `h` with native elements  (#9756)

19 months agofeat(types): support passing generics when registering global directives (#9660)
Carles Mitjans [Mon, 11 Dec 2023 14:07:24 +0000 (15:07 +0100)] 
feat(types): support passing generics when registering global directives (#9660)

19 months agofeat(types): export AriaAttributes type (#8909)
Mehmet [Mon, 11 Dec 2023 14:05:48 +0000 (17:05 +0300)] 
feat(types): export AriaAttributes type (#8909)

19 months agofeat(types): export ObjectPlugin and FunctionPlugin types (#8946)
三咲智子 Kevin Deng [Mon, 11 Dec 2023 14:04:56 +0000 (22:04 +0800)] 
feat(types): export ObjectPlugin and FunctionPlugin types (#8946)

close #8577

19 months agochore: Merge branch 'main' into minor
Evan You [Mon, 11 Dec 2023 14:03:28 +0000 (22:03 +0800)] 
chore: Merge branch 'main' into minor

19 months agorefactor(types): simplify `EmitsToProps` types (#9788)
丶远方 [Mon, 11 Dec 2023 12:01:36 +0000 (20:01 +0800)] 
refactor(types): simplify `EmitsToProps` types (#9788)

19 months agochore(sfc-playground): highlight the active version in dropdown (#9045)
btea [Mon, 11 Dec 2023 10:47:06 +0000 (18:47 +0800)] 
chore(sfc-playground): highlight the active version in dropdown (#9045)

19 months agorefactor(reactivity): improve nested readonly ref set check
Evan You [Mon, 11 Dec 2023 10:40:25 +0000 (18:40 +0800)] 
refactor(reactivity): improve nested readonly ref set check

ref #9094

19 months agorefactor(compiler-sfc): avoid unnecessary switch case fallthrough (#8998)
丶远方 [Mon, 11 Dec 2023 10:23:02 +0000 (18:23 +0800)] 
refactor(compiler-sfc): avoid unnecessary switch case fallthrough (#8998)

19 months agochore(deps): update lint (#9800)
renovate[bot] [Mon, 11 Dec 2023 10:14:00 +0000 (18:14 +0800)] 
chore(deps): update lint (#9800)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
19 months agochore(deps): update dependency marked to v11 (#9806)
renovate[bot] [Mon, 11 Dec 2023 10:13:43 +0000 (18:13 +0800)] 
chore(deps): update dependency marked to v11 (#9806)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
19 months agochore(deps): update dependency jsdom to v23 (#9805)
renovate[bot] [Mon, 11 Dec 2023 05:47:19 +0000 (13:47 +0800)] 
chore(deps): update dependency jsdom to v23 (#9805)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
19 months agochore(deps): update test (#9802)
renovate[bot] [Mon, 11 Dec 2023 02:53:52 +0000 (10:53 +0800)] 
chore(deps): update test (#9802)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
19 months agochore(deps): update codspeedhq/action action to v2 (#9804)
renovate[bot] [Mon, 11 Dec 2023 02:49:43 +0000 (10:49 +0800)] 
chore(deps): update codspeedhq/action action to v2 (#9804)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
19 months agochore(deps): update dependency monaco-editor to ^0.45.0 (#9803)
renovate[bot] [Mon, 11 Dec 2023 02:49:18 +0000 (10:49 +0800)] 
chore(deps): update dependency monaco-editor to ^0.45.0 (#9803)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
19 months agochore(deps): update all non-major dependencies (#9799)
renovate[bot] [Mon, 11 Dec 2023 02:48:44 +0000 (10:48 +0800)] 
chore(deps): update all non-major dependencies (#9799)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
19 months agorefactor(compiler-core): reuse unwrapTS utility function (#9795)
三咲智子 Kevin Deng [Mon, 11 Dec 2023 02:46:28 +0000 (10:46 +0800)] 
refactor(compiler-core): reuse unwrapTS utility function (#9795)

19 months agochore: remove out of date comment (#9794) [ci skip]
zhangenming [Mon, 11 Dec 2023 02:43:07 +0000 (10:43 +0800)] 
chore: remove out of date comment (#9794) [ci skip]

19 months agofeat(types): expose `DefineProps` type
三咲智子 Kevin Deng [Fri, 8 Dec 2023 16:34:28 +0000 (00:34 +0800)] 
feat(types): expose `DefineProps` type

19 months agofix(ssr): fix suspense hydration of fallback content (#7188)
edison [Fri, 8 Dec 2023 15:06:34 +0000 (23:06 +0800)] 
fix(ssr): fix suspense hydration of fallback content (#7188)

19 months agofix(types): support for generic keyof slots (#8374)
Carlos Rodrigues [Fri, 8 Dec 2023 14:54:57 +0000 (14:54 +0000)] 
fix(types): support for generic keyof slots (#8374)

19 months agochore: fix types
Evan You [Fri, 8 Dec 2023 14:34:47 +0000 (22:34 +0800)] 
chore: fix types

19 months agofeat(types): add emits and slots type to `FunctionalComponent` (#8644)
三咲智子 Kevin Deng [Fri, 8 Dec 2023 14:24:58 +0000 (22:24 +0800)] 
feat(types): add emits and slots type to `FunctionalComponent` (#8644)

19 months agofeat(types): provide ComponentInstance type (#5408)
Carlos Rodrigues [Fri, 8 Dec 2023 14:24:38 +0000 (14:24 +0000)] 
feat(types): provide ComponentInstance type (#5408)

19 months agofeat(types): expose `PublicProps` type (#2403)
Carlos Rodrigues [Fri, 8 Dec 2023 14:17:46 +0000 (14:17 +0000)] 
feat(types): expose `PublicProps` type (#2403)

19 months agofix(types): add `xmlns:xlink` to `SVGAttributes` (#9300)
丶远方 [Fri, 8 Dec 2023 14:16:25 +0000 (22:16 +0800)] 
fix(types): add `xmlns:xlink` to `SVGAttributes` (#9300)

close #9299

19 months agoci: add continuous reactivity benchmark (#9638)
三咲智子 Kevin Deng [Fri, 8 Dec 2023 13:26:48 +0000 (21:26 +0800)] 
ci: add continuous reactivity benchmark (#9638)

19 months agofeat: MathML support (#7836)
Fabian Gündel [Fri, 8 Dec 2023 10:25:01 +0000 (11:25 +0100)] 
feat: MathML support (#7836)

close #7820

19 months agotest: update snapshot
三咲智子 Kevin Deng [Fri, 8 Dec 2023 10:16:22 +0000 (18:16 +0800)] 
test: update snapshot

19 months agofeat(ssr): add `__VUE_PROD_HYDRATION_MISMATCH_DETAILS__` feature flag (#9550)
Divyansh Singh [Fri, 8 Dec 2023 08:41:15 +0000 (14:11 +0530)] 
feat(ssr): add `__VUE_PROD_HYDRATION_MISMATCH_DETAILS__` feature flag (#9550)

19 months agofeat(ssr): improve ssr hydration mismatch checks (#5953)
Evan You [Fri, 8 Dec 2023 07:49:09 +0000 (15:49 +0800)] 
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

19 months agofeat(compiler-core): add current filename to TransformContext (#8950)
Adrien Foulon [Fri, 8 Dec 2023 07:23:50 +0000 (08:23 +0100)] 
feat(compiler-core): add current filename to TransformContext (#8950)

19 months agofeat(compiler-sfc): support import attributes and `using` syntax (#8786)
三咲智子 Kevin Deng [Fri, 8 Dec 2023 07:22:27 +0000 (15:22 +0800)] 
feat(compiler-sfc): support import attributes and `using` syntax (#8786)

19 months agorelease: v3.3.11 v3.3.11
Evan You [Fri, 8 Dec 2023 06:13:52 +0000 (14:13 +0800)] 
release: v3.3.11

19 months agofix(Suspense): properly get anchor when mount fallback vnode (#9770)
edison [Fri, 8 Dec 2023 04:29:15 +0000 (12:29 +0800)] 
fix(Suspense): properly get anchor when mount fallback vnode (#9770)

close #9769

19 months agofix(watch): should not fire pre watcher on child component unmount (#7181)
Rudy [Fri, 8 Dec 2023 04:24:44 +0000 (12:24 +0800)] 
fix(watch): should not fire pre watcher on child component unmount (#7181)

close #7030

19 months agofix(types): ref() return type should not be any when initial value is any (#9768)
丶远方 [Thu, 7 Dec 2023 08:28:16 +0000 (16:28 +0800)] 
fix(types): ref() return type should not be any when initial value is any (#9768)