]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
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
Evan You [Thu, 30 Jan 2020 17:03:38 +0000 (12:03 -0500)]
chore: use more representative size check code
Evan You [Thu, 30 Jan 2020 02:13:34 +0000 (21:13 -0500)]
test(ssr): test scopeId handling in vdom serialization
Evan You [Wed, 29 Jan 2020 23:03:42 +0000 (18:03 -0500)]
chore: fix test alias for vue
Evan You [Wed, 29 Jan 2020 22:36:06 +0000 (17:36 -0500)]
test(ssr): test rendering vnode elements
Evan You [Wed, 29 Jan 2020 21:46:18 +0000 (16:46 -0500)]
test(ssr): test for rendering components
Evan You [Wed, 29 Jan 2020 20:10:45 +0000 (15:10 -0500)]
test(ssr): tests for utils and props rendering
Evan You [Wed, 29 Jan 2020 17:16:58 +0000 (12:16 -0500)]
fix(compiler-core): relax error on unknown entities
close #663
Evan You [Wed, 29 Jan 2020 16:28:18 +0000 (11:28 -0500)]
chore: fix template explorer mounting
Evan You [Wed, 29 Jan 2020 14:49:17 +0000 (09:49 -0500)]
fix(ssr): avoid hard-coded ssr checks in cjs builds
Evan You [Wed, 29 Jan 2020 03:58:02 +0000 (22:58 -0500)]
wip(ssr): renderer support for optimized and manual slots
Evan You [Wed, 29 Jan 2020 03:14:43 +0000 (22:14 -0500)]
wip(ssr): move ssr only utils to conditional export
Evan You [Wed, 29 Jan 2020 03:03:53 +0000 (22:03 -0500)]
fix(runtime-dom/ssr): properly handle xlink and boolean attributes
Evan You [Tue, 28 Jan 2020 23:48:27 +0000 (18:48 -0500)]
wip(ssr): vdom serialization
Evan You [Tue, 28 Jan 2020 15:46:13 +0000 (10:46 -0500)]
wip(ssr): improve buffer typing
Evan You [Tue, 28 Jan 2020 15:28:40 +0000 (10:28 -0500)]
build: support source map in build and dev scripts
dependabot-preview[bot] [Tue, 28 Jan 2020 07:23:11 +0000 (07:23 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.7.7 to 7.7.8
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.7.7 to 7.7.8.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.7.7...@microsoft/api-extractor_v7.7.8)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 28 Jan 2020 07:22:29 +0000 (07:22 +0000)]
build(deps-dev): bump puppeteer from 2.0.0 to 2.1.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v2.0.0...v2.1.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 28 Jan 2020 07:21:36 +0000 (07:21 +0000)]
build(deps-dev): bump rollup from 1.30.0 to 1.30.1
Bumps [rollup](https://github.com/rollup/rollup) from 1.30.0 to 1.30.1.
- [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.0...v1.30.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Mon, 27 Jan 2020 23:06:37 +0000 (18:06 -0500)]
wip(ssr): further restructure
Evan You [Mon, 27 Jan 2020 23:05:30 +0000 (18:05 -0500)]
fix(runtime-core): render context set should not unwrap reactive values
Evan You [Mon, 27 Jan 2020 22:23:42 +0000 (17:23 -0500)]
wip(ssr): restructure
Evan You [Mon, 27 Jan 2020 21:20:00 +0000 (16:20 -0500)]
release: v3.0.0-alpha.4
Evan You [Mon, 27 Jan 2020 21:00:08 +0000 (16:00 -0500)]
chore: add compiler-ssr to skipped packages for now
Evan You [Mon, 27 Jan 2020 20:15:22 +0000 (15:15 -0500)]
refactor: remove implicit reactive() call on renderContext
reference: https://github.com/vuejs/rfcs/issues/121
BREAKING CHANGE: object returned from `setup()` are no longer implicitly
passed to `reactive()`.
The renderContext is the object returned by `setup()` (or a new object
if no setup() is present). Before this change, it was implicitly passed
to `reactive()` for ref unwrapping. But this has the side effect of
unnecessary deep reactive conversion on properties that should not be
made reactive (e.g. computed return values and injected non-reactive
objects), and can lead to performance issues.
This change removes the `reactive()` call and instead performs a
shallow ref unwrapping at the render proxy level. The breaking part is
when the user returns an object with a plain property from `setup()`,
e.g. `return { count: 0 }`, this property will no longer trigger
updates when mutated by a in-template event handler. Instead, explicit
refs are required.
This also means that any objects not explicitly made reactive in
`setup()` will remain non-reactive. This can be desirable when
exposing heavy external stateful objects on `this`.
Evan You [Mon, 27 Jan 2020 20:15:13 +0000 (15:15 -0500)]
wip(ssr): revert reactivity ssr paths
The perf gains are not worth the correctness issues these paths may lead to
Evan You [Mon, 27 Jan 2020 19:42:01 +0000 (14:42 -0500)]
test: update snapshots for toDisplayString
Evan You [Mon, 27 Jan 2020 19:30:00 +0000 (14:30 -0500)]
fix(runtime-core): instance should not expose non-declared props
Evan You [Mon, 27 Jan 2020 18:13:38 +0000 (13:13 -0500)]
refactor: better variable naming
Evan You [Sun, 26 Jan 2020 22:35:21 +0000 (17:35 -0500)]
wip(ssr): escape helpers
Evan You [Sun, 26 Jan 2020 21:39:02 +0000 (16:39 -0500)]
chore: fix ssr compiler version
Evan You [Sun, 26 Jan 2020 21:13:12 +0000 (16:13 -0500)]
perf(ssr): avoid unnecessary async overhead
Evan You [Sun, 26 Jan 2020 03:21:06 +0000 (22:21 -0500)]
test: fix dts tests for
1ccecc0
Evan You [Fri, 24 Jan 2020 16:39:52 +0000 (11:39 -0500)]
wip(ssr): reduce reactivity overhead during ssr
Evan You [Fri, 24 Jan 2020 03:23:10 +0000 (22:23 -0500)]
wip(ssr): render real components
Evan You [Fri, 24 Jan 2020 02:01:56 +0000 (21:01 -0500)]
wip(ssr): initial work on server-renderer
Evan You [Thu, 23 Jan 2020 20:05:38 +0000 (15:05 -0500)]
refactor: adjust `createApp` related API signatures
BREAKING CHANGE: `createApp` API has been adjusted.
- `createApp()` now accepts the root component, and optionally a props
object to pass to the root component.
- `app.mount()` now accepts a single argument (the root container)
- `app.unmount()` no longer requires arguments.
New behavior looks like the following:
``` js
const app = createApp(RootComponent)
app.mount('#app')
app.unmount()
```
Evan You [Wed, 22 Jan 2020 15:39:09 +0000 (10:39 -0500)]
chore: scaffold ssr compiler
dependabot-preview[bot] [Mon, 27 Jan 2020 08:06:41 +0000 (08:06 +0000)]
build(deps-dev): bump rollup from 1.29.1 to 1.30.0
Bumps [rollup](https://github.com/rollup/rollup) from 1.29.1 to 1.30.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.29.1...v1.30.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>