]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
5 years agotypes(runtime-core): improve types for transition hook
likui [Tue, 21 Apr 2020 04:06:10 +0000 (12:06 +0800)] 
types(runtime-core): improve types for transition hook

fix #1000

5 years agorelease: v3.0.0-beta.3 v3.0.0-beta.3
Evan You [Mon, 20 Apr 2020 21:00:26 +0000 (17:00 -0400)] 
release: v3.0.0-beta.3

5 years agofeat(runtime-core): improve warning for extraneous event listeners (#1005)
Andrew Talbot [Mon, 20 Apr 2020 20:40:59 +0000 (16:40 -0400)] 
feat(runtime-core): improve warning for extraneous event listeners (#1005)

fix #1001

5 years agofeat(warn): infer anonymous component named based on resolve name
Evan You [Mon, 20 Apr 2020 20:17:29 +0000 (16:17 -0400)] 
feat(warn): infer anonymous component named based on resolve name

5 years agofix(warn): fix component name inference in warning trace
Evan You [Mon, 20 Apr 2020 20:06:51 +0000 (16:06 -0400)] 
fix(warn): fix component name inference in warning trace

5 years agoperf(core): use `startsWith` instead of `indexOf` (#989)
Andrew Talbot [Mon, 20 Apr 2020 19:44:20 +0000 (15:44 -0400)] 
perf(core): use `startsWith` instead of `indexOf` (#989)

5 years agochore: changelog typo (#988) [ci skip]
Mohamed Nainar [Mon, 20 Apr 2020 19:38:43 +0000 (01:08 +0530)] 
chore: changelog typo (#988) [ci skip]

5 years agofeat(runtime-core): more specific warning for failed v-on fallthrough
Evan You [Mon, 20 Apr 2020 19:32:21 +0000 (15:32 -0400)] 
feat(runtime-core): more specific warning for failed v-on fallthrough

close #1001

5 years agofeat(build): provide more specific warnings for runtime compilation
Evan You [Mon, 20 Apr 2020 19:23:26 +0000 (15:23 -0400)] 
feat(build): provide more specific warnings for runtime compilation

close #1004

5 years agofix(runtime-core): should not cast prop value if prop did not change
Evan You [Mon, 20 Apr 2020 18:16:25 +0000 (14:16 -0400)] 
fix(runtime-core): should not cast prop value if prop did not change

fix #999

5 years agorefactor(hmr): simplify usage
Evan You [Mon, 20 Apr 2020 08:03:00 +0000 (04:03 -0400)] 
refactor(hmr): simplify usage

5 years agobuild: remove __BUNLDER__ flag so that HMR is available for all builds
Evan You [Mon, 20 Apr 2020 04:34:53 +0000 (00:34 -0400)] 
build: remove __BUNLDER__ flag so that HMR is available for all builds

5 years agorefactor(reactivity): simplify if condition (#1002)
limichange [Mon, 20 Apr 2020 17:39:35 +0000 (01:39 +0800)] 
refactor(reactivity): simplify if condition (#1002)

5 years agobuild(deps-dev): bump @rollup/plugin-json from 4.0.2 to 4.0.3
dependabot-preview[bot] [Mon, 20 Apr 2020 08:46:00 +0000 (08:46 +0000)] 
build(deps-dev): bump @rollup/plugin-json from 4.0.2 to 4.0.3

Bumps [@rollup/plugin-json](https://github.com/rollup/plugins) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/url-v4.0.2...json-v4.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agobuild(deps-dev): bump @rollup/plugin-replace from 2.3.1 to 2.3.2
dependabot-preview[bot] [Mon, 20 Apr 2020 08:45:53 +0000 (08:45 +0000)] 
build(deps-dev): bump @rollup/plugin-replace from 2.3.1 to 2.3.2

Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/replace-v2.3.1...replace-v2.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agobuild(deps-dev): bump jest from 25.3.0 to 25.4.0
dependabot-preview[bot] [Mon, 20 Apr 2020 08:44:44 +0000 (08:44 +0000)] 
build(deps-dev): bump jest from 25.3.0 to 25.4.0

Bumps [jest](https://github.com/facebook/jest) from 25.3.0 to 25.4.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v25.3.0...v25.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agobuild: adjust build formats
Evan You [Sun, 19 Apr 2020 22:42:07 +0000 (18:42 -0400)] 
build: adjust build formats

- Rename `esm` to `esm-browser`
- Add runtime-only build for `esm-browser`
- Add default CDN alias for jsdelivr

5 years agochore: remove a dead if branch (#986)
Jian Zhang [Fri, 17 Apr 2020 22:41:33 +0000 (15:41 -0700)] 
chore: remove a dead if branch (#986)

5 years agochore: edit changelog [ci skip]
Evan You [Fri, 17 Apr 2020 15:18:06 +0000 (11:18 -0400)] 
chore: edit changelog [ci skip]

5 years agorelease: v3.0.0-beta.2 v3.0.0-beta.2
Evan You [Fri, 17 Apr 2020 15:01:01 +0000 (11:01 -0400)] 
release: v3.0.0-beta.2

5 years agofix(runtime-core): fix user attched public instance properties that start with "$"
Evan You [Fri, 17 Apr 2020 14:23:10 +0000 (10:23 -0400)] 
fix(runtime-core): fix user attched public instance properties that start with "$"

5 years agofix(watch): fix deep watchers on refs containing primitives (#984)
Carlos Rodrigues [Fri, 17 Apr 2020 13:55:41 +0000 (14:55 +0100)] 
fix(watch): fix deep watchers on refs containing primitives (#984)

5 years agofeat(types): expose ComponentCustomOptions for declaring custom options
Evan You [Fri, 17 Apr 2020 13:41:36 +0000 (09:41 -0400)] 
feat(types): expose ComponentCustomOptions for declaring custom options

5 years agofeat(types): feat(types): add `ComponentCustomProperties` interface (#982)
Evan You [Fri, 17 Apr 2020 13:12:50 +0000 (09:12 -0400)] 
feat(types): feat(types): add `ComponentCustomProperties` interface (#982)

5 years agofeat(types): expose ExtractPropTypes (#983)
Cédric Exbrayat [Fri, 17 Apr 2020 13:00:25 +0000 (15:00 +0200)] 
feat(types): expose ExtractPropTypes (#983)

5 years agotest(compiler-core): expect onError to be called (#976)
扩散性百万甜面包 [Fri, 17 Apr 2020 12:58:38 +0000 (20:58 +0800)] 
test(compiler-core): expect onError to be called (#976)

5 years agochore: update VTU status (#979)
Adrià Fontcuberta [Fri, 17 Apr 2020 11:30:44 +0000 (13:30 +0200)] 
chore: update VTU status (#979)

5 years agobuild(deps-dev): bump ts-jest from 25.3.1 to 25.4.0
dependabot-preview[bot] [Fri, 17 Apr 2020 07:51:21 +0000 (07:51 +0000)] 
build(deps-dev): bump ts-jest from 25.3.1 to 25.4.0

Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 25.3.1 to 25.4.0.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v25.3.1...v25.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agobuild(deps-dev): bump @ls-lint/ls-lint from 1.8.0 to 1.8.1
dependabot-preview[bot] [Fri, 17 Apr 2020 07:51:08 +0000 (07:51 +0000)] 
build(deps-dev): bump @ls-lint/ls-lint from 1.8.0 to 1.8.1

Bumps [@ls-lint/ls-lint](https://github.com/loeffel-io/ls-lint) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/loeffel-io/ls-lint/releases)
- [Commits](https://github.com/loeffel-io/ls-lint/compare/v1.8.0...v1.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore: update readme [ci skip]
Evan You [Thu, 16 Apr 2020 20:40:46 +0000 (16:40 -0400)] 
chore: update readme [ci skip]

5 years agorelease: v3.0.0-beta.1 v3.0.0-beta.1
Evan You [Thu, 16 Apr 2020 19:45:04 +0000 (15:45 -0400)] 
release: v3.0.0-beta.1

5 years agorefactor(runtime-core): refactor instance public proxy context object
Evan You [Thu, 16 Apr 2020 16:49:50 +0000 (12:49 -0400)] 
refactor(runtime-core): refactor instance public proxy context object

5 years agowip: separate setupState
Evan You [Thu, 16 Apr 2020 15:50:33 +0000 (11:50 -0400)] 
wip: separate setupState

5 years agofeat(runtime-core): skip emit warn if has equivalent onXXX prop
Evan You [Thu, 16 Apr 2020 15:27:52 +0000 (11:27 -0400)] 
feat(runtime-core): skip emit warn if has equivalent onXXX prop

5 years agoperf(runtime-core): use raw context on component options init
Evan You [Thu, 16 Apr 2020 14:39:51 +0000 (10:39 -0400)] 
perf(runtime-core): use raw context on component options init

5 years agorefactor(runtime-core): remove need for internal instance sink
Evan You [Thu, 16 Apr 2020 14:09:13 +0000 (10:09 -0400)] 
refactor(runtime-core): remove need for internal instance sink

5 years agofix(reactivity): remove Symbol.observable (#968)
Cédric Exbrayat [Thu, 16 Apr 2020 13:33:30 +0000 (15:33 +0200)] 
fix(reactivity): remove Symbol.observable (#968)

* chore: add @types/node as an explicit dependency

As `tsconfig.json` references it, it should be listed in the dependencies.
It currently uses an older version: this commit also bumps to the latest v12 version, and fixes a typing issue.

* fix(reactivity): remove Symbol.observable

`Symbol.observable` is brought by `@types/node@12` and is not a "well-known" typescript symbol https://www.typescriptlang.org/docs/handbook/symbols.html that can be find in lib.es20xx like the others. It has been removed in `@types/node@v13`.
It means that an application using vue@3.0.0-alpha.13 does not compile unless it explicitely adds `@types/node@v12` as a dependency and `node` in its own tsconfig types.

5 years agotest(reactivity): add tests for object with symbols (#969)
Carlos Rodrigues [Thu, 16 Apr 2020 13:24:46 +0000 (14:24 +0100)] 
test(reactivity): add tests for object with symbols (#969)

5 years agorefactor(reactivity): adjust APIs
Evan You [Wed, 15 Apr 2020 20:45:20 +0000 (16:45 -0400)] 
refactor(reactivity): adjust APIs

BREAKING CHANGE: Reactivity APIs adjustments:

- `readonly` is now non-tracking if called on plain objects.
  `lock` and `unlock` have been removed. A `readonly` proxy can no
  longer be directly mutated. However, it can still wrap an already
  reactive object and track changes to the source reactive object.

- `isReactive` now only returns true for proxies created by `reactive`,
   or a `readonly` proxy that wraps a `reactive` proxy.

- A new utility `isProxy` is introduced, which returns true for both
  reactive or readonly proxies.

- `markNonReactive` has been renamed to `markRaw`.

5 years agorelease: v3.0.0-alpha.13 v3.0.0-alpha.13
Evan You [Wed, 15 Apr 2020 16:46:26 +0000 (12:46 -0400)] 
release: v3.0.0-alpha.13

5 years agotypes(ref): fix dts test for ref (#965)
Carlos Rodrigues [Wed, 15 Apr 2020 16:15:13 +0000 (17:15 +0100)] 
types(ref): fix dts test for ref (#965)

5 years agotypes: improve UnwrapRef (#579)
Evan You [Wed, 15 Apr 2020 15:26:41 +0000 (11:26 -0400)] 
types: improve UnwrapRef (#579)

5 years agotypes: remove tuple check and add type check for tuple 579/head
pikax [Wed, 15 Apr 2020 15:22:44 +0000 (16:22 +0100)] 
types: remove tuple check and add type check for tuple

5 years agoApply suggestions from code review
Carlos Rodrigues [Wed, 15 Apr 2020 15:07:07 +0000 (16:07 +0100)] 
Apply suggestions from code review

Co-Authored-By: Evan You <yyx990803@gmail.com>
5 years agoMerge remote-tracking branch 'github/master' into changing_unwrap_ref
pikax [Wed, 15 Apr 2020 14:54:26 +0000 (15:54 +0100)] 
Merge remote-tracking branch 'github/master' into changing_unwrap_ref

5 years agochore: run prettier
Evan You [Wed, 15 Apr 2020 14:51:07 +0000 (10:51 -0400)] 
chore: run prettier

5 years agofix(runtime-dom/v-on): support event.stopImmediatePropagation on multiple listeners
Evan You [Wed, 15 Apr 2020 14:35:34 +0000 (10:35 -0400)] 
fix(runtime-dom/v-on): support event.stopImmediatePropagation on multiple listeners

close #916

5 years agorefactor(reactivity): make readonly non-tracking
Evan You [Wed, 15 Apr 2020 03:49:46 +0000 (23:49 -0400)] 
refactor(reactivity): make readonly non-tracking

5 years agorefactor(reactivity): move array ref handling into getter
Evan You [Wed, 15 Apr 2020 02:18:58 +0000 (22:18 -0400)] 
refactor(reactivity): move array ref handling into getter

5 years agofeat(reactivity): add support for `toRef` API
Evan You [Wed, 15 Apr 2020 00:49:18 +0000 (20:49 -0400)] 
feat(reactivity): add support for `toRef` API

5 years agofeat(reactivity): add support for `customRef` API
Evan You [Wed, 15 Apr 2020 00:45:41 +0000 (20:45 -0400)] 
feat(reactivity): add support for `customRef` API

5 years agochore: revert debugging dev flag
Evan You [Tue, 14 Apr 2020 22:32:27 +0000 (18:32 -0400)] 
chore: revert debugging dev flag

5 years agotypes: fix public instance $root and $parent type
Evan You [Tue, 14 Apr 2020 22:13:53 +0000 (18:13 -0400)] 
types: fix public instance $root and $parent type

5 years agofeat(runtime-core): detect and warn against components made reactive
Evan You [Tue, 14 Apr 2020 22:07:47 +0000 (18:07 -0400)] 
feat(runtime-core): detect and warn against components made reactive

close #962

5 years agofeat(runtime-core): warn async data()
Evan You [Tue, 14 Apr 2020 21:40:41 +0000 (17:40 -0400)] 
feat(runtime-core): warn async data()

5 years agofix(scheduler): sort jobs before flushing
Evan You [Tue, 14 Apr 2020 21:31:35 +0000 (17:31 -0400)] 
fix(scheduler): sort jobs before flushing

This fixes the case where a child component is added to the queue before
its parent, but should be invalidated by its parent's update. Same logic
was present in Vue 2.

Properly fixes #910
ref: https://github.com/vuejs/vue-next/issues/910#issuecomment-613097539

5 years agofix(runtime-core): should resolve value instead of delete for dynamic props with...
Evan You [Tue, 14 Apr 2020 20:17:35 +0000 (16:17 -0400)] 
fix(runtime-core): should resolve value instead of delete for dynamic props with options

5 years agochore: import toRaw from @vue/reactivity
Evan You [Tue, 14 Apr 2020 13:59:02 +0000 (09:59 -0400)] 
chore: import toRaw from @vue/reactivity

5 years agorefactor(reactivity): remove stale API `markReadonly`
Evan You [Mon, 13 Apr 2020 21:39:48 +0000 (17:39 -0400)] 
refactor(reactivity): remove stale API `markReadonly`

BREAKING CHANGE: `markReadonly` has been removed.

5 years agoRevert "feat(reactivity): add effect to public api (#909)" (#961)
Evan You [Mon, 13 Apr 2020 21:13:06 +0000 (17:13 -0400)] 
Revert "feat(reactivity): add effect to public api (#909)" (#961)

This reverts commit 6fba2418507d9c65891e8d14bd63736adb377556.

5 years agochore: fix typo in Chagelog.md (#960) [ci skip]
Claudio Eyzaguirre [Mon, 13 Apr 2020 18:43:57 +0000 (14:43 -0400)] 
chore: fix typo in Chagelog.md (#960) [ci skip]

5 years agoMerge remote-tracking branch 'github/master' into changing_unwrap_ref
pikax [Mon, 13 Apr 2020 17:32:14 +0000 (18:32 +0100)] 
Merge remote-tracking branch 'github/master' into changing_unwrap_ref

5 years agofix(runtime-core): fix kebab-case props update
Evan You [Mon, 13 Apr 2020 16:37:31 +0000 (12:37 -0400)] 
fix(runtime-core): fix kebab-case props update

fix #955

5 years agofix(runtime-dom): should patch svg innerHtml (#956)
likui [Mon, 13 Apr 2020 16:13:37 +0000 (00:13 +0800)] 
fix(runtime-dom): should patch svg innerHtml (#956)

5 years agofix(types): UnwrapRef should bail on DOM element types (#952)
Thorsten Lünborg [Mon, 13 Apr 2020 15:51:32 +0000 (17:51 +0200)] 
fix(types): UnwrapRef should bail on DOM element types (#952)

fix #951

5 years agorefactor: make sure setupContext.emit always reference current emit on instance
Evan You [Mon, 13 Apr 2020 14:06:41 +0000 (10:06 -0400)] 
refactor: make sure setupContext.emit always reference current emit on instance

This is dev only and for internal use by vue-test-utils.

5 years agochore: fix changelog typo (#953) [ci skip]
King [Mon, 13 Apr 2020 13:39:42 +0000 (21:39 +0800)] 
chore: fix changelog typo (#953) [ci skip]

5 years agobuild(deps-dev): bump @rollup/plugin-node-resolve from 7.1.1 to 7.1.3
dependabot-preview[bot] [Mon, 13 Apr 2020 08:10:59 +0000 (08:10 +0000)] 
build(deps-dev): bump @rollup/plugin-node-resolve from 7.1.1 to 7.1.3

Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 7.1.1 to 7.1.3.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v7.1.1...node-resolve-v7.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agobuild(deps-dev): bump rollup from 2.4.0 to 2.6.1
dependabot-preview[bot] [Mon, 13 Apr 2020 08:10:56 +0000 (08:10 +0000)] 
build(deps-dev): bump rollup from 2.4.0 to 2.6.1

Bumps [rollup](https://github.com/rollup/rollup) from 2.4.0 to 2.6.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/v2.4.0...v2.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agobuild(deps-dev): bump @rollup/plugin-commonjs from 11.0.2 to 11.1.0
dependabot-preview[bot] [Mon, 13 Apr 2020 08:06:39 +0000 (08:06 +0000)] 
build(deps-dev): bump @rollup/plugin-commonjs from 11.0.2 to 11.1.0

Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 11.0.2 to 11.1.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v11.0.2...commonjs-v11.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agotypes: add symbolExtract to extract all known symbols
pikax [Sun, 12 Apr 2020 10:25:46 +0000 (11:25 +0100)] 
types: add symbolExtract to extract all known symbols
#951

5 years agorefactor: adjust runtime-dom test structure + tests for dom props
Evan You [Fri, 10 Apr 2020 19:37:30 +0000 (15:37 -0400)] 
refactor: adjust runtime-dom test structure + tests for dom props

5 years agorefactor: simplify runtime-dom class tests
Evan You [Fri, 10 Apr 2020 19:23:01 +0000 (15:23 -0400)] 
refactor: simplify runtime-dom class tests

5 years agofix(runtime-dom): fix patching for attributes starting with `on`
Evan You [Fri, 10 Apr 2020 15:57:07 +0000 (11:57 -0400)] 
fix(runtime-dom): fix patching for attributes starting with `on`

fix #949

BREAKING CHANGE: Only props starting with `on` followed by an uppercase
letter or a non-letter character are considered event listeners.

5 years agorefactor(runtime-core): remove emit return value
Evan You [Fri, 10 Apr 2020 14:59:46 +0000 (10:59 -0400)] 
refactor(runtime-core): remove emit return value

BREAKING CHANGE: this.$emit() and setupContext.emit() no longer
return values. For logic that relies on return value of listeners,
the listener should be declared as an `onXXX` prop and be called
directly. This still allows the parent component to pass in
a handler using `v-on`, since `v-on:foo` internally compiles
to `onFoo`.

    ref: https://github.com/vuejs/rfcs/pull/16

5 years agofix(compiler-core): should not generate CLASS/STYLE patch flags on components
Evan You [Fri, 10 Apr 2020 14:19:11 +0000 (10:19 -0400)] 
fix(compiler-core): should not generate CLASS/STYLE patch flags on components

ref #677

5 years agorefactor(runtime-core): move updateCompnent into separate function
Evan You [Fri, 10 Apr 2020 13:55:38 +0000 (09:55 -0400)] 
refactor(runtime-core): move updateCompnent into separate function

5 years agobuild(deps-dev): bump rollup from 2.3.4 to 2.4.0
dependabot-preview[bot] [Fri, 10 Apr 2020 07:54:02 +0000 (07:54 +0000)] 
build(deps-dev): bump rollup from 2.3.4 to 2.4.0

Bumps [rollup](https://github.com/rollup/rollup) from 2.3.4 to 2.4.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/v2.3.4...v2.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore: show non-breaking space in changelog [ci skip] (#947)
David Bernegger [Thu, 9 Apr 2020 12:53:53 +0000 (14:53 +0200)] 
chore: show non-breaking space in changelog [ci skip] (#947)

5 years agobuild(deps-dev): bump jest from 25.2.7 to 25.3.0
dependabot-preview[bot] [Thu, 9 Apr 2020 07:55:43 +0000 (07:55 +0000)] 
build(deps-dev): bump jest from 25.2.7 to 25.3.0

Bumps [jest](https://github.com/facebook/jest) from 25.2.7 to 25.3.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v25.2.7...v25.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agorelease: v3.0.0-alpha.12 v3.0.0-alpha.12
Evan You [Wed, 8 Apr 2020 22:59:49 +0000 (18:59 -0400)] 
release: v3.0.0-alpha.12

5 years agofix(compiler): support full range of entity decoding in browser builds
Evan You [Wed, 8 Apr 2020 22:51:25 +0000 (18:51 -0400)] 
fix(compiler): support full range of entity decoding in browser builds

BREAKING CHANGE: compiler options have been adjusted.
    - new option `decodeEntities` is added.
    - `namedCharacterReferences` option has been removed.
    - `maxCRNameLength` option has been rmeoved.

5 years agofix(compiler): should not condense &nbsp;
Evan You [Wed, 8 Apr 2020 21:33:07 +0000 (17:33 -0400)] 
fix(compiler): should not condense &nbsp;

fix #945

5 years agofix(compiler): should only strip leading newline directly in pre tag
Evan You [Wed, 8 Apr 2020 20:44:32 +0000 (16:44 -0400)] 
fix(compiler): should only strip leading newline directly in pre tag

5 years agotypes: bring back my changes
pikax [Wed, 8 Apr 2020 20:33:06 +0000 (21:33 +0100)] 
types: bring back my changes

5 years agoMerge remote-tracking branch 'github/master' into changing_unwrap_ref
pikax [Wed, 8 Apr 2020 20:21:04 +0000 (21:21 +0100)] 
Merge remote-tracking branch 'github/master' into changing_unwrap_ref

# Conflicts:
# packages/reactivity/src/ref.ts
# packages/runtime-core/__tests__/apiTemplateRef.spec.ts
# packages/runtime-core/src/apiWatch.ts

5 years agofix(slots): should update compiled dynamic slots
Evan You [Wed, 8 Apr 2020 16:23:44 +0000 (12:23 -0400)] 
fix(slots): should update compiled dynamic slots

5 years agobuild(deps): bump @babel/types from 7.9.0 to 7.9.5 (#940)
dependabot-preview[bot] [Wed, 8 Apr 2020 13:32:22 +0000 (09:32 -0400)] 
build(deps): bump @babel/types from 7.9.0 to 7.9.5 (#940)

Bumps [@babel/types](https://github.com/babel/babel) from 7.9.0 to 7.9.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.9.0...v7.9.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
5 years agofix(runtime-core): set fragment root children should also update dynamicChildren...
likui [Wed, 8 Apr 2020 13:32:09 +0000 (21:32 +0800)] 
fix(runtime-core): set fragment root children should also update dynamicChildren (#944)

fix #943

5 years agobuild(deps-dev): bump @microsoft/api-extractor from 7.7.12 to 7.7.13
dependabot-preview[bot] [Wed, 8 Apr 2020 08:14:13 +0000 (08:14 +0000)] 
build(deps-dev): bump @microsoft/api-extractor from 7.7.12 to 7.7.13

Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.7.12 to 7.7.13.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.7.12...@microsoft/api-extractor_v7.7.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agobuild(deps-dev): bump rollup from 2.3.3 to 2.3.4
dependabot-preview[bot] [Wed, 8 Apr 2020 08:13:28 +0000 (08:13 +0000)] 
build(deps-dev): bump rollup from 2.3.3 to 2.3.4

Bumps [rollup](https://github.com/rollup/rollup) from 2.3.3 to 2.3.4.
- [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/v2.3.3...v2.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agobuild(deps-dev): bump enquirer from 2.3.4 to 2.3.5
dependabot-preview[bot] [Wed, 8 Apr 2020 08:12:51 +0000 (08:12 +0000)] 
build(deps-dev): bump enquirer from 2.3.4 to 2.3.5

Bumps [enquirer](https://github.com/enquirer/enquirer) from 2.3.4 to 2.3.5.
- [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.4...2.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agofix(compiler-core): elements with dynamic keys should be forced into blocks
Evan You [Tue, 7 Apr 2020 22:44:21 +0000 (18:44 -0400)] 
fix(compiler-core): elements with dynamic keys should be forced into blocks

fix #916

5 years agobuild: remove size check for runtime.global files
Evan You [Tue, 7 Apr 2020 21:26:08 +0000 (17:26 -0400)] 
build: remove size check for runtime.global files

5 years agofix(transition): should ship props declarations in production
Evan You [Tue, 7 Apr 2020 21:19:37 +0000 (17:19 -0400)] 
fix(transition): should ship props declarations in production

5 years agofix(transition): fix dynamic transition update on nested HOCs
Evan You [Tue, 7 Apr 2020 20:08:15 +0000 (16:08 -0400)] 
fix(transition): fix dynamic transition update on nested HOCs

5 years agofeat(asyncComponent): add `onError` option for defineAsyncComponent
Evan You [Tue, 7 Apr 2020 18:34:42 +0000 (14:34 -0400)] 
feat(asyncComponent): add `onError` option for defineAsyncComponent

BREAKING CHANGE: `retryWhen` and `maxRetries` options for
`defineAsyncComponent` has been replaced by the more flexible `onError`
option, per https://github.com/vuejs/rfcs/pull/148

5 years agotest: fix runtime-dom v-on test
Evan You [Tue, 7 Apr 2020 15:41:48 +0000 (11:41 -0400)] 
test: fix runtime-dom v-on test

5 years agofix(runtime-dom): support native onxxx handlers
Evan You [Tue, 7 Apr 2020 15:34:54 +0000 (11:34 -0400)] 
fix(runtime-dom): support native onxxx handlers

close #927

5 years agorefactor(runtime-core): refactor slots resolution
Evan You [Tue, 7 Apr 2020 01:06:48 +0000 (21:06 -0400)] 
refactor(runtime-core): refactor slots resolution

Get rid of need for setup proxy in production mode and improve console
inspection in dev mode