Evan You
9cf4518936
chore: fix test alias for vue
2020-01-29 18:03:42 -05:00
Evan You
eaf414f063
test(ssr): test rendering vnode elements
2020-01-29 17:36:06 -05:00
Evan You
8cdaf28515
test(ssr): test for rendering components
2020-01-29 16:46:18 -05:00
Evan You
6e06810add
test(ssr): tests for utils and props rendering
2020-01-29 15:10:45 -05:00
Evan You
730d329f79
fix(compiler-core): relax error on unknown entities
...
close #663
2020-01-29 12:16:58 -05:00
Evan You
93eba4347d
chore: fix template explorer mounting
2020-01-29 11:28:18 -05:00
Evan You
bc07e95ca8
fix(ssr): avoid hard-coded ssr checks in cjs builds
2020-01-29 09:49:17 -05:00
Evan You
6b1ce00621
wip(ssr): renderer support for optimized and manual slots
2020-01-28 22:58:02 -05:00
Evan You
a7b0954f14
wip(ssr): move ssr only utils to conditional export
2020-01-28 22:14:43 -05:00
Evan You
e6e2c58234
fix(runtime-dom/ssr): properly handle xlink and boolean attributes
2020-01-28 22:03:53 -05:00
Evan You
6f43c4b516
wip(ssr): vdom serialization
2020-01-28 18:48:27 -05:00
Evan You
8857b4f288
wip(ssr): improve buffer typing
2020-01-28 10:46:13 -05:00
Evan You
78beed2574
build: support source map in build and dev scripts
2020-01-28 10:28:48 -05:00
dependabot-preview[bot]
827fd05644
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>
2020-01-28 07:27:43 +00:00
dependabot-preview[bot]
46f1146b91
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>
2020-01-28 07:25:24 +00:00
dependabot-preview[bot]
0c0f4d9c4a
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>
2020-01-28 07:24:46 +00:00
Evan You
f4d190cc9c
wip(ssr): further restructure
2020-01-27 18:06:37 -05:00
Evan You
27fbfbdb8b
fix(runtime-core): render context set should not unwrap reactive values
2020-01-27 18:05:30 -05:00
Evan You
012bc5df9d
wip(ssr): restructure
2020-01-27 17:23:42 -05:00
Evan You
d293876c34
release: v3.0.0-alpha.4
2020-01-27 16:20:00 -05:00
Evan You
ccc3312113
chore: add compiler-ssr to skipped packages for now
2020-01-27 16:00:19 -05:00
Evan You
6b10f0cd1d
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`.
2020-01-27 16:00:18 -05:00
Evan You
763faac182
wip(ssr): revert reactivity ssr paths
...
The perf gains are not worth the correctness issues these paths may lead to
2020-01-27 16:00:18 -05:00
Evan You
cc47ae0118
test: update snapshots for toDisplayString
2020-01-27 16:00:18 -05:00
Evan You
2884831065
fix(runtime-core): instance should not expose non-declared props
2020-01-27 16:00:18 -05:00
Evan You
e43f5935b5
refactor: better variable naming
2020-01-27 16:00:18 -05:00
Evan You
066ba82c7f
wip(ssr): escape helpers
2020-01-27 16:00:18 -05:00
Evan You
4e40d0d7c8
chore: fix ssr compiler version
2020-01-27 16:00:18 -05:00
Evan You
297282a812
perf(ssr): avoid unnecessary async overhead
2020-01-27 16:00:17 -05:00
Evan You
8c892e0392
test: fix dts tests for 1ccecc0
2020-01-27 16:00:17 -05:00
Evan You
25a0d4a65f
wip(ssr): reduce reactivity overhead during ssr
2020-01-27 16:00:17 -05:00
Evan You
cee36ad028
wip(ssr): render real components
2020-01-27 16:00:17 -05:00
Evan You
da25517377
wip(ssr): initial work on server-renderer
2020-01-27 16:00:17 -05:00
Evan You
c07751fd36
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()
```
2020-01-27 16:00:17 -05:00
Evan You
eacd390992
chore: scaffold ssr compiler
2020-01-27 16:00:17 -05:00
dependabot-preview[bot]
70e730fd19
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>
2020-01-27 08:09:34 +00:00
Evan You
2837ce8428
fix(v-model/emit): update:camelCase events should trigger kebab case equivalent
...
close #656
2020-01-26 14:14:03 -05:00
Evan You
48152bc88e
fix(runtime-dom): should not access document in non-browser env
...
fix #657
2020-01-25 22:31:38 -05:00
dependabot-preview[bot]
963c71a7ed
build(deps-dev): bump @types/jest from 24.9.0 to 24.9.1
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 24.9.0 to 24.9.1.
- [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>
2020-01-24 07:59:54 +00:00
Evan You
aefb7d282e
fix(reactivity): Array methods relying on identity should work with raw values
2020-01-23 13:42:31 -05:00
dependabot-preview[bot]
3919c7840d
build(deps-dev): bump @microsoft/api-extractor from 7.7.6 to 7.7.7
...
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack ) from 7.7.6 to 7.7.7.
- [Release notes](https://github.com/microsoft/rushstack/releases )
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.7.6...@microsoft/api-extractor_v7.7.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-23 08:10:36 +00:00
Evan You
52e4ac0727
chore: fix changelog formatting [ci skip]
2020-01-22 11:12:55 -05:00
Evan You
b41677bf42
release: v3.0.0-alpha.3
2020-01-22 11:10:30 -05:00
Evan You
0b992307a6
build: adjust release tag
2020-01-22 10:51:17 -05:00
likui
ec63623fe8
fix: Suspense should include into dynamic children ( #653 )
...
fix #649
2020-01-22 10:45:27 -05:00
Evan You
2569890e31
refactor: move mockWarn utility to @vue/shared
...
close #652
2020-01-22 09:29:45 -05:00
dependabot-preview[bot]
95a8beb787
build(deps-dev): bump @microsoft/api-extractor from 7.7.5 to 7.7.6
...
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack ) from 7.7.5 to 7.7.6.
- [Release notes](https://github.com/microsoft/rushstack/releases )
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.7.5...@microsoft/api-extractor_v7.7.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-22 08:00:28 +00:00
Evan You
4f06eebc1c
fix(dom): fix <svg> and <foreignObject> mount and updates
2020-01-21 11:32:33 -05:00
dependabot-preview[bot]
da8c31dc7f
build(deps-dev): bump rollup from 1.29.0 to 1.29.1
...
Bumps [rollup](https://github.com/rollup/rollup ) from 1.29.0 to 1.29.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.29.0...v1.29.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-21 07:28:56 +00:00
Evan You
f2ac28b31e
fix(compiler-core): force <svg> into blocks for correct runtime isSVG
...
state during patch
2020-01-20 14:48:26 -05:00