]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
2 years agoMerge branch 'main' into feat/reactiveity-transform-shorthands feat/reactiveity-transform-shorthands 5856/head
Anthony Fu [Fri, 19 Aug 2022 15:12:17 +0000 (23:12 +0800)] 
Merge branch 'main' into feat/reactiveity-transform-shorthands

2 years agofix(types): add types field for sub package exports
Evan You [Tue, 16 Aug 2022 23:13:25 +0000 (07:13 +0800)] 
fix(types): add types field for sub package exports

Add types field for vue/server-renderer and vue/compiler-sfc deep imports
which are necessary when using "moduleResolution": "nodenext"

2 years agofix(watch): flush:pre watchers should not fire if state change causes
Evan You [Mon, 15 Aug 2022 11:00:55 +0000 (19:00 +0800)] 
fix(watch): flush:pre watchers should not fire if state change causes
owner component to unmount

fix #2291

2 years agofix(reactivity): fix shallow/readonly edge cases
Evan You [Fri, 22 Jul 2022 03:10:52 +0000 (11:10 +0800)] 
fix(reactivity): fix shallow/readonly edge cases

3 years agofix(types): fix on* props incorrect type for TS 4.7 (#6216)
Carlos Rodrigues [Wed, 6 Jul 2022 08:28:25 +0000 (09:28 +0100)] 
fix(types): fix on* props incorrect type for TS 4.7 (#6216)

fix #6052

3 years agobuild(deps-dev): bump typescript to 4.7.4 (#6215)
Carlos Rodrigues [Wed, 6 Jul 2022 08:27:30 +0000 (09:27 +0100)] 
build(deps-dev): bump typescript to 4.7.4 (#6215)

3 years agoMerge branch 'main' into feat/reactiveity-transform-shorthands
Anthony Fu [Tue, 5 Jul 2022 05:53:29 +0000 (13:53 +0800)] 
Merge branch 'main' into feat/reactiveity-transform-shorthands

3 years agofix(compiler-sfc): fix template usage check edge case for v-on statements
Evan You [Mon, 4 Jul 2022 03:49:47 +0000 (11:49 +0800)] 
fix(compiler-sfc): fix template usage check edge case for v-on statements

ref: https://github.com/vuejs/vue/issues/12591

3 years agochore: fix wrong condition in 3ff83694
Evan You [Thu, 30 Jun 2022 02:39:14 +0000 (10:39 +0800)] 
chore: fix wrong condition in 3ff83694

3 years agochore: bump node engine requirement to node 16.11 (#6183)
Thorsten Lünborg [Thu, 30 Jun 2022 03:05:40 +0000 (05:05 +0200)] 
chore: bump node engine requirement to node 16.11 (#6183)

3 years agofix(compiler-sfc): only add decorators-legacy parser plugin when new decorators plugi...
Evan You [Thu, 30 Jun 2022 02:39:14 +0000 (10:39 +0800)] 
fix(compiler-sfc): only add decorators-legacy parser plugin when new decorators plugin is not used

3 years agoworkflow(playground-sfc): bump @vue/repl
Evan You [Sun, 26 Jun 2022 03:03:32 +0000 (11:03 +0800)] 
workflow(playground-sfc): bump @vue/repl

3 years agoperf(ssr): improve isComment check (#6078)
Hitesh Khandelwal [Mon, 13 Jun 2022 03:06:15 +0000 (08:36 +0530)] 
perf(ssr): improve isComment check (#6078)

3 years agochore: add LICENSE file in reactivity-transform (#6072)
Stewart Haines [Mon, 13 Jun 2022 03:00:24 +0000 (13:00 +1000)] 
chore: add LICENSE file in reactivity-transform (#6072)

3 years agochore(sfc-playground): hide versions when click iframe & set color-scheme to dark...
木杉 [Mon, 13 Jun 2022 02:58:27 +0000 (10:58 +0800)] 
chore(sfc-playground): hide versions when click iframe & set color-scheme to dark (#6003)

3 years agorelease: v3.2.37 v3.2.37
Evan You [Mon, 6 Jun 2022 12:08:19 +0000 (20:08 +0800)] 
release: v3.2.37

3 years agofix(compiler-sfc): improve css v-bind parsing
Evan You [Mon, 6 Jun 2022 12:02:08 +0000 (20:02 +0800)] 
fix(compiler-sfc): improve css v-bind parsing

fix #6022

3 years agofix(sfc): avoid auto name inference leading to unwanted recursion
Evan You [Mon, 6 Jun 2022 09:36:47 +0000 (17:36 +0800)] 
fix(sfc): avoid auto name inference leading to unwanted recursion

fix #5965
fix #6027
fix #6029

3 years agofix(runtime-core): hydrate Static vnode (#6015)
liulinboyi [Thu, 26 May 2022 13:03:08 +0000 (21:03 +0800)] 
fix(runtime-core): hydrate Static vnode (#6015)

fix #6008

3 years agofix(ssr): hydration for transition wrapper components with empty slot content (#5995)
小刘(liulinboyi) [Mon, 6 Jun 2022 08:24:40 +0000 (16:24 +0800)] 
fix(ssr): hydration for transition wrapper components with empty slot content (#5995)

fix #5991

3 years agochore: remove stale todo comment [ci skip]
Evan You [Tue, 31 May 2022 09:02:07 +0000 (17:02 +0800)] 
chore: remove stale todo comment [ci skip]

3 years agochore: avoid redundant isRef check
Evan You [Sun, 29 May 2022 23:43:18 +0000 (07:43 +0800)] 
chore: avoid redundant isRef check

3 years agochore: remove duplicated test + add missing prop decl
Evan You [Sat, 28 May 2022 08:17:19 +0000 (16:17 +0800)] 
chore: remove duplicated test + add missing prop decl

3 years agobuild: include ssrUtils in server-renderer browser build
Evan You [Wed, 25 May 2022 05:52:54 +0000 (13:52 +0800)] 
build: include ssrUtils in server-renderer browser build

3 years agochore: adjust sfc playground button color
Evan You [Wed, 25 May 2022 05:48:20 +0000 (13:48 +0800)] 
chore: adjust sfc playground button color

3 years agoworkflow(sfc-playground): copy server-renderer browser build
Evan You [Wed, 25 May 2022 04:57:28 +0000 (12:57 +0800)] 
workflow(sfc-playground): copy server-renderer browser build

3 years agoworkflow: support ssr repros in sfc playground
Evan You [Wed, 25 May 2022 04:50:34 +0000 (12:50 +0800)] 
workflow: support ssr repros in sfc playground

3 years agobuild: distribute esm-browser build for the server renderer
Evan You [Wed, 25 May 2022 03:00:06 +0000 (11:00 +0800)] 
build: distribute esm-browser build for the server renderer

3 years agoworkflow: fix sfc playground persist light mode (#5999)
Phan An [Wed, 25 May 2022 02:11:54 +0000 (04:11 +0200)] 
workflow: fix sfc playground persist light mode (#5999)

3 years agochore(sfc-playground): style improvements (#6000)
Phan An [Tue, 24 May 2022 22:33:57 +0000 (00:33 +0200)] 
chore(sfc-playground): style improvements (#6000)

3 years agofix(ssr): ensure app can be unmounted when created with createSSRApp() (#5992)
Thorsten Lünborg [Tue, 24 May 2022 12:30:40 +0000 (14:30 +0200)] 
fix(ssr): ensure app  can be unmounted when created with createSSRApp() (#5992)

fix #5990

3 years agoUpdate packages/reactivity-transform/README.md
Anthony Fu [Mon, 23 May 2022 17:26:27 +0000 (01:26 +0800)] 
Update packages/reactivity-transform/README.md

3 years agorelease: v3.2.36 v3.2.36
Evan You [Mon, 23 May 2022 02:04:12 +0000 (10:04 +0800)] 
release: v3.2.36

3 years agofix(compat): fix globalProperties pollution in v3 mode
Evan You [Mon, 23 May 2022 01:46:00 +0000 (09:46 +0800)] 
fix(compat): fix globalProperties pollution in v3 mode

fix #5699

3 years agoworkflow: fix dev script for compat build
Evan You [Mon, 23 May 2022 01:12:13 +0000 (09:12 +0800)] 
workflow: fix dev script for compat build

3 years agofix(compat): fix app-level asset registration affecting other local apps (#5979)
Alex Van Liew [Mon, 23 May 2022 01:41:39 +0000 (18:41 -0700)] 
fix(compat): fix app-level asset registration affecting other local apps (#5979)

3 years agofix(compiler-core): fix svg with directives being incorrectly hoisted (#5919)
Travis [Mon, 23 May 2022 01:40:53 +0000 (09:40 +0800)] 
fix(compiler-core): fix svg with directives being incorrectly hoisted (#5919)

fix #5289

3 years agoperf: improve the performance of getNow (#5944)
zhangenming [Mon, 23 May 2022 00:36:57 +0000 (08:36 +0800)] 
perf: improve the performance of getNow (#5944)

3 years agochore: remove unnecessary optional check (#5958)
Jinesh Patel [Mon, 23 May 2022 00:29:15 +0000 (05:59 +0530)] 
chore: remove unnecessary optional check (#5958)

3 years agofix(sfc/types): allow use default factory for primitive types in `withDefaults` ...
Alex Kozack [Mon, 23 May 2022 00:28:39 +0000 (03:28 +0300)] 
fix(sfc/types): allow use default factory for primitive types in `withDefaults` (#5939)

fix #5938

3 years agofix(transition): fix cancel leave regression (#5974)
edison [Mon, 23 May 2022 00:02:15 +0000 (08:02 +0800)] 
fix(transition): fix cancel leave regression (#5974)

fix #5973

3 years agorelease: v3.2.35 v3.2.35
Evan You [Fri, 20 May 2022 17:16:26 +0000 (01:16 +0800)] 
release: v3.2.35

3 years agochore: fix dts test
Evan You [Fri, 20 May 2022 17:10:18 +0000 (01:10 +0800)] 
chore: fix dts test

3 years agofix(types): fix typescript error when spreading `$props`(#5968)
Carlos Rodrigues [Fri, 20 May 2022 16:59:29 +0000 (17:59 +0100)] 
fix(types): fix typescript error when spreading `$props`(#5968)

3 years agofix(types): restore DefineComponent argument order
Evan You [Fri, 20 May 2022 16:53:46 +0000 (00:53 +0800)] 
fix(types): restore DefineComponent argument order

This is necessary for compatibility w/ tsc-generated component types
using DefineComponent.

revert #5416
reopen #3796
fix #5967

3 years agofix(compiler-sfc): fix usage detection for types in v-for/v-slot expressions
Evan You [Fri, 20 May 2022 16:09:15 +0000 (00:09 +0800)] 
fix(compiler-sfc): fix usage detection for types in v-for/v-slot expressions

fix #5959

3 years agochore: bump repl
Evan You [Fri, 20 May 2022 16:06:13 +0000 (00:06 +0800)] 
chore: bump repl

3 years agobuild: target es2019/node 12 for node dist files
Evan You [Fri, 20 May 2022 15:25:54 +0000 (23:25 +0800)] 
build: target es2019/node 12 for node dist files

close #5957

3 years agochore: require version in bug report [ci skip]
Evan You [Fri, 20 May 2022 15:21:01 +0000 (23:21 +0800)] 
chore: require version in bug report [ci skip]

3 years agochore: use existing method
Evan You [Thu, 19 May 2022 06:08:55 +0000 (14:08 +0800)] 
chore: use existing method

3 years agorelease: v3.2.34 v3.2.34
Evan You [Thu, 19 May 2022 04:42:34 +0000 (12:42 +0800)] 
release: v3.2.34

3 years agochore: fix lint
Evan You [Thu, 19 May 2022 04:39:48 +0000 (12:39 +0800)] 
chore: fix lint

3 years agofix(ssr): fix hydration for slot with empty text node
Evan You [Thu, 19 May 2022 04:35:29 +0000 (12:35 +0800)] 
fix(ssr): fix hydration for slot with empty text node

fix #5728

3 years agofix(ssr): fix hydration mismatch caused by multi-line comments inside slot
Evan You [Thu, 19 May 2022 03:36:29 +0000 (11:36 +0800)] 
fix(ssr): fix hydration mismatch caused by multi-line comments inside slot

fix #5355

3 years agofix(compiler-ssr): fix wrong attrs fallthrough on non-single-root v-if branches
Evan You [Thu, 19 May 2022 03:21:17 +0000 (11:21 +0800)] 
fix(compiler-ssr): fix wrong attrs fallthrough on non-single-root v-if branches

fix #5140

3 years agoworkflow: add dev-esm script [ci skip]
Evan You [Thu, 19 May 2022 00:18:06 +0000 (08:18 +0800)] 
workflow: add dev-esm script [ci skip]

3 years agotest(runtime-dom): vModel tests for input range (#5907)
小刘(liulinboyi) [Wed, 18 May 2022 23:56:46 +0000 (07:56 +0800)] 
test(runtime-dom): vModel tests for input range (#5907)

3 years agofix(compiler-sfc): support `export { default } from '...'` (#5937)
小刘(liulinboyi) [Wed, 18 May 2022 23:51:44 +0000 (07:51 +0800)] 
fix(compiler-sfc): support `export { default } from '...'` (#5937)

fix #5935

3 years agofix(compiler-sfc): type-only defineProps does not recognize Promise (fix #5941) ...
Yunyoung LEE [Wed, 18 May 2022 23:34:52 +0000 (08:34 +0900)] 
fix(compiler-sfc): type-only defineProps does not recognize Promise (fix #5941) (#5943)

3 years agofix(types): fix `defineComponent` inference to `Component` (#5949)
Carlos Rodrigues [Wed, 18 May 2022 23:34:35 +0000 (00:34 +0100)] 
fix(types): fix `defineComponent` inference to `Component` (#5949)

3 years agofix(types): export ComponentProvideOptions (#5947)
Cédric Exbrayat [Wed, 18 May 2022 23:32:20 +0000 (01:32 +0200)] 
fix(types): export ComponentProvideOptions (#5947)

3 years agochore: use `packageManager` field (#5911)
Anthony Fu [Wed, 18 May 2022 23:29:26 +0000 (07:29 +0800)] 
chore: use `packageManager` field (#5911)

3 years agofix(ssr/teleport): support nested teleports in ssr
Evan You [Wed, 18 May 2022 10:13:08 +0000 (18:13 +0800)] 
fix(ssr/teleport): support nested teleports in ssr

fix #5242

3 years agotest: hydration test case for component w/ teleport root
Evan You [Wed, 18 May 2022 09:27:53 +0000 (17:27 +0800)] 
test: hydration test case for component w/ teleport root

3 years agofix(runtime-core): adjust force diff of dev root fragments
Evan You [Wed, 18 May 2022 08:36:00 +0000 (16:36 +0800)] 
fix(runtime-core): adjust force diff of dev root fragments

fix #5946

3 years agofix(ssr): fix hydration error when teleport is used as component root
Evan You [Wed, 18 May 2022 04:18:12 +0000 (12:18 +0800)] 
fix(ssr): fix hydration error when teleport is used as component root

fix #4293

3 years agochore: add note to pr guidelines [ci skip]
Evan You [Wed, 18 May 2022 02:52:07 +0000 (10:52 +0800)] 
chore: add note to pr guidelines [ci skip]

3 years agofix(keep-alive): fix keep-alive rendering when placed in vnode branch
Bulat Aykaev [Mon, 28 Mar 2022 13:05:38 +0000 (17:05 +0400)] 
fix(keep-alive): fix keep-alive rendering when placed in vnode branch

fix #4817

3 years agofix(ssr): fix hydration error when transition contains comment children
Evan You [Wed, 18 May 2022 02:03:00 +0000 (10:03 +0800)] 
fix(ssr): fix hydration error when transition contains comment children

fix #5351

3 years agofix(ssr): render fallthrough attributes for transition-group with tag
Evan You [Wed, 18 May 2022 01:55:39 +0000 (09:55 +0800)] 
fix(ssr): render fallthrough attributes for transition-group with tag

fix #5141

3 years agochore: split ssr transition group tests
Evan You [Wed, 18 May 2022 01:31:31 +0000 (09:31 +0800)] 
chore: split ssr transition group tests

3 years agofix(ssr): fix hydration error on falsy v-if inside transition/keep-alive
Evan You [Wed, 18 May 2022 01:28:18 +0000 (09:28 +0800)] 
fix(ssr): fix hydration error on falsy v-if inside transition/keep-alive

fix #5352

3 years agofix(compiler-ssr): only inject fallthrough attrs for root transition/keep-alive
Evan You [Wed, 18 May 2022 00:37:24 +0000 (08:37 +0800)] 
fix(compiler-ssr): only inject fallthrough attrs for root transition/keep-alive

3 years agofix(ssr): support client-compiled v-model with dynamic type during ssr (#5787)
Roan Kattouw [Tue, 17 May 2022 09:52:44 +0000 (02:52 -0700)] 
fix(ssr): support client-compiled  v-model with dynamic type during ssr (#5787)

fix #5786

3 years agofix(ssr): inherit scope id on functional component during ssr
Evan You [Tue, 17 May 2022 09:45:53 +0000 (17:45 +0800)] 
fix(ssr): inherit scope id on functional component during ssr

fix #5817

3 years agofix(compiler-core): should generate HYDRATE_EVENTS flag on dynamic component that...
Evan You [Tue, 17 May 2022 08:39:48 +0000 (16:39 +0800)] 
fix(compiler-core): should generate HYDRATE_EVENTS flag on dynamic component that resolves to element

fix #5870

3 years agofix(compiler-ssr): fix component event handlers inheritance in ssr
Evan You [Tue, 17 May 2022 07:50:23 +0000 (15:50 +0800)] 
fix(compiler-ssr): fix component event handlers inheritance in ssr

fix #5664

3 years agochore: bump repl
Evan You [Tue, 17 May 2022 07:06:49 +0000 (15:06 +0800)] 
chore: bump repl

3 years agochore: fix changelog format [ci skip]
Evan You [Tue, 17 May 2022 04:57:09 +0000 (12:57 +0800)] 
chore: fix changelog format [ci skip]

3 years agorelease: v3.2.34-beta.1 v3.2.34-beta.1
Evan You [Tue, 17 May 2022 04:53:51 +0000 (12:53 +0800)] 
release: v3.2.34-beta.1

3 years agoworkflow: fix release script for pnpm 7 [ci skip]
Evan You [Tue, 17 May 2022 04:47:43 +0000 (12:47 +0800)] 
workflow: fix release script for pnpm 7 [ci skip]

3 years agofix(ssr): resolve teleports for stream render APIs
Evan You [Tue, 17 May 2022 04:41:40 +0000 (12:41 +0800)] 
fix(ssr): resolve teleports for stream render APIs

3 years agoworkflow: add prod/dev toggle to sfc playground
Evan You [Tue, 17 May 2022 04:10:29 +0000 (12:10 +0800)] 
workflow: add prod/dev toggle to sfc playground

3 years agofix(ssr): fix ssr render output for fragment in slots
Evan You [Tue, 17 May 2022 03:13:22 +0000 (11:13 +0800)] 
fix(ssr): fix ssr render output for fragment in slots

fix #5859

3 years agobuild: output es2020 (target node 14+) for cjs/server builds
Evan You [Tue, 17 May 2022 02:50:40 +0000 (10:50 +0800)] 
build: output es2020 (target node 14+) for cjs/server builds

3 years agofix(ssr/sfc-css-vars): fix v-bind css vars codegen for SSR
Evan You [Tue, 17 May 2022 01:21:36 +0000 (09:21 +0800)] 
fix(ssr/sfc-css-vars): fix v-bind css vars codegen for SSR

fix #5443
close #5444

3 years agorefactor(runtime-core): extract function `isReservedPrefix` (#3265)
edison [Fri, 13 May 2022 08:52:19 +0000 (16:52 +0800)] 
refactor(runtime-core): extract function `isReservedPrefix` (#3265)

* chore(runtime-core): extract function isReservedKey

* chore: improve code

Co-authored-by: Evan You <yyx990803@gmail.com>
3 years agorefactor(runtime-core): extract type SetRootFn (#3209)
edison [Fri, 13 May 2022 08:48:20 +0000 (16:48 +0800)] 
refactor(runtime-core): extract type SetRootFn (#3209)

3 years agochore: use ast node creation helper (#5255)
阿崔cxr [Fri, 13 May 2022 08:37:50 +0000 (16:37 +0800)] 
chore: use ast node creation helper (#5255)

3 years agofix(types): allow css variables in style binding (#5542)
Package [Fri, 13 May 2022 08:30:30 +0000 (16:30 +0800)] 
fix(types): allow css variables in style binding  (#5542)

3 years agochore: format
Anthony Fu [Fri, 13 May 2022 08:27:00 +0000 (16:27 +0800)] 
chore: format

3 years agoworkflow: update github actions via dependabot (#5656)
neilnaveen [Fri, 13 May 2022 08:26:30 +0000 (03:26 -0500)] 
workflow: update github actions via dependabot (#5656)

3 years agoworkflow: lint test files (#5727)
Cédric Exbrayat [Fri, 13 May 2022 08:24:21 +0000 (10:24 +0200)] 
workflow: lint test files (#5727)

3 years agofix(types): add `Set<any>` to checkbox binding type for v-model (#5713)
Spencer McWilliams [Fri, 13 May 2022 08:23:33 +0000 (01:23 -0700)] 
fix(types): add `Set<any>` to checkbox binding type for v-model (#5713)

3 years agoMerge branch 'main' into feat/reactiveity-transform-shorthands
Anthony Fu [Fri, 13 May 2022 08:19:09 +0000 (16:19 +0800)] 
Merge branch 'main' into feat/reactiveity-transform-shorthands

3 years agofix(shared): improve isDate check (#5803)
Vanilla [Fri, 13 May 2022 08:17:31 +0000 (16:17 +0800)] 
fix(shared): improve isDate check (#5803)

3 years agochore: update type assertion
Anthony Fu [Fri, 13 May 2022 08:12:32 +0000 (16:12 +0800)] 
chore: update type assertion

3 years agofix(ssr): render teleport inside async component (#5187)
Adam Jedlička [Fri, 13 May 2022 07:57:10 +0000 (09:57 +0200)] 
fix(ssr): render teleport inside async component (#5187)

3 years agochore: fix snapshots
Evan You [Fri, 13 May 2022 07:45:26 +0000 (15:45 +0800)] 
chore: fix snapshots

3 years agorefactor: simplify logic
Evan You [Fri, 13 May 2022 07:40:53 +0000 (15:40 +0800)] 
refactor: simplify logic