]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
4 years agochore: adjust the parameter order of the mountChildren function 3672/head
zhaozhao [Tue, 20 Apr 2021 05:43:19 +0000 (13:43 +0800)] 
chore: adjust the parameter order of the mountChildren function

4 years agochore: fix typo in test case description
kiyon [Fri, 16 Apr 2021 02:43:56 +0000 (10:43 +0800)] 
chore: fix typo in test case description

4 years agochore: use isArray to keep the code consistency
edison [Mon, 12 Apr 2021 10:31:11 +0000 (18:31 +0800)] 
chore: use isArray to keep the code consistency

4 years agofix(watch): this.$watch should support watching keypath
Evan You [Wed, 7 Apr 2021 20:19:04 +0000 (16:19 -0400)] 
fix(watch): this.$watch should support watching keypath

4 years agotest: typo in spy (#3556)
Eduardo San Martin Morote [Wed, 7 Apr 2021 12:19:12 +0000 (14:19 +0200)] 
test: typo in spy (#3556)

4 years agofix(runtime-core): ensure declare prop keys are always present
Evan You [Fri, 2 Apr 2021 00:25:12 +0000 (20:25 -0400)] 
fix(runtime-core): ensure declare prop keys are always present

fix #3288

4 years agorelease: v3.0.11 v3.0.11
Evan You [Thu, 1 Apr 2021 23:52:45 +0000 (19:52 -0400)] 
release: v3.0.11

4 years agofix(runtime-core): fix v-on object kebab-case event emit matching
Evan You [Thu, 1 Apr 2021 23:47:58 +0000 (19:47 -0400)] 
fix(runtime-core): fix v-on object kebab-case event emit matching

fix #3527

4 years agofix(runtime-core): fix render function + optimized slot edge case (#3523)
HcySunYang [Thu, 1 Apr 2021 23:28:58 +0000 (07:28 +0800)] 
fix(runtime-core): fix render function + optimized slot edge case (#3523)

fix #2893

Manually rendering the optimized slots should allow subsequent updates to exit the optimization mode correctly

4 years agorefactor(sfc-playground): modes declaration (#3522)
Cédric Exbrayat [Thu, 1 Apr 2021 22:37:50 +0000 (00:37 +0200)] 
refactor(sfc-playground): modes declaration (#3522)

4 years agofix(compiler-sfc): fix wrong scopeId for nested `<script setup>` components
Evan You [Thu, 1 Apr 2021 22:11:04 +0000 (18:11 -0400)] 
fix(compiler-sfc): fix wrong scopeId for nested `<script setup>` components

4 years agochore(types): use NormalizedStyle for consistency (#2590)
edison [Thu, 1 Apr 2021 03:29:24 +0000 (11:29 +0800)] 
chore(types): use NormalizedStyle for consistency (#2590)

4 years agoworkflow(sfc-playground): make it work in safari and ff
Evan You [Wed, 31 Mar 2021 19:23:01 +0000 (15:23 -0400)] 
workflow(sfc-playground): make it work in safari and ff

4 years agoworkflow(sfc-playground): support import map
Evan You [Wed, 31 Mar 2021 17:31:00 +0000 (13:31 -0400)] 
workflow(sfc-playground): support import map

4 years agochore(sfc-playground): use svg logo
Evan You [Wed, 31 Mar 2021 16:36:45 +0000 (12:36 -0400)] 
chore(sfc-playground): use svg logo

4 years agochore(sfc-playground): teardown preview update watcher
Evan You [Wed, 31 Mar 2021 16:22:08 +0000 (12:22 -0400)] 
chore(sfc-playground): teardown preview update watcher

4 years agochore(sfc-playground): responsive
Evan You [Wed, 31 Mar 2021 02:10:18 +0000 (22:10 -0400)] 
chore(sfc-playground): responsive

4 years agoworkflow(sfc-playground): support selecting versions
Evan You [Wed, 31 Mar 2021 02:00:46 +0000 (22:00 -0400)] 
workflow(sfc-playground): support selecting versions

4 years agorelease: v3.0.10 v3.0.10
Evan You [Wed, 31 Mar 2021 00:05:45 +0000 (20:05 -0400)] 
release: v3.0.10

4 years agofix(runtime-core): fix dev fragment root flag check
Evan You [Tue, 30 Mar 2021 23:55:05 +0000 (19:55 -0400)] 
fix(runtime-core): fix dev fragment root flag check

4 years agochore: use alias instead of module field
Evan You [Tue, 30 Mar 2021 23:51:55 +0000 (19:51 -0400)] 
chore: use alias instead of module field

...before we figure out what is the ideal behavior when adding exports field

4 years agorefactor(ssr): adjust ssr scope id logic for client-compiled render functions
Evan You [Tue, 30 Mar 2021 23:30:05 +0000 (19:30 -0400)] 
refactor(ssr): adjust ssr scope id logic for client-compiled render functions

4 years agofix(ssr): fix scopeId inheritance across mixed parent chain
Evan You [Tue, 30 Mar 2021 22:39:42 +0000 (18:39 -0400)] 
fix(ssr): fix scopeId inheritance across mixed parent chain

fix #3513

4 years agoworkflow(sfc-playground): clear errors in edge cases
Evan You [Tue, 30 Mar 2021 16:49:50 +0000 (12:49 -0400)] 
workflow(sfc-playground): clear errors in edge cases

4 years agoworkflow(sfc-playground): warn on <style module> usage
Evan You [Tue, 30 Mar 2021 16:39:08 +0000 (12:39 -0400)] 
workflow(sfc-playground): warn on <style module> usage

4 years agoworkflow(sfc-playground): add ssr compile output
Evan You [Tue, 30 Mar 2021 16:36:59 +0000 (12:36 -0400)] 
workflow(sfc-playground): add ssr compile output

4 years agoperf(runtime-core): optimize the performance of getTypeIndex (#3206)
edison [Tue, 30 Mar 2021 14:53:14 +0000 (22:53 +0800)] 
perf(runtime-core): optimize the performance of getTypeIndex (#3206)

4 years agochore: bump vite
Evan You [Tue, 30 Mar 2021 01:44:12 +0000 (21:44 -0400)] 
chore: bump vite

4 years agoperf(compiler-sfc): skip srcset transform if all candidates are external
Evan You [Mon, 29 Mar 2021 22:56:24 +0000 (18:56 -0400)] 
perf(compiler-sfc): skip srcset transform if all candidates are external

4 years agofix(runtime-dom): fix event listeners call in firefox <= 53 (#3501)
HcySunYang [Mon, 29 Mar 2021 23:15:12 +0000 (07:15 +0800)] 
fix(runtime-dom): fix event listeners call in firefox <= 53 (#3501)

fix #3485

4 years agofix(compiler-sfc): fix missing whitespace issue in srcsets (#3132)
Jonas Kruckenberg [Mon, 29 Mar 2021 22:28:22 +0000 (00:28 +0200)] 
fix(compiler-sfc): fix missing whitespace issue in srcsets (#3132)

fix #3069

4 years agofix(compiler-core): properly transform replaced nodes (#2927)
Calvin Liang [Mon, 29 Mar 2021 22:08:10 +0000 (15:08 -0700)] 
fix(compiler-core): properly transform replaced nodes (#2927)

4 years agofix(types): add a type-only differentiator to assist Mixin's type infer (#3481)
HcySunYang [Mon, 29 Mar 2021 22:07:36 +0000 (06:07 +0800)] 
fix(types): add a type-only differentiator to assist Mixin's type infer (#3481)

fix #3468

4 years agofix(reactivity): should not trigger when setting value to same proxy (#2904)
liaoliao666 [Mon, 29 Mar 2021 21:52:57 +0000 (05:52 +0800)] 
fix(reactivity): should not trigger when setting value to same proxy (#2904)

4 years agofix(types/tsx): make JSX.Element extend VNode (#3171)
Kael [Mon, 29 Mar 2021 21:38:25 +0000 (08:38 +1100)] 
fix(types/tsx): make JSX.Element extend VNode (#3171)

4 years agobuild(deps): bump @babel/types from 7.13.12 to 7.13.13
dependabot-preview[bot] [Mon, 29 Mar 2021 06:52:06 +0000 (06:52 +0000)] 
build(deps): bump @babel/types from 7.13.12 to 7.13.13

Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.13.12 to 7.13.13.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.13/packages/babel-types)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agofix(compiler-sfc): support proper type arguments for defineEmit helper
Evan You [Mon, 29 Mar 2021 20:38:07 +0000 (16:38 -0400)] 
fix(compiler-sfc): support proper type arguments for defineEmit helper

fix #2874

4 years agochore(sfc-playground): use type defineEmit
Evan You [Mon, 29 Mar 2021 20:36:40 +0000 (16:36 -0400)] 
chore(sfc-playground): use type defineEmit

4 years agofix(compiler-sfc): do not resolve assets from setup bindings
Evan You [Mon, 29 Mar 2021 20:11:31 +0000 (16:11 -0400)] 
fix(compiler-sfc): do not resolve assets from setup bindings
when not using script setup

fix #3270, fix #3275

4 years agoworkflow(sfc-playground): make warnings dismissable
Evan You [Mon, 29 Mar 2021 20:06:14 +0000 (16:06 -0400)] 
workflow(sfc-playground): make warnings dismissable

4 years agoworkflow(sfc-playground): pass along analyzed bindings when compiling template
Evan You [Mon, 29 Mar 2021 19:34:57 +0000 (15:34 -0400)] 
workflow(sfc-playground): pass along analyzed bindings when compiling template

4 years agoworkflow(sfc-playground): display analyzed bindings in js output
Evan You [Mon, 29 Mar 2021 19:26:54 +0000 (15:26 -0400)] 
workflow(sfc-playground): display analyzed bindings in js output

4 years agofix(compiler-core): allow PascalCase dynamic component tag usage (#3508)
HcySunYang [Mon, 29 Mar 2021 19:18:25 +0000 (03:18 +0800)] 
fix(compiler-core): allow PascalCase dynamic component tag usage (#3508)

fix #3507

4 years agofix(runtime-core): avoid unmount teleport's children multiple times (#3499)
HcySunYang [Mon, 29 Mar 2021 19:15:08 +0000 (03:15 +0800)] 
fix(runtime-core): avoid unmount teleport's children multiple times (#3499)

fix #3497

4 years agochore(sfc-playground): fix clipboard usage
Evan You [Mon, 29 Mar 2021 14:54:32 +0000 (10:54 -0400)] 
chore(sfc-playground): fix clipboard usage

4 years agochore(sfc-playground): logo, responsive
Evan You [Mon, 29 Mar 2021 14:17:33 +0000 (10:17 -0400)] 
chore(sfc-playground): logo, responsive

4 years agobuild(deps-dev): bump @rollup/plugin-replace from 2.4.1 to 2.4.2
dependabot-preview[bot] [Mon, 29 Mar 2021 06:52:45 +0000 (06:52 +0000)] 
build(deps-dev): bump @rollup/plugin-replace from 2.4.1 to 2.4.2

Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/replace-v2.4.1...replace-v2.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoworkflow(sfc-playground): tweaks and commit links
Evan You [Mon, 29 Mar 2021 06:07:04 +0000 (02:07 -0400)] 
workflow(sfc-playground): tweaks and commit links

4 years agofix(compiler-sfc): fix function scope variable declaration marking
Evan You [Mon, 29 Mar 2021 04:32:46 +0000 (00:32 -0400)] 
fix(compiler-sfc): fix function scope variable declaration marking

4 years agoworkflow(sfc-playground): attach filename
Evan You [Mon, 29 Mar 2021 04:32:28 +0000 (00:32 -0400)] 
workflow(sfc-playground): attach filename

4 years agoworkflow(sfc-playground): fix download
Evan You [Mon, 29 Mar 2021 03:48:01 +0000 (23:48 -0400)] 
workflow(sfc-playground): fix download

4 years agoworkflow(sfc-playground): share and download buttons
Evan You [Mon, 29 Mar 2021 03:36:36 +0000 (23:36 -0400)] 
workflow(sfc-playground): share and download buttons

4 years agoworkflow(sfc-playground): improve module rewrite
Evan You [Mon, 29 Mar 2021 01:55:22 +0000 (21:55 -0400)] 
workflow(sfc-playground): improve module rewrite

4 years agochore: force refresh playground editor on startup
Evan You [Sun, 28 Mar 2021 22:50:12 +0000 (18:50 -0400)] 
chore: force refresh playground editor on startup

4 years agoworkflow(sfc-playground): support multiple files
Evan You [Sun, 28 Mar 2021 22:41:33 +0000 (18:41 -0400)] 
workflow(sfc-playground): support multiple files

4 years agochore: default code for sfc playground
Evan You [Sun, 28 Mar 2021 06:24:25 +0000 (02:24 -0400)] 
chore: default code for sfc playground

4 years agochore: add sfc playground to coverage exclude list
Evan You [Sun, 28 Mar 2021 06:20:11 +0000 (02:20 -0400)] 
chore: add sfc playground to coverage exclude list

4 years agoworkflow(sfc-playground): fix newline
Evan You [Sun, 28 Mar 2021 06:17:55 +0000 (02:17 -0400)] 
workflow(sfc-playground): fix newline

4 years agoworkflow: tweak sfc playground build script
Evan You [Sun, 28 Mar 2021 06:08:27 +0000 (02:08 -0400)] 
workflow: tweak sfc playground build script

4 years agoworkflow: add sfc playground build script [ci skip]
Evan You [Sun, 28 Mar 2021 05:40:51 +0000 (01:40 -0400)] 
workflow: add sfc playground build script [ci skip]

4 years agoworkflow: sfc playground
Evan You [Sun, 28 Mar 2021 05:35:45 +0000 (01:35 -0400)] 
workflow: sfc playground

4 years agobuild: make compiler-sfc global build work
Evan You [Sat, 27 Mar 2021 16:33:52 +0000 (12:33 -0400)] 
build: make compiler-sfc global build work

4 years agorelease: v3.0.9 v3.0.9
Evan You [Sat, 27 Mar 2021 15:30:12 +0000 (11:30 -0400)] 
release: v3.0.9

4 years agofix(runtime-core): remove dev-only props property from setup context for consistency...
Richard Cooke [Sat, 27 Mar 2021 15:23:10 +0000 (15:23 +0000)] 
fix(runtime-core): remove dev-only props property from setup context for consistency (#3492)

4 years agofix(compiler-core): fix slot source location (#3494)
Johnson Chu [Sat, 27 Mar 2021 15:20:39 +0000 (23:20 +0800)] 
fix(compiler-core): fix slot source location (#3494)

4 years agofix(runtime-core): fix kebab-case prop required warning
Evan You [Sat, 27 Mar 2021 15:16:39 +0000 (11:16 -0400)] 
fix(runtime-core): fix kebab-case prop required warning

fix #3495
ref #3363

4 years agofix: ensure backwards compat for pre-compiled sfc components
Evan You [Sat, 27 Mar 2021 14:53:45 +0000 (10:53 -0400)] 
fix: ensure backwards compat for pre-compiled sfc components

fix #3493

4 years agorelease: v3.0.8 v3.0.8
Evan You [Fri, 26 Mar 2021 21:35:44 +0000 (17:35 -0400)] 
release: v3.0.8

4 years agofix(runtime-core): fix erraneous emits warnings w/ mixins
Evan You [Fri, 26 Mar 2021 20:29:40 +0000 (16:29 -0400)] 
fix(runtime-core): fix erraneous emits warnings w/ mixins

fix #2651

4 years agofix(runtime-core): should not track deps in pre flush watcher callbacks
Evan You [Fri, 26 Mar 2021 19:52:45 +0000 (15:52 -0400)] 
fix(runtime-core): should not track deps in pre flush watcher callbacks

fix #2728

4 years agofix(reactivity): ensure that shallow and normal proxies are tracked seperately (close...
Thorsten Lünborg [Fri, 26 Mar 2021 19:39:56 +0000 (20:39 +0100)] 
fix(reactivity): ensure that shallow and normal proxies are tracked seperately (close #2843) (#2851)

fix #2843

4 years agofix(reactivity): fix shallow readonly behavior for collections (#3003)
HcySunYang [Fri, 26 Mar 2021 19:10:21 +0000 (03:10 +0800)] 
fix(reactivity): fix shallow readonly behavior for collections (#3003)

fix #3007

4 years agofix(Teleport): fallback to non-optimized mode when HRM performing updates (#3311)
HcySunYang [Fri, 26 Mar 2021 18:02:44 +0000 (02:02 +0800)] 
fix(Teleport): fallback to non-optimized mode when HRM performing updates (#3311)

fix #3302

4 years agofix(ssr): properly update currentRenderingInstance state during ssr
Evan You [Fri, 26 Mar 2021 18:00:03 +0000 (14:00 -0400)] 
fix(ssr): properly update currentRenderingInstance state during ssr

fix #2863

4 years agofix(hydration): handle camel-case tag name when performing match assertion (#3247)
HcySunYang [Fri, 26 Mar 2021 15:59:50 +0000 (23:59 +0800)] 
fix(hydration): handle camel-case tag name when performing match assertion (#3247)

fix #3243

4 years agofix(ssr/hydration): handle ending empty text node (#3246)
HcySunYang [Fri, 26 Mar 2021 15:45:28 +0000 (23:45 +0800)] 
fix(ssr/hydration): handle ending empty text node (#3246)

fix #3245

4 years agochore: update readme [ci skip]
Evan You [Fri, 26 Mar 2021 15:19:00 +0000 (11:19 -0400)] 
chore: update readme [ci skip]

4 years agofix(ssr): ensure async setup error handling work with suspense during ssr
Evan You [Fri, 26 Mar 2021 15:00:30 +0000 (11:00 -0400)] 
fix(ssr): ensure async setup error handling work with suspense during ssr

4 years agofix(runtime-core): handle error in async setup (#2881)
edison [Fri, 26 Mar 2021 14:26:30 +0000 (22:26 +0800)] 
fix(runtime-core): handle error in async setup (#2881)

4 years agofix(component): prioritize registered component over implicit self-reference via...
Evan You [Fri, 26 Mar 2021 14:04:29 +0000 (10:04 -0400)] 
fix(component): prioritize registered component over implicit self-reference via filename

ref: #2827

4 years agobuild(deps-dev): bump @types/jest from 26.0.21 to 26.0.22
dependabot-preview[bot] [Fri, 26 Mar 2021 06:00:06 +0000 (06:00 +0000)] 
build(deps-dev): bump @types/jest from 26.0.21 to 26.0.22

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.21 to 26.0.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agobuild(deps-dev): bump @types/node from 14.14.35 to 14.14.36
dependabot-preview[bot] [Fri, 26 Mar 2021 05:59:38 +0000 (05:59 +0000)] 
build(deps-dev): bump @types/node from 14.14.35 to 14.14.36

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.35 to 14.14.36.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agofix(ssr): fix memory leak when vnode component render throws error
Evan You [Thu, 25 Mar 2021 22:04:21 +0000 (18:04 -0400)] 
fix(ssr): fix memory leak when vnode component render throws error

fix #3100

4 years agofix(types): unwrap refs on public instance data (#3319)
HcySunYang [Thu, 25 Mar 2021 21:30:10 +0000 (05:30 +0800)] 
fix(types): unwrap refs on public instance data (#3319)

fix #3315

4 years agofix(runtime-core): cache props default values to avoid unnecessary watcher trigger...
HcySunYang [Thu, 25 Mar 2021 21:26:58 +0000 (05:26 +0800)] 
fix(runtime-core): cache props default values to avoid unnecessary watcher trigger (#3474)

fix #3471

4 years agofix(compiler-core): allow unicode to appear in identifiers (#3443)
HcySunYang [Thu, 25 Mar 2021 21:24:18 +0000 (05:24 +0800)] 
fix(compiler-core): allow unicode to appear in identifiers (#3443)

fix #3440

4 years agofix(compiler-core): avoid generating useless createVNode helper (#2938)
HcySunYang [Thu, 25 Mar 2021 21:01:50 +0000 (05:01 +0800)] 
fix(compiler-core): avoid generating useless createVNode helper (#2938)

close #2739

4 years agofix(runtime-core): the select tag's multiple prop should be set before the children...
HcySunYang [Thu, 25 Mar 2021 20:49:34 +0000 (04:49 +0800)] 
fix(runtime-core): the select tag's multiple prop should be set before the children mounting (#3202)

fix #3199

4 years agorefactor: simplify lifecycle hook call logic
Evan You [Thu, 25 Mar 2021 20:48:51 +0000 (16:48 -0400)] 
refactor: simplify lifecycle hook call logic

4 years agofix(runtime-core): should call chained mixins and extends (#3040)
HcySunYang [Thu, 25 Mar 2021 20:39:57 +0000 (04:39 +0800)] 
fix(runtime-core): should call chained mixins and extends (#3040)

fix #3038

4 years agofix(runtime-core): fix warning for absent props (#3363)
HcySunYang [Thu, 25 Mar 2021 20:22:43 +0000 (04:22 +0800)] 
fix(runtime-core): fix warning for absent props (#3363)

fix #3362

4 years agofix(types/jsx): llow tabindex to be a string (#3476)
bartenra [Thu, 25 Mar 2021 20:20:38 +0000 (21:20 +0100)] 
fix(types/jsx): llow tabindex to be a string (#3476)

4 years agochore(types): remove redundant 'undefined' type (#3484)
funkyfun [Thu, 25 Mar 2021 20:19:02 +0000 (04:19 +0800)] 
chore(types): remove redundant 'undefined' type (#3484)

4 years agofix(compiler-sfc): should not rewrite scope variable (#3449)
edison [Thu, 25 Mar 2021 20:16:48 +0000 (04:16 +0800)] 
fix(compiler-sfc): should not rewrite scope variable (#3449)

fix #3445

4 years agofix(compiler-dom): stringifyStatic should remove attribute bindings with `null` value...
GU Yiling [Thu, 25 Mar 2021 20:14:06 +0000 (04:14 +0800)] 
fix(compiler-dom): stringifyStatic should remove attribute bindings with `null` value (#3477)

fix #3475

4 years agochore: fix test
Evan You [Thu, 25 Mar 2021 20:06:02 +0000 (16:06 -0400)] 
chore: fix test

4 years agofix(compiler-core): should not condense whitespace in RCDATA text mode (#3482)
HcySunYang [Thu, 25 Mar 2021 19:53:03 +0000 (03:53 +0800)] 
fix(compiler-core): should not condense whitespace in RCDATA text mode (#3482)

fix #3479

4 years agofix(runtime-core): should not cache property access during data() invocation (#3299)
HcySunYang [Thu, 25 Mar 2021 19:48:12 +0000 (03:48 +0800)] 
fix(runtime-core): should not cache property access during data() invocation (#3299)

fix #3297

4 years agofix(compiler-core): detect v-if branch root with comment as dev fragment (#2785)
HcySunYang [Thu, 25 Mar 2021 19:43:44 +0000 (03:43 +0800)] 
fix(compiler-core): detect v-if branch root with comment as dev fragment (#2785)

fix #2780

4 years agofix(types): union function prop (#3119)
07akioni [Thu, 25 Mar 2021 15:27:54 +0000 (23:27 +0800)] 
fix(types): union function prop (#3119)

fix #3357