]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
5 years agofix(reactivity): avoid polluting Object prototype
Evan You [Mon, 4 May 2020 12:50:17 +0000 (08:50 -0400)] 
fix(reactivity): avoid polluting Object prototype

5 years agobuild(deps-dev): bump jest from 25.5.3 to 25.5.4
dependabot-preview[bot] [Mon, 4 May 2020 09:37:53 +0000 (09:37 +0000)] 
build(deps-dev): bump jest from 25.5.3 to 25.5.4

Bumps [jest](https://github.com/facebook/jest) from 25.5.3 to 25.5.4.
- [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.5.3...v25.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore: typo (#1113)
Jackliu [Mon, 4 May 2020 08:30:24 +0000 (16:30 +0800)] 
chore: typo (#1113)

5 years agofix(reactivity): check own property for existing proxy of target
Evan You [Sun, 3 May 2020 19:32:37 +0000 (15:32 -0400)] 
fix(reactivity): check own property for existing proxy of target

fix #1107

5 years agotest: reactive proto
XinPing Wang [Sun, 3 May 2020 14:49:23 +0000 (22:49 +0800)] 
test: reactive proto

5 years agofix(hmr): handle cases where instances with same id having different definitions
Evan You [Sun, 3 May 2020 17:52:09 +0000 (13:52 -0400)] 
fix(hmr): handle cases where instances with same id having different definitions

5 years agochore: remove commented stale code [ci skip]
Evan You [Sat, 2 May 2020 21:08:54 +0000 (17:08 -0400)] 
chore: remove commented stale code [ci skip]

5 years agorelease: v3.0.0-beta.7 v3.0.0-beta.7
Evan You [Sat, 2 May 2020 21:06:16 +0000 (17:06 -0400)] 
release: v3.0.0-beta.7

5 years agorefactor(reactivity): use more efficient reactive checks
Evan You [Sat, 2 May 2020 20:16:51 +0000 (16:16 -0400)] 
refactor(reactivity): use more efficient reactive checks

WeakSets and WeakMaps shows degrading performance as the amount of
observed objects increases. Using hidden keys result in better
performance especially when repeatedly creating large amounts of
reactive proxies.

This also makes it possible to more efficiently declare non-reactive
objects in userland.

5 years agofeat(compiler-sfc): add transformAssetUrlsBase option
Evan You [Sat, 2 May 2020 18:49:28 +0000 (14:49 -0400)] 
feat(compiler-sfc): add transformAssetUrlsBase option

5 years agofix(warn): cast symbols to strings (#1103)
Eduardo San Martin Morote [Sat, 2 May 2020 14:26:32 +0000 (16:26 +0200)] 
fix(warn): cast symbols to strings (#1103)

5 years agofeat(types): re-expose `withDirectives` as public type
Evan You [Sat, 2 May 2020 14:19:40 +0000 (10:19 -0400)] 
feat(types): re-expose `withDirectives` as public type

5 years agorelease: v3.0.0-beta.6 v3.0.0-beta.6
Evan You [Fri, 1 May 2020 22:56:53 +0000 (18:56 -0400)] 
release: v3.0.0-beta.6

5 years agochore: code comment formatting (#1089) [ci skip]
HiiTea [Fri, 1 May 2020 22:48:44 +0000 (06:48 +0800)] 
chore: code comment formatting (#1089) [ci skip]

5 years agofix(runtime-core): should catch dom prop set TypeErrors
Evan You [Fri, 1 May 2020 22:47:27 +0000 (18:47 -0400)] 
fix(runtime-core): should catch dom prop set TypeErrors

based on #1051

5 years agofix(compiler-core): hoist pure annotations should apply to all nested calls
Evan You [Fri, 1 May 2020 22:36:34 +0000 (18:36 -0400)] 
fix(compiler-core): hoist pure annotations should apply to all nested calls

5 years agofix(compiler-core): hoisted vnode calls and scoped id calls should be marked pure
Evan You [Fri, 1 May 2020 21:34:11 +0000 (17:34 -0400)] 
fix(compiler-core): hoisted vnode calls and scoped id calls should be marked pure

Otherwise they cannot be tree-shaken

5 years agofix(compiler-ssr): handle comments codegen + refactor ssr codegen transform
Evan You [Fri, 1 May 2020 21:04:36 +0000 (17:04 -0400)] 
fix(compiler-ssr): handle comments codegen + refactor ssr codegen transform

5 years agochore: remove unnecessary path in tsconfig.json
Evan You [Fri, 1 May 2020 20:19:46 +0000 (16:19 -0400)] 
chore: remove unnecessary path in tsconfig.json

5 years agofix(runtime-core): should call Suspense fallback unmount hook (#1061)
underfin [Fri, 1 May 2020 20:20:16 +0000 (04:20 +0800)] 
fix(runtime-core): should call Suspense fallback unmount hook (#1061)

fix #1059

5 years agofix(types): augment ref unwrap bail types in appropriate packages
Evan You [Fri, 1 May 2020 20:14:30 +0000 (16:14 -0400)] 
fix(types): augment ref unwrap bail types in appropriate packages

Packages can now augment the ref unwrap bail types in their own `d.ts`.
Also updated the build script to auto concat any files in a package's
`types` directory to the final generated `d.ts`.

- `@vue/reactivity` should no longer require `libs: ["DOM"]` in tsconfig
- Properly bail on `VNode` and `ComponentPublicInstance` in runtime-core

5 years agofix(teleport): teleport should always be tracked as dynamic child for unmount
Evan You [Fri, 1 May 2020 19:12:07 +0000 (15:12 -0400)] 
fix(teleport): teleport should always be tracked as dynamic child for unmount

fix #1088

5 years agofix(runtime-core): cloned vnodes with extra props should de-opt
Evan You [Fri, 1 May 2020 18:55:27 +0000 (14:55 -0400)] 
fix(runtime-core): cloned vnodes with extra props should de-opt

5 years agofix(runtime-core): fix slot fragment bail check
Evan You [Fri, 1 May 2020 18:16:55 +0000 (14:16 -0400)] 
fix(runtime-core): fix slot fragment bail check

5 years agoperf: instance public proxy should never be observed
Evan You [Fri, 1 May 2020 17:24:38 +0000 (13:24 -0400)] 
perf: instance public proxy should never be observed

5 years agofix(runtime-core): avoid infinite warning loop for isRef check on component public...
Evan You [Fri, 1 May 2020 17:23:59 +0000 (13:23 -0400)] 
fix(runtime-core): avoid infinite warning loop for isRef check on component public proxy

fix #1091

5 years agofix(ssr): fix escape and handling for raw Text, Comment and Static vnodes
Evan You [Fri, 1 May 2020 15:52:40 +0000 (11:52 -0400)] 
fix(ssr): fix escape and handling for raw Text, Comment and Static vnodes

5 years agofeat(runtime-core): warn against user properties with reserved prefixes
Evan You [Fri, 1 May 2020 15:23:01 +0000 (11:23 -0400)] 
feat(runtime-core): warn against user properties with reserved prefixes

5 years agofix(runtime-dom): should not coerce nullish values to empty strings for non-string...
Evan You [Fri, 1 May 2020 15:06:24 +0000 (11:06 -0400)] 
fix(runtime-dom): should not coerce nullish values to empty strings for non-string dom props

fix #1049
close #1092, close #1093, close #1094

5 years agorefactor(types): mark more internal APIs
Evan You [Fri, 1 May 2020 14:37:40 +0000 (10:37 -0400)] 
refactor(types): mark more internal APIs

5 years agochore: fix typos (#1090)
HiiTea [Fri, 1 May 2020 13:42:58 +0000 (21:42 +0800)] 
chore: fix typos (#1090)

5 years agobuild(deps-dev): bump rollup from 2.7.5 to 2.7.6
dependabot-preview[bot] [Fri, 1 May 2020 13:38:37 +0000 (13:38 +0000)] 
build(deps-dev): bump rollup from 2.7.5 to 2.7.6

Bumps [rollup](https://github.com/rollup/rollup) from 2.7.5 to 2.7.6.
- [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.7.5...v2.7.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agobuild(deps-dev): bump jest from 25.5.2 to 25.5.3
dependabot-preview[bot] [Fri, 1 May 2020 13:38:06 +0000 (13:38 +0000)] 
build(deps-dev): bump jest from 25.5.2 to 25.5.3

Bumps [jest](https://github.com/facebook/jest) from 25.5.2 to 25.5.3.
- [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.5.2...v25.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agotypes: fix internal exports from @vue/shared
Evan You [Fri, 1 May 2020 13:19:30 +0000 (09:19 -0400)] 
types: fix internal exports from @vue/shared

5 years agorefactor(types): mark internal API exports and exclude from d.ts
Evan You [Thu, 30 Apr 2020 21:04:35 +0000 (17:04 -0400)] 
refactor(types): mark internal API exports and exclude from d.ts

BREAKING CHANGE: Internal APIs are now excluded from type decalrations.

5 years agorelease: v3.0.0-beta.5 v3.0.0-beta.5
Evan You [Thu, 30 Apr 2020 20:20:25 +0000 (16:20 -0400)] 
release: v3.0.0-beta.5

5 years agofix(transition-group): should collect raw children with Fragment (#1046)
underfin [Thu, 30 Apr 2020 19:06:50 +0000 (03:06 +0800)] 
fix(transition-group): should collect raw children with Fragment (#1046)

fix #1045

5 years agofeat(runtime-core): export queuePostFlushCb (#1078)
Bas van Meurs [Thu, 30 Apr 2020 18:58:50 +0000 (20:58 +0200)] 
feat(runtime-core): export queuePostFlushCb (#1078)

5 years agofix(keep-alive): do not invoke onVnodeBeforeUnmount if is KeepAlive component (#1079)
Carlos Rodrigues [Thu, 30 Apr 2020 18:52:03 +0000 (19:52 +0100)] 
fix(keep-alive): do not invoke onVnodeBeforeUnmount if is KeepAlive component (#1079)

5 years agobuild: fix build script - extractorResult is not defined (#1068)
leex [Thu, 30 Apr 2020 18:49:58 +0000 (02:49 +0800)] 
build: fix build script - extractorResult is not defined (#1068)

5 years agobuild(deps-dev): bump jest from 25.5.0 to 25.5.2
dependabot-preview[bot] [Thu, 30 Apr 2020 08:17:34 +0000 (08:17 +0000)] 
build(deps-dev): bump jest from 25.5.0 to 25.5.2

Bumps [jest](https://github.com/facebook/jest) from 25.5.0 to 25.5.2.
- [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.5.0...v25.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore: remove stale _isVue checks
Evan You [Thu, 30 Apr 2020 18:45:11 +0000 (14:45 -0400)] 
chore: remove stale _isVue checks

5 years agofix(hmr): support hmr for static nodes
Evan You [Thu, 30 Apr 2020 18:38:13 +0000 (14:38 -0400)] 
fix(hmr): support hmr for static nodes

5 years agobuild(deps): bump @babel/parser from 7.9.4 to 7.9.6 (#1087)
dependabot-preview[bot] [Thu, 30 Apr 2020 18:39:09 +0000 (14:39 -0400)] 
build(deps): bump @babel/parser from 7.9.4 to 7.9.6 (#1087)

Bumps [@babel/parser](https://github.com/babel/babel) from 7.9.4 to 7.9.6.
- [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.4...v7.9.6)

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 agobuild(deps): bump @babel/types from 7.9.5 to 7.9.6 (#1084)
dependabot-preview[bot] [Thu, 30 Apr 2020 18:38:46 +0000 (14:38 -0400)] 
build(deps): bump @babel/types from 7.9.5 to 7.9.6 (#1084)

Bumps [@babel/types](https://github.com/babel/babel) from 7.9.5 to 7.9.6.
- [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.5...v7.9.6)

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 agobuild(deps-dev): bump rollup from 2.7.3 to 2.7.5
dependabot-preview[bot] [Thu, 30 Apr 2020 08:18:07 +0000 (08:18 +0000)] 
build(deps-dev): bump rollup from 2.7.3 to 2.7.5

Bumps [rollup](https://github.com/rollup/rollup) from 2.7.3 to 2.7.5.
- [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.7.3...v2.7.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agofix(hydration): fix text mismatch warning
Evan You [Wed, 29 Apr 2020 21:07:41 +0000 (17:07 -0400)] 
fix(hydration): fix text mismatch warning

5 years agofix(compiler-ssr): avoid unnecessary withCtx import
Evan You [Wed, 29 Apr 2020 20:21:54 +0000 (16:21 -0400)] 
fix(compiler-ssr): avoid unnecessary withCtx import

5 years agofix(warning): always check for component instance presence when formatting traces
Evan You [Wed, 29 Apr 2020 18:41:06 +0000 (14:41 -0400)] 
fix(warning): always check for component instance presence when formatting traces

5 years agobuild(deps-dev): bump jest from 25.4.0 to 25.5.0
dependabot-preview[bot] [Wed, 29 Apr 2020 08:18:04 +0000 (08:18 +0000)] 
build(deps-dev): bump jest from 25.4.0 to 25.5.0

Bumps [jest](https://github.com/facebook/jest) from 25.4.0 to 25.5.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.4.0...v25.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agobuild(deps-dev): bump rollup from 2.7.2 to 2.7.3
dependabot-preview[bot] [Tue, 28 Apr 2020 08:17:38 +0000 (08:17 +0000)] 
build(deps-dev): bump rollup from 2.7.2 to 2.7.3

Bumps [rollup](https://github.com/rollup/rollup) from 2.7.2 to 2.7.3.
- [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.7.2...v2.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agotypes: use more consistent naming for apiWatch type exports
Evan You [Mon, 27 Apr 2020 17:33:57 +0000 (13:33 -0400)] 
types: use more consistent naming for apiWatch type exports

BREAKING CHANGE: Some watch API types are renamed.

    - `BaseWatchOptions` -> `WatchOptionsBase`
    - `StopHandle` -> `WatchStopHandle`

5 years agotypes: expose ComponentOptionsBase
Evan You [Mon, 27 Apr 2020 17:31:40 +0000 (13:31 -0400)] 
types: expose ComponentOptionsBase

5 years agobuild: auto publish github release on tag push
Evan You [Mon, 27 Apr 2020 16:26:22 +0000 (12:26 -0400)] 
build: auto publish github release on tag push

5 years agochore: add issue template config (#1057) [ci skip]
Dennis Herzberg [Sun, 26 Apr 2020 14:57:40 +0000 (16:57 +0200)] 
chore: add issue template config (#1057) [ci skip]

5 years agochore: update Vuex status (#1054) [ci skip]
Ramnath Shenoy [Sun, 26 Apr 2020 07:18:43 +0000 (12:48 +0530)] 
chore: update Vuex status (#1054) [ci skip]

5 years agobuild: add browser builds for @vue/compiler-sfc
Evan You [Sun, 26 Apr 2020 05:24:25 +0000 (01:24 -0400)] 
build: add browser builds for @vue/compiler-sfc

5 years agotypes(compiler-sfc): expose SFCAsyncStyleCompileOptions
Evan You [Fri, 24 Apr 2020 21:11:41 +0000 (17:11 -0400)] 
types(compiler-sfc): expose SFCAsyncStyleCompileOptions

5 years agorelease: v3.0.0-beta.4 v3.0.0-beta.4
Evan You [Fri, 24 Apr 2020 20:20:20 +0000 (16:20 -0400)] 
release: v3.0.0-beta.4

5 years agochore: add tip about Suspense being experimental
Evan You [Fri, 24 Apr 2020 20:13:44 +0000 (16:13 -0400)] 
chore: add tip about Suspense being experimental

5 years agofix(runtime-core): dynamic component should support falsy values without warning
Evan You [Fri, 24 Apr 2020 19:06:21 +0000 (15:06 -0400)] 
fix(runtime-core): dynamic component should support falsy values without warning

5 years agofix(types): make return type of `defineComponent` assignable to `Component` type...
Carlos Rodrigues [Fri, 24 Apr 2020 17:22:58 +0000 (18:22 +0100)] 
fix(types): make return type of `defineComponent` assignable to `Component` type (#1032)

fix #993

5 years agofeat(types): expose `ToRefs` type (#1037)
Carlos Rodrigues [Fri, 24 Apr 2020 17:10:16 +0000 (18:10 +0100)] 
feat(types): expose `ToRefs` type (#1037)

5 years agorefactor(runtime-core): extract key/ref normalization logic
Evan You [Fri, 24 Apr 2020 16:56:38 +0000 (12:56 -0400)] 
refactor(runtime-core): extract key/ref normalization logic

5 years agochore: remove unnecessary export (#1044) [ci skip]
susiwen8 [Fri, 24 Apr 2020 17:02:44 +0000 (01:02 +0800)] 
chore: remove unnecessary export (#1044) [ci skip]

5 years agofix(runtime-core): fix key/ref resolution for cloneVNode
Evan You [Fri, 24 Apr 2020 16:42:46 +0000 (12:42 -0400)] 
fix(runtime-core): fix key/ref resolution for cloneVNode

fix #1041

5 years agofix(runtime-core): fix dynamic node tracking in dynamic component that resolves to...
Evan You [Fri, 24 Apr 2020 16:18:51 +0000 (12:18 -0400)] 
fix(runtime-core): fix dynamic node tracking in dynamic component that resolves to plain elements

fix #1039

5 years agofeat(compiler-sfc): built-in support for css modules
Evan You [Fri, 24 Apr 2020 13:59:52 +0000 (09:59 -0400)] 
feat(compiler-sfc): built-in support for css modules

5 years agofeat(compiler-sfc): add preprocessCustomRequire option
Evan You [Fri, 24 Apr 2020 13:27:51 +0000 (09:27 -0400)] 
feat(compiler-sfc): add preprocessCustomRequire option

5 years agobuild(deps-dev): bump rollup from 2.7.1 to 2.7.2
dependabot-preview[bot] [Thu, 23 Apr 2020 08:07:08 +0000 (08:07 +0000)] 
build(deps-dev): bump rollup from 2.7.1 to 2.7.2

Bumps [rollup](https://github.com/rollup/rollup) from 2.7.1 to 2.7.2.
- [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.7.1...v2.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agofeat(reactivity): add triggerRef API
Evan You [Wed, 22 Apr 2020 22:00:10 +0000 (18:00 -0400)] 
feat(reactivity): add triggerRef API

Also make shallowRef assignment behavior consistent with normal ref

5 years agochore: update contributing guide [ci skip]
Evan You [Wed, 22 Apr 2020 21:14:08 +0000 (17:14 -0400)] 
chore: update contributing guide [ci skip]

5 years agofix(slots): compiled slot fallback should be functions (#1030)
underfin [Wed, 22 Apr 2020 20:52:41 +0000 (04:52 +0800)] 
fix(slots): compiled slot fallback should be functions (#1030)

This avoids it being collected as dynamic children when it's not used.

fix #1021

5 years agofix(runtime-core): mixin options that rely on this context should be deferred
Evan You [Wed, 22 Apr 2020 20:36:18 +0000 (16:36 -0400)] 
fix(runtime-core): mixin options that rely on this context should be deferred

Also ensure consistent option apply order with Vue 2, close #1016, close #1029

5 years agoperf(reactivity): ref should not trigger if value did not change
Evan You [Wed, 22 Apr 2020 19:11:01 +0000 (15:11 -0400)] 
perf(reactivity): ref should not trigger if value did not change

Note: shallowRef will always trigger on assignment because it does not
account for deep mutations

close #1012

5 years agotest(compiler-core): test dynamic component block
Evan You [Wed, 22 Apr 2020 18:47:31 +0000 (14:47 -0400)] 
test(compiler-core): test dynamic component block

5 years agofix(compiler-core): dynamic component should always be made blocks
Evan You [Wed, 22 Apr 2020 18:44:45 +0000 (14:44 -0400)] 
fix(compiler-core): dynamic component should always be made blocks
since it can potentially resolve to plain elements

fix #1018

5 years agofix(types): fix ref(false) type to Ref<boolean> (#1028)
Carlos Rodrigues [Wed, 22 Apr 2020 15:54:54 +0000 (16:54 +0100)] 
fix(types): fix ref(false) type to Ref<boolean> (#1028)

5 years agofix(runtime-core): only infer component name for object components
Evan You [Wed, 22 Apr 2020 08:39:02 +0000 (04:39 -0400)] 
fix(runtime-core): only infer component name for object components

close #1023

5 years agobuild(deps-dev): bump rollup from 2.6.1 to 2.7.1
dependabot-preview[bot] [Wed, 22 Apr 2020 08:17:45 +0000 (08:17 +0000)] 
build(deps-dev): bump rollup from 2.6.1 to 2.7.1

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
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 "$"