]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
Evan You [Tue, 11 Feb 2020 23:40:21 +0000 (18:40 -0500)]
test: test updates for
d40c642
Evan You [Tue, 11 Feb 2020 23:12:56 +0000 (18:12 -0500)]
refactor(compiler-core): use dedicated node type for element codegen
Previously codegen node for elements and components used raw expressions,
which leads to multiple permutations of AST shapes based on whether the
node is a block or has directives. The complexity is spread across the
entire compiler and occurs whenever a transform needs to deal with
element codegen nodes.
This refactor centralizes the handling of all possible permutations
into the codegen phase, so that all elements/components will have a
consistent node type throughout the transform phase.
The refactor is split into two commits (with test updates in a separate
one) so changes can be easier to inspect.
Yang Mingshan [Tue, 11 Feb 2020 12:30:25 +0000 (20:30 +0800)]
fix(runtime-core/scheduler): invalidate job (#717)
Evan You [Mon, 10 Feb 2020 23:32:11 +0000 (18:32 -0500)]
refactor(compiler-core): hoist static text calls between elements
Evan You [Mon, 10 Feb 2020 23:19:49 +0000 (18:19 -0500)]
fix(compiler): fix v-for fragment openBlock argument
Evan You [Mon, 10 Feb 2020 22:29:12 +0000 (17:29 -0500)]
refactor(compiler): provide _ctx and _cache via arguments
Evan You [Mon, 10 Feb 2020 21:49:37 +0000 (16:49 -0500)]
fix(compiler-core): fix keep-alive when used in templates
fix #715
Dmitry Sharshakov [Mon, 10 Feb 2020 19:37:35 +0000 (22:37 +0300)]
feat(server-renderer): support on-the-fly template compilation (#707)
Evan You [Mon, 10 Feb 2020 18:15:36 +0000 (13:15 -0500)]
fix(runtime-core): rework vnode hooks handling
- peroperly support directive on components (e.g. <foo v-show="x">)
- consistently invoke raw vnode hooks on component vnodes (fix #684)
Evan You [Mon, 10 Feb 2020 18:09:15 +0000 (13:09 -0500)]
fix(runtime-core/scheduler): avoid duplicate updates of child component
Evan You [Mon, 10 Feb 2020 17:06:36 +0000 (12:06 -0500)]
fix(runtime-core): should not return early on text patchFlag
fix vnode updated hook on elements with dynamic text children
Evan You [Mon, 10 Feb 2020 16:00:37 +0000 (11:00 -0500)]
feat(compiler-core/v-on): support @vnode-xxx usage for vnode hooks
Jonas [Mon, 10 Feb 2020 14:36:19 +0000 (15:36 +0100)]
fix(transition-group): handle multiple move-classes (#679)
fix #678
Dmitry Sharshakov [Mon, 10 Feb 2020 14:34:13 +0000 (17:34 +0300)]
test(compiler-sfc): add real tests for source maps (#704)
djy0 [Mon, 10 Feb 2020 14:33:04 +0000 (22:33 +0800)]
chore(compiler-core/codegen): avoid generate indent spaces of empty lines. (#701)
djy0 [Mon, 10 Feb 2020 14:20:07 +0000 (22:20 +0800)]
test(compiler-ssr): fix typo (#713)
Evan You [Mon, 10 Feb 2020 02:47:16 +0000 (21:47 -0500)]
refactor: ensure setup context.emit always point to intenral emit
Evan You [Mon, 10 Feb 2020 02:43:54 +0000 (21:43 -0500)]
fix: remove effect from public API
close #712
jods [Mon, 10 Feb 2020 02:42:34 +0000 (03:42 +0100)]
feat(runtime-core/reactivity): expose shallowReactive (#711)
James George [Sun, 9 Feb 2020 20:45:30 +0000 (02:15 +0530)]
chore: add GitHub sponsor button config (#708) [ci skip]
Evan You [Sun, 9 Feb 2020 18:19:10 +0000 (13:19 -0500)]
wip(ssr): use consistent attr key behavior in compiler
jods [Sun, 9 Feb 2020 20:25:17 +0000 (21:25 +0100)]
perf(reactivity): better computed tracking (#710)
hareku [Sun, 9 Feb 2020 18:12:16 +0000 (03:12 +0900)]
chore(shared): fix comment (#705) [ci skip]
Evan You [Sat, 8 Feb 2020 00:04:55 +0000 (19:04 -0500)]
test: update tests and snapshots for helper prefixing
Evan You [Fri, 7 Feb 2020 23:53:39 +0000 (18:53 -0500)]
refactor(compiler): prefix all imported helpers to avoid scope collision
Evan You [Fri, 7 Feb 2020 23:00:30 +0000 (18:00 -0500)]
build: drop unnecessary codegen branch for global build
Evan You [Fri, 7 Feb 2020 22:18:12 +0000 (17:18 -0500)]
fix(runtime-core): fix ShapeFlags tree shaking
Evan You [Fri, 7 Feb 2020 22:00:39 +0000 (17:00 -0500)]
fix(runtime-core): fix keep-alive tree-shaking
Evan You [Fri, 7 Feb 2020 19:24:56 +0000 (14:24 -0500)]
fix(compiler-dom): fix duplicated transforms
Evan You [Fri, 7 Feb 2020 18:56:18 +0000 (13:56 -0500)]
wip(ssr): proper scope analysis for ssr vnode slot fallback
Evan You [Fri, 7 Feb 2020 06:06:51 +0000 (01:06 -0500)]
wip(ssr): ssr slot vnode fallback
Evan You [Fri, 7 Feb 2020 02:47:07 +0000 (21:47 -0500)]
workflow: log compile time in template explorer
Evan You [Thu, 6 Feb 2020 23:31:36 +0000 (18:31 -0500)]
chore: comment typo
Evan You [Thu, 6 Feb 2020 23:03:14 +0000 (18:03 -0500)]
wip(ssr): generate correct component code
Evan You [Thu, 6 Feb 2020 22:45:34 +0000 (17:45 -0500)]
wip(ssr): scopeId in slots
Evan You [Thu, 6 Feb 2020 21:51:26 +0000 (16:51 -0500)]
wip(ssr): element scopeId
Evan You [Thu, 6 Feb 2020 20:53:26 +0000 (15:53 -0500)]
feat(compiler): warn invalid children for transition and keep-alive
Evan You [Thu, 6 Feb 2020 20:52:56 +0000 (15:52 -0500)]
workflow: adjust size script
Evan You [Thu, 6 Feb 2020 20:29:02 +0000 (15:29 -0500)]
wip(compiler-ssr): built-in component fallthrough
Evan You [Thu, 6 Feb 2020 20:10:21 +0000 (15:10 -0500)]
build: reduce compiler minified size
dependabot-preview[bot] [Thu, 6 Feb 2020 17:10:35 +0000 (17:10 +0000)]
build(deps-dev): bump puppeteer from 2.1.0 to 2.1.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v2.1.0...v2.1.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Thu, 6 Feb 2020 17:09:09 +0000 (12:09 -0500)]
test: update snapshots
Evan You [Thu, 6 Feb 2020 17:07:25 +0000 (12:07 -0500)]
refactor(ssr): prefix ssr helpers
Evan You [Thu, 6 Feb 2020 17:05:53 +0000 (12:05 -0500)]
wip(compiler-ssr): component slots
Evan You [Thu, 6 Feb 2020 15:22:16 +0000 (10:22 -0500)]
workflow: improve template-explorer local load speed
Evan You [Thu, 6 Feb 2020 04:07:23 +0000 (23:07 -0500)]
wip(ssr): basic components
Evan You [Thu, 6 Feb 2020 02:27:03 +0000 (21:27 -0500)]
chore: update contributing guide [ci skip]
Evan You [Thu, 6 Feb 2020 02:10:43 +0000 (21:10 -0500)]
test: increase e2e tests timeout
Evan You [Thu, 6 Feb 2020 02:04:40 +0000 (21:04 -0500)]
wip(srr): slot outlet
Evan You [Wed, 5 Feb 2020 22:29:41 +0000 (17:29 -0500)]
chore: fix snapshot
Evan You [Wed, 5 Feb 2020 22:01:00 +0000 (17:01 -0500)]
wip(ssr): v-model w/ dynamic type & props
Evan You [Wed, 5 Feb 2020 20:21:47 +0000 (15:21 -0500)]
fix(v-model): should use dynamic directive on input with dynamic v-bind
Evan You [Wed, 5 Feb 2020 20:21:20 +0000 (15:21 -0500)]
wip(ssr): should only render renderable values
Evan You [Wed, 5 Feb 2020 19:30:34 +0000 (14:30 -0500)]
test: fix tests w/ nested CompoundExpressions
Evan You [Wed, 5 Feb 2020 19:23:03 +0000 (14:23 -0500)]
wip(compiler-ssr): v-model static types + textarea
Evan You [Wed, 5 Feb 2020 19:21:09 +0000 (14:21 -0500)]
build: drop compiler error emit code in browser production build
Evan You [Wed, 5 Feb 2020 16:20:50 +0000 (11:20 -0500)]
fix(compiler-ssr): import helpers from correct packages
Evan You [Wed, 5 Feb 2020 03:56:53 +0000 (22:56 -0500)]
chore: fix snapshots
Evan You [Wed, 5 Feb 2020 03:49:47 +0000 (22:49 -0500)]
wip(ssr): handle `<textarea>` with dynamic key v-bind
Evan You [Wed, 5 Feb 2020 02:03:16 +0000 (21:03 -0500)]
wip(compiler-ssr): v-show
Evan You [Tue, 4 Feb 2020 23:42:13 +0000 (18:42 -0500)]
test(ssr): test renderAttr
Evan You [Tue, 4 Feb 2020 23:37:23 +0000 (18:37 -0500)]
wip(compiler-ssr): dynamic v-bind + class/style merging
Evan You [Tue, 4 Feb 2020 21:47:12 +0000 (16:47 -0500)]
wip(compiler-ssr): v-bind with static keys
Evan You [Tue, 4 Feb 2020 20:59:37 +0000 (15:59 -0500)]
workflow: add ssr mode in template explorer
Evan You [Tue, 4 Feb 2020 20:59:26 +0000 (15:59 -0500)]
wip(ssr): fix index
Evan You [Tue, 4 Feb 2020 20:58:54 +0000 (15:58 -0500)]
wip(ssr): remove cjs codegen mode
Evan You [Tue, 4 Feb 2020 17:20:51 +0000 (12:20 -0500)]
wip(ssr): v-bind basic usage
Dmitry Sharshakov [Tue, 4 Feb 2020 15:15:27 +0000 (18:15 +0300)]
feat(reactivity): add shallowReactive function (#689)
Jason [Tue, 4 Feb 2020 15:03:32 +0000 (23:03 +0800)]
fix(compiler-sfc): handle empty nodes with src attribute (#695)
Eduardo San Martin Morote [Tue, 4 Feb 2020 14:59:04 +0000 (15:59 +0100)]
fix(runtime-core/watch): trigger watcher with undefined as initial value (#687)
Fix #683
likui [Tue, 4 Feb 2020 14:24:49 +0000 (22:24 +0800)]
wip(ssr): fix naming for runtime helpers (#694)
Jacek Karczmarczyk [Tue, 4 Feb 2020 14:24:29 +0000 (21:24 +0700)]
chore: update runtime-dom/README example to latest signature (#693) [ci skip]
Evan You [Tue, 4 Feb 2020 03:21:45 +0000 (22:21 -0500)]
chore: fix test types
Evan You [Tue, 4 Feb 2020 01:47:41 +0000 (20:47 -0500)]
test(compiler-ssr): v-for tests
Evan You [Mon, 3 Feb 2020 23:30:56 +0000 (18:30 -0500)]
wip(ssr): v-for
Evan You [Mon, 3 Feb 2020 23:16:09 +0000 (18:16 -0500)]
refactor(ssr): adjust helper structure + renderList
Evan You [Mon, 3 Feb 2020 22:56:10 +0000 (17:56 -0500)]
wip(ssr): do not generate commas between statements
Evan You [Mon, 3 Feb 2020 22:47:06 +0000 (17:47 -0500)]
wip(ssr): ssr helper codegen
Evan You [Mon, 3 Feb 2020 20:52:38 +0000 (15:52 -0500)]
chore: remove stale files
Evan You [Mon, 3 Feb 2020 20:51:41 +0000 (15:51 -0500)]
wip(compiler-ssr): v-if
Evan You [Mon, 3 Feb 2020 16:46:14 +0000 (11:46 -0500)]
wip(compiler-ssr): v-html, v-text & textarea value
dependabot-preview[bot] [Mon, 3 Feb 2020 08:44:36 +0000 (08:44 +0000)]
build(deps-dev): bump @rollup/plugin-replace from 2.3.0 to 2.3.1
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/replace-v2.3.0...replace-v2.3.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 3 Feb 2020 08:39:44 +0000 (08:39 +0000)]
build(deps-dev): bump @rollup/plugin-json from 4.0.1 to 4.0.2
Bumps [@rollup/plugin-json](https://github.com/rollup/plugins) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/url-v4.0.1...url-v4.0.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Mon, 3 Feb 2020 03:28:54 +0000 (22:28 -0500)]
wip(compiler-ssr): text and interpolation
Evan You [Mon, 3 Feb 2020 03:08:20 +0000 (22:08 -0500)]
refactor(ssr): move escapeHtml to shared
Evan You [Mon, 3 Feb 2020 02:47:10 +0000 (21:47 -0500)]
test(compiler-ssr): test for ssr element transform
Evan You [Mon, 3 Feb 2020 02:35:28 +0000 (21:35 -0500)]
test(compiler-core): test TempalteLiteral and IfStatement codegen
Evan You [Sun, 2 Feb 2020 05:06:49 +0000 (00:06 -0500)]
chore: remove stale file
Evan You [Sun, 2 Feb 2020 05:05:27 +0000 (00:05 -0500)]
wip(ssr): initial scaffold for compiler-ssr
Evan You [Fri, 31 Jan 2020 22:20:52 +0000 (17:20 -0500)]
refactor(compiler-core): improve template type handling
Evan You [Fri, 31 Jan 2020 21:15:05 +0000 (16:15 -0500)]
fix(compiler-core): only check is prop on `<component>`
Evan You [Fri, 31 Jan 2020 16:16:51 +0000 (11:16 -0500)]
chore: use correct import path for vCloak
Evan You [Fri, 31 Jan 2020 16:07:10 +0000 (11:07 -0500)]
chore: rmeove unused export
Evan You [Fri, 31 Jan 2020 16:06:37 +0000 (11:06 -0500)]
test: fix snapshots
Evan You [Thu, 30 Jan 2020 22:49:42 +0000 (17:49 -0500)]
feat(compiler-core): support mode: cjs in codegen
Evan You [Thu, 30 Jan 2020 21:30:51 +0000 (16:30 -0500)]
workflow: add version of template-explorer using local deps
dependabot-preview[bot] [Fri, 31 Jan 2020 07:46:42 +0000 (07:46 +0000)]
build(deps-dev): bump rollup from 1.30.1 to 1.31.0
Bumps [rollup](https://github.com/rollup/rollup) from 1.30.1 to 1.31.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.30.1...v1.31.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Gabriel Loiácono [Fri, 31 Jan 2020 14:43:34 +0000 (11:43 -0300)]
style(compiler-core): while/expression instead of while/true (#680)
Evan You [Thu, 30 Jan 2020 17:20:23 +0000 (12:20 -0500)]
wip(ssr): should apply app context when rendering app instance
Evan You [Thu, 30 Jan 2020 17:09:50 +0000 (12:09 -0500)]
refactor(ssr): adjust renderToString implementation