]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
童欧巴 [Thu, 3 Dec 2020 17:27:03 +0000 (01:27 +0800)]
chore: fix file path in comments (#2709) [ci skip]
edison [Thu, 3 Dec 2020 17:17:04 +0000 (01:17 +0800)]
fix(runtime-core): skip patchBlockChildren if n1.dynamicChildren is null (#2717)
fix #2715
The bug was introduced by #2485 where a compiled slot may result in a bailed Fragment
which then gets its dynamicChildren set to `null` by the renderer.
Evan You [Thu, 3 Dec 2020 16:10:40 +0000 (11:10 -0500)]
refactor: cache constant check result on transform context
also fix edge case for missed createVNode import on static svg nodes
Evan You [Thu, 3 Dec 2020 16:02:53 +0000 (11:02 -0500)]
fix(compiler-core): fix missing createVNode import on nested v-for
fix #2718
luwuer [Thu, 3 Dec 2020 15:37:47 +0000 (23:37 +0800)]
fix(transition): ensure styles from *-leave-active trigger transition (#2716)
fix #2712
Evan You [Wed, 2 Dec 2020 22:23:43 +0000 (17:23 -0500)]
release: v3.0.4
Evan You [Wed, 2 Dec 2020 22:13:39 +0000 (17:13 -0500)]
build(deps-dev): bump rollup commonjs and node-resolve plugins
Evan You [Wed, 2 Dec 2020 22:05:30 +0000 (17:05 -0500)]
build(deps-dev): handle @types/jest bump
dependabot-preview[bot] [Wed, 2 Dec 2020 22:00:11 +0000 (17:00 -0500)]
build(deps-dev): bump @typescript-eslint/parser from 4.8.2 to 4.9.0 (#2698)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.8.2 to 4.9.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.9.0/packages/parser)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Evan You [Wed, 2 Dec 2020 19:58:03 +0000 (14:58 -0500)]
fix(types): fix ToRefs type on union value types
fix #2687
dependabot-preview[bot] [Wed, 2 Dec 2020 19:43:56 +0000 (14:43 -0500)]
build(deps): bump @babel/parser from 7.12.3 to 7.12.7 (#2660)
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.12.3 to 7.12.7.
- [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.12.7/packages/babel-parser)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
dependabot-preview[bot] [Wed, 2 Dec 2020 19:43:33 +0000 (14:43 -0500)]
build(deps): bump @babel/types from 7.12.1 to 7.12.7 (#2658)
Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.12.1 to 7.12.7.
- [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.12.7/packages/babel-types)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
luwuer [Wed, 2 Dec 2020 19:41:20 +0000 (03:41 +0800)]
fix(transition): respect rules in *-leave-from transition class (#2597)
fix #2593
GU Yiling [Wed, 2 Dec 2020 19:23:13 +0000 (03:23 +0800)]
fix(build): enable safari10 option for terser (#2472)
fix #2470
Evan You [Wed, 2 Dec 2020 17:15:45 +0000 (12:15 -0500)]
fix(transition): avoid invoking stale transition end callbacks
fix #2482
dependabot-preview[bot] [Wed, 2 Dec 2020 06:16:44 +0000 (06:16 +0000)]
build(deps-dev): bump semver from 7.3.2 to 7.3.4 (#2707)
Evan You [Tue, 1 Dec 2020 17:43:59 +0000 (12:43 -0500)]
fix(compiler-ssr): handle v-model checkbox with true-value binding
Evan You [Tue, 1 Dec 2020 17:02:37 +0000 (12:02 -0500)]
fix(v-model): respect checkbox true-value/false-value on initial render
fix #2694
Evan You [Tue, 1 Dec 2020 16:52:29 +0000 (11:52 -0500)]
fix(compiler-sfc): named imports from .vue file should not be treated as constant
fix #2699
Evan You [Tue, 1 Dec 2020 16:40:14 +0000 (11:40 -0500)]
fix(v-model): avoid mutation when using Set models + fix multi select Set model update
Evan You [Tue, 1 Dec 2020 16:16:40 +0000 (11:16 -0500)]
Revert "fix(v-model): mutate original array for v-model multi checkbox (#2663)"
This reverts commit
87581cd2662d6db21b35db7a0b5df2090c8a7fe2 .
ref: #2700
Evan You [Tue, 1 Dec 2020 14:21:39 +0000 (09:21 -0500)]
chore: fix snapshot
Evan You [Tue, 1 Dec 2020 01:07:06 +0000 (20:07 -0500)]
chore: fix setRef usage
Evan You [Tue, 1 Dec 2020 01:05:02 +0000 (20:05 -0500)]
refactor(runtime-dom): avoid unnecessary typeof checks during props patching
edison [Tue, 1 Dec 2020 00:28:03 +0000 (08:28 +0800)]
fix(runtime-dom): attribute should be removed with nullish values (#2679)
fix #2677
Evan You [Mon, 30 Nov 2020 23:59:14 +0000 (18:59 -0500)]
fix(async-component): forward refs on async component wrapper
fix #2671
HcySunYang [Mon, 30 Nov 2020 22:48:51 +0000 (06:48 +0800)]
fix(v-model): mutate original array for v-model multi checkbox (#2663)
Note: this change will break non-deep `watch` on the `v-model` bound array since the array is no longer replaced. This can be considered part of the Array watch changes in v3 as detailed at https://v3.vuejs.org/guide/migration/watch.html
This is unfortunate but unavoidable since the issue that it fixes is more important: `v-model` should definitely work with a non-ref reactive array.
fix #2662
Yasser Lahbibi [Mon, 30 Nov 2020 22:30:41 +0000 (23:30 +0100)]
fix(teleport): Teleport into SVG elements (#2648)
fix #2652
hiroki [Mon, 30 Nov 2020 21:36:02 +0000 (16:36 -0500)]
fix(provide): support symbols in applyOptions (#2616)
fix #2615
Evan You [Mon, 30 Nov 2020 21:30:36 +0000 (16:30 -0500)]
fix(compiler-core/v-on): handle falsy values when caching v-on handlers
fix #2605
Evan You [Mon, 30 Nov 2020 20:48:34 +0000 (15:48 -0500)]
fix(v-show): ensure v-show conflict with inline string style binding
fix #2583
Evan You [Mon, 30 Nov 2020 20:19:22 +0000 (15:19 -0500)]
fix(compiler-core): fix scope var reference check for v-on expressions
fix #2564
Evan You [Mon, 30 Nov 2020 20:11:58 +0000 (15:11 -0500)]
chore: annotate generated slot flag
edison [Mon, 30 Nov 2020 19:45:26 +0000 (03:45 +0800)]
fix(compiler-sfc): fix parsing error when `lang=""` is used on plain element (#2569)
fix #2566
Evan You [Mon, 30 Nov 2020 19:42:02 +0000 (14:42 -0500)]
fix(runtime-core): handle static node move in production
underfin [Mon, 30 Nov 2020 19:07:43 +0000 (03:07 +0800)]
fix(runtime-core): remove static node in production mode (#2556)
fix #2553
Thorsten Lünborg [Mon, 30 Nov 2020 19:04:45 +0000 (20:04 +0100)]
fix(runtime-core): ensure keep-alive deep-watches include/explude props (#2551)
fix #2550
Evan You [Mon, 30 Nov 2020 17:30:35 +0000 (12:30 -0500)]
feat(sfc): allow sfcs to recursively self-reference in template via name inferred from filename
e.g. A file named `FooBar.vue` can refer to itself as `<FooBar/>`. This gets rid of the need for the `name` option.
dependabot-preview[bot] [Mon, 30 Nov 2020 06:33:50 +0000 (06:33 +0000)]
build(deps-dev): bump rollup from 2.33.3 to 2.34.0 (#2690)
Evan You [Sat, 28 Nov 2020 18:51:32 +0000 (13:51 -0500)]
fix(compiler-sfc): should not remove import statements with no specifier when compiling script setup
Evan You [Fri, 27 Nov 2020 23:13:04 +0000 (18:13 -0500)]
build: avoid shipping patch flag name strings in prod
Evan You [Fri, 27 Nov 2020 23:04:26 +0000 (18:04 -0500)]
fix(attr-fallthrough): ensure consistent attr fallthrough for root fragments with comments
fix #2549
shadowings-zy [Fri, 27 Nov 2020 20:24:29 +0000 (04:24 +0800)]
fix(runtime-core): fix emit listener check on kebab-case events (#2542)
fix #2540
Evan You [Fri, 27 Nov 2020 19:35:38 +0000 (14:35 -0500)]
fix(slots): dynamically named slots should be keyed by name
fix #2535
Thorsten Lünborg [Fri, 27 Nov 2020 19:16:00 +0000 (20:16 +0100)]
fix(reactivity): ensure add/set on reactive collections return the proxy (#2534)
fix #2530
HcySunYang [Fri, 27 Nov 2020 19:01:01 +0000 (03:01 +0800)]
fix(runtime-core): should pause tracking when initializing legacy options (#2524)
fix #2521
Evan You [Fri, 27 Nov 2020 17:35:00 +0000 (12:35 -0500)]
fix(compiler-ssr): should not render key/ref bindings in ssr
Evan You [Fri, 27 Nov 2020 17:22:14 +0000 (12:22 -0500)]
fix(compiler-ssr): generate correct children for transition-group
fix #2510
Evan You [Fri, 27 Nov 2020 16:04:15 +0000 (11:04 -0500)]
fix(compiler-core): fix unintended imports in esm-bundler builds
fix #2258, fix #2515
Evan You [Fri, 27 Nov 2020 15:34:45 +0000 (10:34 -0500)]
fix: allow hmr in all builds
close #2571
Thorsten Lünborg [Fri, 27 Nov 2020 15:24:31 +0000 (16:24 +0100)]
fix(reactivity): ensure readonly on plain arrays doesn't track array methods. (#2506)
fix #2493
Evan You [Fri, 27 Nov 2020 15:10:25 +0000 (10:10 -0500)]
fix(runtime-core): skip functional components in public $parent chain traversal
fix #2437
Evan You [Fri, 27 Nov 2020 15:00:34 +0000 (10:00 -0500)]
refactor(compiler-core): reduce slot props check iterations
ref: #2490
edison [Fri, 27 Nov 2020 14:48:30 +0000 (22:48 +0800)]
fix(compiler-core): transform kebab case props to camelcase on slots (#2490)
fix #2488
Thorsten Lünborg [Fri, 27 Nov 2020 14:31:50 +0000 (15:31 +0100)]
fix(runtime-core): ensure watchers are always registered to correct instance owner (#2495)
close: #2381
HcySunYang [Thu, 26 Nov 2020 16:35:45 +0000 (00:35 +0800)]
fix(slots): should render fallback content when slot content contains no valid nodes (#2485)
fix #2347, fix #2461
Evan You [Thu, 26 Nov 2020 16:06:55 +0000 (11:06 -0500)]
fix(suspense): fix nested async child toggle inside already resovled suspense
fix #2215
Evan You [Thu, 26 Nov 2020 15:01:36 +0000 (10:01 -0500)]
test: tests for script setup helpers
Evan You [Thu, 26 Nov 2020 14:25:35 +0000 (09:25 -0500)]
fix(script-setup): ensure useContext() return valid context
dependabot-preview[bot] [Thu, 26 Nov 2020 06:31:10 +0000 (06:31 +0000)]
build(deps-dev): bump @types/node from 14.14.9 to 14.14.10 (#2672)
Evan You [Wed, 25 Nov 2020 16:37:38 +0000 (11:37 -0500)]
chore: changelog [ci skip]
Evan You [Wed, 25 Nov 2020 16:16:21 +0000 (11:16 -0500)]
release: v3.0.3
Evan You [Wed, 25 Nov 2020 15:58:52 +0000 (10:58 -0500)]
workflow: allow specifying release tag in release script
Evan You [Wed, 25 Nov 2020 15:30:29 +0000 (10:30 -0500)]
chore: fix snapshots
Evan You [Wed, 25 Nov 2020 00:04:03 +0000 (19:04 -0500)]
wip: update directive scope variable mapping
Evan You [Tue, 24 Nov 2020 21:55:43 +0000 (16:55 -0500)]
wip: revert helpers to compiler-only
Evan You [Tue, 24 Nov 2020 20:28:35 +0000 (15:28 -0500)]
wip: support inherit-attrs="false" on sfc `<tempalte>`
Evan You [Tue, 24 Nov 2020 20:12:59 +0000 (15:12 -0500)]
wip: defineOptions -> defineProps + defineEmit + useContext
Evan You [Mon, 23 Nov 2020 21:32:24 +0000 (16:32 -0500)]
wip: support resolving directives from setup scope variables by naming convention
v-my-dir can be resovled from setup scope variable named "vMyDir".
dependabot-preview[bot] [Tue, 24 Nov 2020 06:26:43 +0000 (06:26 +0000)]
build(deps-dev): bump @typescript-eslint/parser from 4.8.1 to 4.8.2 (#2665)
dependabot-preview[bot] [Tue, 24 Nov 2020 06:25:10 +0000 (06:25 +0000)]
build(deps-dev): bump lint-staged from 10.5.1 to 10.5.2 (#2664)
dependabot-preview[bot] [Mon, 23 Nov 2020 06:41:34 +0000 (06:41 +0000)]
build(deps-dev): bump eslint from 7.13.0 to 7.14.0 (#2659)
Evan You [Sun, 22 Nov 2020 04:53:32 +0000 (23:53 -0500)]
chore: move style vars deprecation warning to a parse error
Evan You [Sat, 21 Nov 2020 21:06:50 +0000 (16:06 -0500)]
chore: warning for outdated hmr api usage
Evan You [Sat, 21 Nov 2020 00:26:07 +0000 (19:26 -0500)]
refactor(compiler): better constant hoist/stringify checks
Evan You [Fri, 20 Nov 2020 22:16:28 +0000 (17:16 -0500)]
workflow: log options in template-explorer
Evan You [Fri, 20 Nov 2020 19:22:51 +0000 (14:22 -0500)]
wip: more consistent compiler-sfc usage + inline mode for ssr
Evan You [Fri, 20 Nov 2020 16:02:10 +0000 (11:02 -0500)]
chore: more readme info for compiler-sfc
dependabot-preview[bot] [Fri, 20 Nov 2020 07:47:58 +0000 (07:47 +0000)]
build(deps-dev): bump typescript from 4.0.5 to 4.1.2 (#2647)
dependabot-preview[bot] [Fri, 20 Nov 2020 07:45:44 +0000 (07:45 +0000)]
build(deps-dev): bump @types/node from 14.14.8 to 14.14.9 (#2646)
Evan You [Fri, 20 Nov 2020 01:36:15 +0000 (20:36 -0500)]
wip: better experimental feature warnings
Evan You [Fri, 20 Nov 2020 01:02:27 +0000 (20:02 -0500)]
Revert "wip: allow scriptCompiled to be cached on sfc descriptor"
This reverts commit
737ef424a0ca1eb3a856b737e269025fe0ced1d7 .
Evan You [Thu, 19 Nov 2020 21:58:07 +0000 (16:58 -0500)]
wip: fix default export side effect handling
Evan You [Thu, 19 Nov 2020 21:17:54 +0000 (16:17 -0500)]
wip: fix compileScript script/script-setup co-usage
Evan You [Thu, 19 Nov 2020 20:32:32 +0000 (15:32 -0500)]
wip: fix cssVars option warning check
Evan You [Thu, 19 Nov 2020 20:30:33 +0000 (15:30 -0500)]
wip: fix default export codegen
Evan You [Thu, 19 Nov 2020 17:33:52 +0000 (12:33 -0500)]
wip: allow scriptCompiled to be cached on sfc descriptor
Evan You [Thu, 19 Nov 2020 17:33:17 +0000 (12:33 -0500)]
wip: return empty string if no cssVars are present
Evan You [Thu, 19 Nov 2020 17:17:39 +0000 (12:17 -0500)]
wip: do not return type imports
dependabot-preview[bot] [Thu, 19 Nov 2020 06:16:47 +0000 (06:16 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.11.4 to 7.12.0 (#2637)
Evan You [Thu, 19 Nov 2020 03:39:08 +0000 (22:39 -0500)]
fix(compiler-core/compiler-sfc): handle destructure assignment expressions
Evan You [Thu, 19 Nov 2020 03:34:55 +0000 (22:34 -0500)]
chore: fix tests
Evan You [Thu, 19 Nov 2020 02:16:09 +0000 (21:16 -0500)]
wip: ignore non-ref const mutation cases in codegen
Evan You [Thu, 19 Nov 2020 00:38:18 +0000 (19:38 -0500)]
wip: properly handle assignment/update expressions in inline mode
Evan You [Wed, 18 Nov 2020 20:17:50 +0000 (15:17 -0500)]
refactor: finer grained binding types for setup
Evan You [Wed, 18 Nov 2020 17:34:59 +0000 (12:34 -0500)]
wip: ensure string template refs work in inline mode
Evan You [Wed, 18 Nov 2020 17:09:10 +0000 (12:09 -0500)]
workflow: add inline option to template explorer
Evan You [Wed, 18 Nov 2020 16:07:10 +0000 (11:07 -0500)]
refactor(compiler-sfc): parse css vars directly as part of sfc descriptor
dependabot-preview[bot] [Wed, 18 Nov 2020 06:17:33 +0000 (06:17 +0000)]
build(deps-dev): bump rollup from 2.33.2 to 2.33.3 (#2631)
dependabot-preview[bot] [Wed, 18 Nov 2020 06:16:10 +0000 (06:16 +0000)]
build(deps-dev): bump @typescript-eslint/parser from 4.7.0 to 4.8.1 (#2630)