]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
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
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
Evan You [Tue, 14 Apr 2020 13:59:02 +0000 (09:59 -0400)]
chore: import toRaw from @vue/reactivity
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.
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 .
Claudio Eyzaguirre [Mon, 13 Apr 2020 18:43:57 +0000 (14:43 -0400)]
chore: fix typo in Chagelog.md (#960) [ci skip]
pikax [Mon, 13 Apr 2020 17:32:14 +0000 (18:32 +0100)]
Merge remote-tracking branch 'github/master' into changing_unwrap_ref
Evan You [Mon, 13 Apr 2020 16:37:31 +0000 (12:37 -0400)]
fix(runtime-core): fix kebab-case props update
fix #955
likui [Mon, 13 Apr 2020 16:13:37 +0000 (00:13 +0800)]
fix(runtime-dom): should patch svg innerHtml (#956)
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
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.
King [Mon, 13 Apr 2020 13:39:42 +0000 (21:39 +0800)]
chore: fix changelog typo (#953) [ci skip]
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>
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>
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>
pikax [Sun, 12 Apr 2020 10:25:46 +0000 (11:25 +0100)]
types: add symbolExtract to extract all known symbols
#951
Evan You [Fri, 10 Apr 2020 19:37:30 +0000 (15:37 -0400)]
refactor: adjust runtime-dom test structure + tests for dom props
Evan You [Fri, 10 Apr 2020 19:23:01 +0000 (15:23 -0400)]
refactor: simplify runtime-dom class tests
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.
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
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
Evan You [Fri, 10 Apr 2020 13:55:38 +0000 (09:55 -0400)]
refactor(runtime-core): move updateCompnent into separate function
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>
David Bernegger [Thu, 9 Apr 2020 12:53:53 +0000 (14:53 +0200)]
chore: show non-breaking space in changelog [ci skip] (#947)
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>
Evan You [Wed, 8 Apr 2020 22:59:49 +0000 (18:59 -0400)]
release: v3.0.0-alpha.12
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.
Evan You [Wed, 8 Apr 2020 21:33:07 +0000 (17:33 -0400)]
fix(compiler): should not condense
fix #945
Evan You [Wed, 8 Apr 2020 20:44:32 +0000 (16:44 -0400)]
fix(compiler): should only strip leading newline directly in pre tag
pikax [Wed, 8 Apr 2020 20:33:06 +0000 (21:33 +0100)]
types: bring back my changes
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
Evan You [Wed, 8 Apr 2020 16:23:44 +0000 (12:23 -0400)]
fix(slots): should update compiled dynamic slots
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>
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
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>
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>
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>
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
Evan You [Tue, 7 Apr 2020 21:26:08 +0000 (17:26 -0400)]
build: remove size check for runtime.global files
Evan You [Tue, 7 Apr 2020 21:19:37 +0000 (17:19 -0400)]
fix(transition): should ship props declarations in production
Evan You [Tue, 7 Apr 2020 20:08:15 +0000 (16:08 -0400)]
fix(transition): fix dynamic transition update on nested HOCs
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
Evan You [Tue, 7 Apr 2020 15:41:48 +0000 (11:41 -0400)]
test: fix runtime-dom v-on test
Evan You [Tue, 7 Apr 2020 15:34:54 +0000 (11:34 -0400)]
fix(runtime-dom): support native onxxx handlers
close #927
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
Evan You [Mon, 6 Apr 2020 21:57:27 +0000 (17:57 -0400)]
refactor(runtime-core): make setup attrs proxy dev only
Evan You [Mon, 6 Apr 2020 21:37:47 +0000 (17:37 -0400)]
refactor(runtime-core): refactor props resolution
Improve performance in optimized mode + tests
Evan You [Mon, 6 Apr 2020 15:41:28 +0000 (11:41 -0400)]
fix(runtime-core): fix globalProperties in check on instance render proxy
Rahul Kadyan [Mon, 6 Apr 2020 13:57:32 +0000 (19:27 +0530)]
types(runtime-core): Adds type signature for renderList helper (#924)
Jian Zhang [Mon, 6 Apr 2020 13:55:19 +0000 (21:55 +0800)]
fix(runtime-dom): fix getModelAssigner order in vModelCheckbox (#926)
syuilo [Mon, 6 Apr 2020 13:47:53 +0000 (22:47 +0900)]
chore: fix changelog typo (#918) [ci skip]
ysj16 [Mon, 6 Apr 2020 13:09:44 +0000 (21:09 +0800)]
chore: typo (#928)
dependabot-preview[bot] [Mon, 6 Apr 2020 08:48:37 +0000 (08:48 +0000)]
build(deps-dev): bump @types/jest from 25.1.5 to 25.2.1
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.1.5 to 25.2.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>
dependabot-preview[bot] [Mon, 6 Apr 2020 08:49:02 +0000 (08:49 +0000)]
build(deps-dev): bump ts-jest from 25.3.0 to 25.3.1
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 25.3.0 to 25.3.1.
- [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.0...v25.3.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 6 Apr 2020 08:48:13 +0000 (08:48 +0000)]
build(deps-dev): bump rollup from 2.3.2 to 2.3.3
Bumps [rollup](https://github.com/rollup/rollup) from 2.3.2 to 2.3.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.3.2...v2.3.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Sun, 5 Apr 2020 22:39:22 +0000 (18:39 -0400)]
feat(runtime-core): improve component public instance proxy inspection
Evan You [Sun, 5 Apr 2020 00:51:42 +0000 (20:51 -0400)]
fix(v-model): handle dynamic assigners and array assigners
close #923
Evan You [Sat, 4 Apr 2020 17:29:29 +0000 (13:29 -0400)]
fix(types): accept generic Component type in h()
fix #922
Evan You [Sat, 4 Apr 2020 16:57:15 +0000 (12:57 -0400)]
fix(reactivity): track reactive keys in raw collection types
Also warn against presence of both raw and reactive versions of the
same object in a collection as keys.
fix #919
Evan You [Sat, 4 Apr 2020 01:45:50 +0000 (21:45 -0400)]
release: v3.0.0-alpha.11
Evan You [Sat, 4 Apr 2020 01:40:40 +0000 (21:40 -0400)]
build: run tests in serial for release
Evan You [Sat, 4 Apr 2020 01:37:58 +0000 (21:37 -0400)]
fix(runtime-core): support attr merging on child with root level comments
fix #904
Evan You [Sat, 4 Apr 2020 01:11:26 +0000 (21:11 -0400)]
refactor(compiler-sfc): make more explicit regarding template pad behavior
Rahul Kadyan [Sat, 4 Apr 2020 01:10:22 +0000 (06:40 +0530)]
fix(compiler-sfc): always use offset for template block sourcemaps (#911)
Evan You [Sat, 4 Apr 2020 01:05:55 +0000 (21:05 -0400)]
fix(types/reactivity): add generics constraint for markNonReactive
fix #917
Evan You [Sat, 4 Apr 2020 01:02:20 +0000 (21:02 -0400)]
fix(compiler): fix pre tag whitespace handling
- should preserve whitespace even in nested elements
- should remove leading newline per spec
fix #908
Evan You [Sat, 4 Apr 2020 00:40:34 +0000 (20:40 -0400)]
feat(runtime-core): emits validation and warnings
Evan You [Fri, 3 Apr 2020 23:08:17 +0000 (19:08 -0400)]
refactor(runtime-core): extract component emit related logic into dedicated file
Evan You [Fri, 3 Apr 2020 16:05:52 +0000 (12:05 -0400)]
feat(runtime-core): type and attr fallthrough support for emits option
Evan You [Fri, 3 Apr 2020 14:51:17 +0000 (10:51 -0400)]
test(types): fix dts test
Robbin Baauw [Fri, 3 Apr 2020 13:30:58 +0000 (15:30 +0200)]
feat(reactivity): add effect to public api (#909)
Evan You [Fri, 3 Apr 2020 13:29:21 +0000 (09:29 -0400)]
test(types): also test Object as PropType casting
Carlos Rodrigues [Fri, 3 Apr 2020 13:28:13 +0000 (14:28 +0100)]
fix(types): allow use PropType with Function (#915)
close #748
Evan You [Fri, 3 Apr 2020 13:21:21 +0000 (09:21 -0400)]
chore: remove debugger
Evan You [Fri, 3 Apr 2020 01:51:01 +0000 (21:51 -0400)]
refactor(runtime-core): adjust attr fallthrough behavior
BREAKING CHANGE: attribute fallthrough behavior has been adjusted
according to https://github.com/vuejs/rfcs/pull/154
Cédric Exbrayat [Fri, 3 Apr 2020 13:19:53 +0000 (15:19 +0200)]
refactor(runtime-core): remove unnecessary tracing check (#912)
The check for `config.performance` is already done inside `endMeasure` and is not done anywhere else `endMeasure` is called.
dependabot-preview[bot] [Fri, 3 Apr 2020 07:59:42 +0000 (07:59 +0000)]
build(deps-dev): bump @types/jest from 25.1.4 to 25.1.5
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.1.4 to 25.1.5.
- [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>
dependabot-preview[bot] [Fri, 3 Apr 2020 07:55:55 +0000 (07:55 +0000)]
build(deps-dev): bump jest from 25.2.4 to 25.2.7
Bumps [jest](https://github.com/facebook/jest) from 25.2.4 to 25.2.7.
- [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.4...v25.2.7)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Thu, 2 Apr 2020 23:49:45 +0000 (19:49 -0400)]
fix(reactivity): scheduled effect should not execute if stopped
fix #910
Evan You [Thu, 2 Apr 2020 02:11:35 +0000 (22:11 -0400)]
chore: readme [ci skip]
Evan You [Thu, 2 Apr 2020 02:04:55 +0000 (22:04 -0400)]
test: fix dts tests for Teleport renaming
Evan You [Thu, 2 Apr 2020 01:59:42 +0000 (21:59 -0400)]
test: make events test more stable
Evan You [Tue, 31 Mar 2020 14:52:42 +0000 (10:52 -0400)]
refactor: rename `<portal>` to `<teleport>`
BREAKING CHANGE: `<portal>` has been renamed to `<teleport>`.
`target` prop is also renmaed to `to`, so the new usage will be:
```html
<Teleport to="#modal-layer" :disabled="isMobile">
<div class="modal">
hello
</div>
</Teleport>
```
The primary reason for the renaming is to avoid potential naming
conflict with [native portals](https://wicg.github.io/portals/).
Evan You [Thu, 2 Apr 2020 01:39:37 +0000 (21:39 -0400)]
chore: avoid v-cloak test warning
Evan You [Thu, 2 Apr 2020 01:36:50 +0000 (21:36 -0400)]
feat(runtime-core): config.performance tracing support
Evan You [Thu, 2 Apr 2020 00:44:53 +0000 (20:44 -0400)]
fix(compiler-core/slots): should support on-component named slots
Igor Randjelovic [Wed, 1 Apr 2020 15:25:05 +0000 (17:25 +0200)]
feat(compiler-core): export `transformElement` from compiler-core (#907)