]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
Evan You [Thu, 30 Apr 2020 20:20:25 +0000 (16:20 -0400)]
release: v3.0.0-beta.5
underfin [Thu, 30 Apr 2020 19:06:50 +0000 (03:06 +0800)]
fix(transition-group): should collect raw children with Fragment (#1046)
fix #1045
Bas van Meurs [Thu, 30 Apr 2020 18:58:50 +0000 (20:58 +0200)]
feat(runtime-core): export queuePostFlushCb (#1078)
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)
leex [Thu, 30 Apr 2020 18:49:58 +0000 (02:49 +0800)]
build: fix build script - extractorResult is not defined (#1068)
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>
Evan You [Thu, 30 Apr 2020 18:45:11 +0000 (14:45 -0400)]
chore: remove stale _isVue checks
Evan You [Thu, 30 Apr 2020 18:38:13 +0000 (14:38 -0400)]
fix(hmr): support hmr for static nodes
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>
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>
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>
Evan You [Wed, 29 Apr 2020 21:07:41 +0000 (17:07 -0400)]
fix(hydration): fix text mismatch warning
Evan You [Wed, 29 Apr 2020 20:21:54 +0000 (16:21 -0400)]
fix(compiler-ssr): avoid unnecessary withCtx import
Evan You [Wed, 29 Apr 2020 18:41:06 +0000 (14:41 -0400)]
fix(warning): always check for component instance presence when formatting traces
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>
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>
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`
Evan You [Mon, 27 Apr 2020 17:31:40 +0000 (13:31 -0400)]
types: expose ComponentOptionsBase
Evan You [Mon, 27 Apr 2020 16:26:22 +0000 (12:26 -0400)]
build: auto publish github release on tag push
Dennis Herzberg [Sun, 26 Apr 2020 14:57:40 +0000 (16:57 +0200)]
chore: add issue template config (#1057) [ci skip]
Ramnath Shenoy [Sun, 26 Apr 2020 07:18:43 +0000 (12:48 +0530)]
chore: update Vuex status (#1054) [ci skip]
Evan You [Sun, 26 Apr 2020 05:24:25 +0000 (01:24 -0400)]
build: add browser builds for @vue/compiler-sfc
Evan You [Fri, 24 Apr 2020 21:11:41 +0000 (17:11 -0400)]
types(compiler-sfc): expose SFCAsyncStyleCompileOptions
Evan You [Fri, 24 Apr 2020 20:20:20 +0000 (16:20 -0400)]
release: v3.0.0-beta.4
Evan You [Fri, 24 Apr 2020 20:13:44 +0000 (16:13 -0400)]
chore: add tip about Suspense being experimental
Evan You [Fri, 24 Apr 2020 19:06:21 +0000 (15:06 -0400)]
fix(runtime-core): dynamic component should support falsy values without warning
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
Carlos Rodrigues [Fri, 24 Apr 2020 17:10:16 +0000 (18:10 +0100)]
feat(types): expose `ToRefs` type (#1037)
Evan You [Fri, 24 Apr 2020 16:56:38 +0000 (12:56 -0400)]
refactor(runtime-core): extract key/ref normalization logic
susiwen8 [Fri, 24 Apr 2020 17:02:44 +0000 (01:02 +0800)]
chore: remove unnecessary export (#1044) [ci skip]
Evan You [Fri, 24 Apr 2020 16:42:46 +0000 (12:42 -0400)]
fix(runtime-core): fix key/ref resolution for cloneVNode
fix #1041
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
Evan You [Fri, 24 Apr 2020 13:59:52 +0000 (09:59 -0400)]
feat(compiler-sfc): built-in support for css modules
Evan You [Fri, 24 Apr 2020 13:27:51 +0000 (09:27 -0400)]
feat(compiler-sfc): add preprocessCustomRequire option
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>
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
Evan You [Wed, 22 Apr 2020 21:14:08 +0000 (17:14 -0400)]
chore: update contributing guide [ci skip]
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
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
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
Evan You [Wed, 22 Apr 2020 18:47:31 +0000 (14:47 -0400)]
test(compiler-core): test dynamic component block
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
Carlos Rodrigues [Wed, 22 Apr 2020 15:54:54 +0000 (16:54 +0100)]
fix(types): fix ref(false) type to Ref<boolean> (#1028)
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
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>
Evan You [Mon, 20 Apr 2020 21:00:26 +0000 (17:00 -0400)]
release: v3.0.0-beta.3
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
Evan You [Mon, 20 Apr 2020 20:17:29 +0000 (16:17 -0400)]
feat(warn): infer anonymous component named based on resolve name
Evan You [Mon, 20 Apr 2020 20:06:51 +0000 (16:06 -0400)]
fix(warn): fix component name inference in warning trace
Andrew Talbot [Mon, 20 Apr 2020 19:44:20 +0000 (15:44 -0400)]
perf(core): use `startsWith` instead of `indexOf` (#989)
Mohamed Nainar [Mon, 20 Apr 2020 19:38:43 +0000 (01:08 +0530)]
chore: changelog typo (#988) [ci skip]
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
Evan You [Mon, 20 Apr 2020 19:23:26 +0000 (15:23 -0400)]
feat(build): provide more specific warnings for runtime compilation
close #1004
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
Evan You [Mon, 20 Apr 2020 08:03:00 +0000 (04:03 -0400)]
refactor(hmr): simplify usage
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
limichange [Mon, 20 Apr 2020 17:39:35 +0000 (01:39 +0800)]
refactor(reactivity): simplify if condition (#1002)
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>
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>
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>
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
Jian Zhang [Fri, 17 Apr 2020 22:41:33 +0000 (15:41 -0700)]
chore: remove a dead if branch (#986)
Evan You [Fri, 17 Apr 2020 15:18:06 +0000 (11:18 -0400)]
chore: edit changelog [ci skip]
Evan You [Fri, 17 Apr 2020 15:01:01 +0000 (11:01 -0400)]
release: v3.0.0-beta.2
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 "$"
Carlos Rodrigues [Fri, 17 Apr 2020 13:55:41 +0000 (14:55 +0100)]
fix(watch): fix deep watchers on refs containing primitives (#984)
Evan You [Fri, 17 Apr 2020 13:41:36 +0000 (09:41 -0400)]
feat(types): expose ComponentCustomOptions for declaring custom options
Evan You [Fri, 17 Apr 2020 13:12:50 +0000 (09:12 -0400)]
feat(types): feat(types): add `ComponentCustomProperties` interface (#982)
Cédric Exbrayat [Fri, 17 Apr 2020 13:00:25 +0000 (15:00 +0200)]
feat(types): expose ExtractPropTypes (#983)
扩散性百万甜面包 [Fri, 17 Apr 2020 12:58:38 +0000 (20:58 +0800)]
test(compiler-core): expect onError to be called (#976)
Adrià Fontcuberta [Fri, 17 Apr 2020 11:30:44 +0000 (13:30 +0200)]
chore: update VTU status (#979)
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>
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>
Evan You [Thu, 16 Apr 2020 20:40:46 +0000 (16:40 -0400)]
chore: update readme [ci skip]
Evan You [Thu, 16 Apr 2020 19:45:04 +0000 (15:45 -0400)]
release: v3.0.0-beta.1
Evan You [Thu, 16 Apr 2020 16:49:50 +0000 (12:49 -0400)]
refactor(runtime-core): refactor instance public proxy context object
Evan You [Thu, 16 Apr 2020 15:50:33 +0000 (11:50 -0400)]
wip: separate setupState
Evan You [Thu, 16 Apr 2020 15:27:52 +0000 (11:27 -0400)]
feat(runtime-core): skip emit warn if has equivalent onXXX prop
Evan You [Thu, 16 Apr 2020 14:39:51 +0000 (10:39 -0400)]
perf(runtime-core): use raw context on component options init
Evan You [Thu, 16 Apr 2020 14:09:13 +0000 (10:09 -0400)]
refactor(runtime-core): remove need for internal instance sink
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.
Carlos Rodrigues [Thu, 16 Apr 2020 13:24:46 +0000 (14:24 +0100)]
test(reactivity): add tests for object with symbols (#969)
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`.
Evan You [Wed, 15 Apr 2020 16:46:26 +0000 (12:46 -0400)]
release: v3.0.0-alpha.13
Carlos Rodrigues [Wed, 15 Apr 2020 16:15:13 +0000 (17:15 +0100)]
types(ref): fix dts test for ref (#965)
Evan You [Wed, 15 Apr 2020 15:26:41 +0000 (11:26 -0400)]
types: improve UnwrapRef (#579)
pikax [Wed, 15 Apr 2020 15:22:44 +0000 (16:22 +0100)]
types: remove tuple check and add type check for tuple
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>
pikax [Wed, 15 Apr 2020 14:54:26 +0000 (15:54 +0100)]
Merge remote-tracking branch 'github/master' into changing_unwrap_ref
Evan You [Wed, 15 Apr 2020 14:51:07 +0000 (10:51 -0400)]
chore: run prettier
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
Evan You [Wed, 15 Apr 2020 03:49:46 +0000 (23:49 -0400)]
refactor(reactivity): make readonly non-tracking
Evan You [Wed, 15 Apr 2020 02:18:58 +0000 (22:18 -0400)]
refactor(reactivity): move array ref handling into getter
Evan You [Wed, 15 Apr 2020 00:49:18 +0000 (20:49 -0400)]
feat(reactivity): add support for `toRef` API
Evan You [Wed, 15 Apr 2020 00:45:41 +0000 (20:45 -0400)]
feat(reactivity): add support for `customRef` API
Evan You [Tue, 14 Apr 2020 22:32:27 +0000 (18:32 -0400)]
chore: revert debugging dev flag
Evan You [Tue, 14 Apr 2020 22:13:53 +0000 (18:13 -0400)]
types: fix public instance $root and $parent type
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
Evan You [Tue, 14 Apr 2020 21:40:41 +0000 (17:40 -0400)]
feat(runtime-core): warn async data()
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