]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
21 months agofeat(runtime-vapor): onErrorCaptured (#71)
GaoNeng [Sun, 24 Dec 2023 18:44:01 +0000 (02:44 +0800)] 
feat(runtime-vapor): onErrorCaptured (#71)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
21 months agofix(runtime-vapor): fix v-show value (#70)
Kaine [Sat, 23 Dec 2023 07:23:34 +0000 (15:23 +0800)] 
fix(runtime-vapor): fix v-show value (#70)

21 months agofeat(runtime-vapor): `watchEffect`/`watch` and `onEffectCleanup` (#69)
Rizumu Ayaka [Sat, 23 Dec 2023 07:17:18 +0000 (15:17 +0800)] 
feat(runtime-vapor): `watchEffect`/`watch` and `onEffectCleanup` (#69)

21 months agoMerge remote-tracking branch 'upstream/minor'
三咲智子 Kevin Deng [Sat, 16 Dec 2023 08:12:55 +0000 (16:12 +0800)] 
Merge remote-tracking branch 'upstream/minor'

21 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

21 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

21 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

21 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

21 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)

21 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

21 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

21 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)

21 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)

21 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

21 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

21 months agofeat(runtime-vapor): mounted & unmounted hook (#46)
GaoNeng [Thu, 14 Dec 2023 17:47:56 +0000 (01:47 +0800)] 
feat(runtime-vapor): mounted & unmounted hook (#46)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
21 months agorefactor(runtime-vapor): clean up
三咲智子 Kevin Deng [Thu, 14 Dec 2023 17:30:26 +0000 (01:30 +0800)] 
refactor(runtime-vapor): clean up

21 months agofix(runtime-vapor): `unmountComponent` (#63)
白雾三语 [Thu, 14 Dec 2023 17:23:17 +0000 (01:23 +0800)] 
fix(runtime-vapor): `unmountComponent` (#63)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
21 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)

21 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

21 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.

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

21 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

21 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

21 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

21 months agofix: throw error without `script` block (#61)
白雾三语 [Wed, 13 Dec 2023 07:16:33 +0000 (15:16 +0800)] 
fix: throw error without `script` block (#61)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
21 months agofeat(compiler-vapor): functional custom directive support updated hooks (#58)
白雾三语 [Wed, 13 Dec 2023 07:01:07 +0000 (15:01 +0800)] 
feat(compiler-vapor): functional custom directive support updated hooks (#58)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
21 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

21 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

21 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

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

21 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

21 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)

21 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

21 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.

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

21 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

21 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)

21 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]

21 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

21 months agotest: add all tests for `v-on` (#52)
Rizumu Ayaka [Tue, 12 Dec 2023 07:58:07 +0000 (15:58 +0800)] 
test: add all tests for `v-on` (#52)

21 months agotest: add v-show unit test (#56)
白雾三语 [Tue, 12 Dec 2023 07:52:49 +0000 (15:52 +0800)] 
test: add v-show unit test (#56)

21 months agofix(runtime-vapor): custom directive instance
三咲智子 Kevin Deng [Tue, 12 Dec 2023 07:39:00 +0000 (15:39 +0800)] 
fix(runtime-vapor): custom directive instance

closes #50

21 months agorefactor: improve file path resolution (#55)
Kaine [Tue, 12 Dec 2023 07:33:31 +0000 (15:33 +0800)] 
refactor: improve file path resolution (#55)

21 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

21 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

21 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

21 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)

21 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)

21 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)

21 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

21 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

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

21 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)

21 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

21 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)

21 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>
21 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>
21 months agorefactor(runtime-vapor): remove argument generic
三咲智子 Kevin Deng [Mon, 11 Dec 2023 08:23:39 +0000 (16:23 +0800)] 
refactor(runtime-vapor): remove argument generic

21 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>
21 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>
21 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>
21 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>
21 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>
21 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)

21 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]

21 months agotest: add transform tests to `v-html` / `v-text` tests (#49)
Rizumu Ayaka [Sun, 10 Dec 2023 19:05:11 +0000 (03:05 +0800)] 
test: add transform tests to `v-html` / `v-text` tests (#49)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
21 months agotest: add transform tests to `v-once` tests (#44)
Rizumu Ayaka [Sun, 10 Dec 2023 17:41:29 +0000 (01:41 +0800)] 
test: add transform tests to `v-once` tests (#44)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
22 months agofix(compiler-vapor): add modifier for empty v-on
三咲智子 Kevin Deng [Sat, 9 Dec 2023 17:36:34 +0000 (01:36 +0800)] 
fix(compiler-vapor): add modifier for empty v-on

22 months agotest: combine with transform and codegen tests for `v-bind` (#45)
Rizumu Ayaka [Sat, 9 Dec 2023 17:33:29 +0000 (01:33 +0800)] 
test: combine with transform and codegen tests for `v-bind` (#45)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
22 months agofeat(runtime-vapor): component props (#40)
ubugeeei [Sat, 9 Dec 2023 17:33:18 +0000 (02:33 +0900)] 
feat(runtime-vapor): component props (#40)

22 months agofeat: pushFnCall
三咲智子 Kevin Deng [Sat, 9 Dec 2023 17:26:19 +0000 (01:26 +0800)] 
feat: pushFnCall

22 months agofeat: withIndent
三咲智子 Kevin Deng [Sat, 9 Dec 2023 17:05:26 +0000 (01:05 +0800)] 
feat: withIndent

22 months agorefactor: pushMulti
三咲智子 Kevin Deng [Sat, 9 Dec 2023 17:01:57 +0000 (01:01 +0800)] 
refactor: pushMulti

22 months agorefactor(compiler-vapor): v-on
三咲智子 Kevin Deng [Sat, 9 Dec 2023 16:06:20 +0000 (00:06 +0800)] 
refactor(compiler-vapor): v-on

22 months agofix(compiler-vapor): generate static expression
三咲智子 Kevin Deng [Sat, 9 Dec 2023 15:29:10 +0000 (23:29 +0800)] 
fix(compiler-vapor): generate static expression

22 months agofeat(compiler-vapor/v-bind): globally allowed
三咲智子 Kevin Deng [Sat, 9 Dec 2023 15:25:01 +0000 (23:25 +0800)] 
feat(compiler-vapor/v-bind): globally allowed

22 months agofeat: camel modifier for `v-bind` (#39)
Rizumu Ayaka [Sat, 9 Dec 2023 10:41:59 +0000 (18:41 +0800)] 
feat: camel modifier for `v-bind` (#39)

22 months agotest: add transform test
三咲智子 Kevin Deng [Fri, 8 Dec 2023 20:06:46 +0000 (04:06 +0800)] 
test: add transform test

22 months agotest: split test files (#38)
Rizumu Ayaka [Fri, 8 Dec 2023 19:29:38 +0000 (03:29 +0800)] 
test: split test files (#38)

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

22 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)

22 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)

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

22 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)

22 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)

22 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)

22 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

22 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)

22 months agochore: update todo
三咲智子 Kevin Deng [Fri, 8 Dec 2023 13:14:46 +0000 (21:14 +0800)] 
chore: update todo

22 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

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

22 months agofeat: v-show
三咲智子 Kevin Deng [Fri, 8 Dec 2023 09:34:33 +0000 (17:34 +0800)] 
feat: v-show

22 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)

22 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

22 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)

22 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)

22 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

22 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

22 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