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
likui
0c42a6d8fa
types: refactor ref unwrapping ( #646 )
2020-01-20 13:22:18 -05:00
yang
98d50d874d
fix(transition): handle multiple transition classes ( #638 ) ( #645 )
...
fix #638
2020-01-20 12:44:01 -05:00
Rustin
5aa9868512
test(reactivity): declare the exact type ( #644 )
2020-01-20 12:02:08 -05:00
Evan You
035b6560f7
fix(runtime-core): isSVG check should also apply for patch branch
...
fix #639
2020-01-20 11:55:18 -05:00
Evan You
e81c8a32c7
feat(runtime-core): emit now returns array of return values from all triggered handlers
...
close #635
2020-01-20 11:24:08 -05:00
Ruijia Tang
aca2c2a81e
fix(compiler-core): avoid override user keys when injecting branch key ( #630 )
2020-01-20 10:15:53 -05:00
Sören Schwert
c71ca354b9
fix(compiler-sfc): only transform relative asset URLs ( #628 )
2020-01-20 09:57:17 -05:00
Rustin
787ac5f74e
test(runtime-core): modify test case to set different value ( #620 )
2020-01-20 09:43:58 -05:00
dependabot-preview[bot]
1542b5eb6f
build(deps-dev): bump @microsoft/api-extractor from 7.7.4 to 7.7.5
...
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack ) from 7.7.4 to 7.7.5.
- [Release notes](https://github.com/microsoft/rushstack/releases )
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.7.4...@microsoft/api-extractor_v7.7.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 08:01:12 +00:00
dependabot-preview[bot]
c7d6230eb0
build(deps-dev): bump @microsoft/api-extractor from 7.7.3 to 7.7.4
...
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack ) from 7.7.3 to 7.7.4.
- [Release notes](https://github.com/microsoft/rushstack/releases )
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.7.3...@microsoft/api-extractor_v7.7.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-17 07:43:03 +00:00
dependabot-preview[bot]
6d2e5aa50f
build(deps-dev): bump typescript from 3.7.4 to 3.7.5
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 3.7.4 to 3.7.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.7.4...v3.7.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-17 07:42:54 +00:00
IU
2b4d0d6501
types(reactivity): handle primitive + object intersection types in UnwrapRef ( #614 )
2020-01-16 17:47:47 -05:00
Cédric Exbrayat
2f6ec45d10
test: reformat defineComponent dts test ( #631 )
2020-01-16 17:46:25 -05:00
Evan You
751d838fb9
fix(runtime-core): should not warn unused attrs when accessed via setup context
...
close #625
2020-01-16 17:45:08 -05:00
Evan You
c35fea3d60
fix(runtime-core): condition for parent node check should be any different nodes
...
fix #622
2020-01-16 16:21:37 -05:00
likui
04ac6c467a
feat(runtime-core): support app.unmount(container) ( #601 )
...
close #593
2020-01-16 12:23:47 -05:00
dependabot-preview[bot]
8ec69cbc3f
build(deps-dev): bump @types/jest from 24.0.25 to 24.9.0
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 24.0.25 to 24.9.0.
- [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-16 08:07:17 +00:00
Sören Schwert
1081ef8089
chore: fix error reporting URL to point to vue-next ( #624 ) [ci skip]
2020-01-15 21:50:06 -05:00
dependabot-preview[bot]
e683cc6ed4
build(deps-dev): bump enquirer from 2.3.2 to 2.3.4
...
Bumps [enquirer](https://github.com/enquirer/enquirer ) from 2.3.2 to 2.3.4.
- [Release notes](https://github.com/enquirer/enquirer/releases )
- [Changelog](https://github.com/enquirer/enquirer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/enquirer/enquirer/compare/2.3.2...2.3.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 07:58:32 +00:00
dependabot-preview[bot]
2a757f3344
build(deps-dev): bump @microsoft/api-extractor from 7.7.2 to 7.7.3
...
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack ) from 7.7.2 to 7.7.3.
- [Release notes](https://github.com/microsoft/rushstack/releases )
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.7.2...@microsoft/api-extractor_v7.7.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 07:57:56 +00:00
Evan You
1d5a9eb7c1
chore: fix publish log [ci skip]
2020-01-13 17:53:54 -05:00
Evan You
5e35d6fb79
chore: fix release script temporary tag [ci skip]
2020-01-13 17:53:17 -05:00
Evan You
9f65d811af
release: v3.0.0-alpha.2
2020-01-13 17:44:30 -05:00
Evan You
2e9726e6a2
fix(runtime-core/renderer): fix v-if toggle inside blocks
...
Should check both branches for parent container access.
Fix #604 . Close #607 .
2020-01-13 17:31:22 -05:00
Cédric Exbrayat
74baea108a
fix(types): components options should accept components defined with defineComponent ( #602 )
2020-01-13 17:12:45 -05:00
likui
63a6563106
fix(reactivity): should delete observe value ( #598 )
...
fix #597
2020-01-13 17:11:49 -05:00
dependabot-preview[bot]
30aae0b4df
build(deps): bump postcss from 7.0.25 to 7.0.26 ( #570 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 7.0.25 to 7.0.26.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/master/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/7.0.25...7.0.26 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 10:49:57 -05:00
Rustin
4154cacc76
chore(scripts): fix typo ( #612 )
2020-01-13 13:09:30 +01:00
dependabot-preview[bot]
f84ed5baa0
build(deps-dev): bump rollup-plugin-terser from 5.1.3 to 5.2.0
...
Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser ) from 5.1.3 to 5.2.0.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases )
- [Commits](https://github.com/TrySound/rollup-plugin-terser/compare/v5.1.3...v5.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 08:52:34 +00:00
Yang Mingshan
f465199946
types: fix setup this type ( #605 )
2020-01-10 11:46:34 -05:00
dependabot-preview[bot]
b9479e2543
build(deps-dev): bump rollup from 1.28.0 to 1.29.0
...
Bumps [rollup](https://github.com/rollup/rollup ) from 1.28.0 to 1.29.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.28.0...v1.29.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 07:40:36 +00:00
dependabot-preview[bot]
eefc5e91ee
build(deps-dev): bump @microsoft/api-extractor from 7.7.1 to 7.7.2
...
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack ) from 7.7.1 to 7.7.2.
- [Release notes](https://github.com/microsoft/rushstack/releases )
- [Commits](https://github.com/microsoft/rushstack/commits/@microsoft/api-extractor_v7.7.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 07:37:30 +00:00
Kael
8f616a89c5
fix(runtime-core): allow classes to be passed as plugins ( #588 )
2020-01-08 12:40:24 -05:00