]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
Evan You [Fri, 6 Aug 2021 16:55:48 +0000 (12:55 -0400)]
fix(compiler-sfc): fix ref sugar rewrite for identifiers in ts casting expressions
fix #4254
Evan You [Fri, 6 Aug 2021 16:41:40 +0000 (12:41 -0400)]
refactor(server-renderer): adjust streaming API
- add `pipeToNodeWritable`
- add `pipeToWebWritable`
James Ross [Fri, 6 Aug 2021 15:23:12 +0000 (16:23 +0100)]
docs(server-renderer): fix typo in `renderToWebStream` error, and remove Cloudflare Worker reference (#4249) [ci skip]
AlexandraCaragata [Fri, 6 Aug 2021 15:11:26 +0000 (17:11 +0200)]
fix(core): typing of key in VNodeProps (#4242)
close #4240
Evan You [Wed, 4 Aug 2021 21:06:23 +0000 (17:06 -0400)]
chore: update new ref sugar warning link
Evan You [Wed, 4 Aug 2021 19:39:23 +0000 (15:39 -0400)]
refactor(compiler-sfc): use shallowRef for ref sugar destructure
hfutsora [Mon, 2 Aug 2021 13:41:41 +0000 (21:41 +0800)]
fix(runtime-dom): fix shadowRoot instanceof check in unsupported browsers (#4238)
Amour1688 [Mon, 2 Aug 2021 13:18:35 +0000 (21:18 +0800)]
fix(types): remove explicit return type annotation requirement for `this` inference in computed options (#4221)
dependabot[bot] [Mon, 2 Aug 2021 12:58:34 +0000 (08:58 -0400)]
build(deps-dev): bump @types/node from 16.4.7 to 16.4.10 (#4230)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.4.7 to 16.4.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Aug 2021 12:58:23 +0000 (08:58 -0400)]
build(deps-dev): bump @microsoft/api-extractor from 7.15.2 to 7.18.4 (#4234)
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.15.2 to 7.18.4.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.15.2...@microsoft/api-extractor_v7.18.4)
---
updated-dependencies:
- dependency-name: "@microsoft/api-extractor"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Aug 2021 12:58:14 +0000 (08:58 -0400)]
build(deps-dev): bump @types/lru-cache from 5.1.0 to 5.1.1 (#4233)
Bumps [@types/lru-cache](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lru-cache) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lru-cache)
---
updated-dependencies:
- dependency-name: "@types/lru-cache"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Aug 2021 12:57:59 +0000 (08:57 -0400)]
build(deps): bump @babel/parser from 7.14.7 to 7.14.9 (#4232)
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.14.7 to 7.14.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.9/packages/babel-parser)
---
updated-dependencies:
- dependency-name: "@babel/parser"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Aug 2021 12:57:32 +0000 (08:57 -0400)]
build(deps): bump postcss-modules from 4.1.3 to 4.2.2 (#4231)
Bumps [postcss-modules](https://github.com/css-modules/postcss-modules) from 4.1.3 to 4.2.2.
- [Release notes](https://github.com/css-modules/postcss-modules/releases)
- [Changelog](https://github.com/madyankin/postcss-modules/blob/master/CHANGELOG.md)
- [Commits](https://github.com/css-modules/postcss-modules/compare/v4.1.3...v4.2.2)
---
updated-dependencies:
- dependency-name: postcss-modules
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Aug 2021 12:57:04 +0000 (08:57 -0400)]
build(deps-dev): bump eslint from 7.29.0 to 7.32.0 (#4229)
Bumps [eslint](https://github.com/eslint/eslint) from 7.29.0 to 7.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.29.0...v7.32.0)
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Aug 2021 12:56:56 +0000 (08:56 -0400)]
build(deps-dev): bump @types/puppeteer from 5.4.3 to 5.4.4 (#4228)
Bumps [@types/puppeteer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/puppeteer) from 5.4.3 to 5.4.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/puppeteer)
---
updated-dependencies:
- dependency-name: "@types/puppeteer"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Aug 2021 12:56:48 +0000 (08:56 -0400)]
build(deps-dev): bump @types/consolidate from 0.14.0 to 0.14.1 (#4227)
Bumps [@types/consolidate](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/consolidate) from 0.14.0 to 0.14.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/consolidate)
---
updated-dependencies:
- dependency-name: "@types/consolidate"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Aug 2021 12:56:39 +0000 (08:56 -0400)]
build(deps-dev): bump sass from 1.35.1 to 1.37.0 (#4226)
Bumps [sass](https://github.com/sass/dart-sass) from 1.35.1 to 1.37.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.35.1...1.37.0)
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Evan You [Thu, 29 Jul 2021 21:20:05 +0000 (17:20 -0400)]
chore(server-renderer): readme [ci skip]
Evan You [Thu, 29 Jul 2021 21:15:56 +0000 (17:15 -0400)]
fix(runtime-core): component effect scopes should be detached
Evan You [Thu, 29 Jul 2021 17:21:30 +0000 (13:21 -0400)]
release: v3.2.0-beta.7
Evan You [Thu, 29 Jul 2021 17:12:50 +0000 (13:12 -0400)]
feat(server-renderer): decouple esm build from Node + improve stream API
- deprecate `renderToSTream`
- added `renderToNodeStream`
- added `renderToWebStream`
- added `renderToSimpleStream`
close #3467
close #3111
close #3460
Evan You [Thu, 29 Jul 2021 16:52:23 +0000 (12:52 -0400)]
chore: bump node types
Evan You [Thu, 29 Jul 2021 16:35:35 +0000 (12:35 -0400)]
ci: set node to 16
Roan Kattouw [Thu, 29 Jul 2021 14:51:03 +0000 (10:51 -0400)]
fix(shared): support custom .toString() in text interpolation again (#4210)
fix #3944
Bartek Igielski [Thu, 29 Jul 2021 14:48:15 +0000 (16:48 +0200)]
build(server-renderer): Add ESM as a build target (#4209)
Evan You [Thu, 29 Jul 2021 14:45:05 +0000 (10:45 -0400)]
refactor: simplify for size
Bas van Meurs [Thu, 29 Jul 2021 14:26:24 +0000 (16:26 +0200)]
refactor(reactivity): optimize child effect scope dereferencing (#4184)
Evan You [Wed, 28 Jul 2021 22:31:48 +0000 (18:31 -0400)]
feat(sfc): remove experimental status for sfc style v-bind
Evan You [Wed, 28 Jul 2021 20:49:34 +0000 (16:49 -0400)]
fix(suspense): fix dynamicChildren tracking when suspense root is a block itself
e.g. `<slot>` inside suspense
fix #4183, fix #4198
Evan You [Wed, 28 Jul 2021 16:08:01 +0000 (12:08 -0400)]
fix(reactivity): dereference nested effect scopes on manual stop
Pick [Wed, 28 Jul 2021 15:15:08 +0000 (23:15 +0800)]
types(reactivity): simplify UnwrapNestedRefs (#4194)
Pick [Wed, 28 Jul 2021 15:12:46 +0000 (23:12 +0800)]
types(reactivity): Simplify the SymbolExtract (#4162)
Roan Kattouw [Wed, 28 Jul 2021 15:07:47 +0000 (11:07 -0400)]
chore: Add LICENSE file for vue-compat (#4200) [ci skip]
edison [Wed, 28 Jul 2021 14:51:25 +0000 (22:51 +0800)]
fix(sfc/style-vars): improve ignore style variable bindings in comments (#4202)
Evan You [Tue, 27 Jul 2021 22:56:02 +0000 (18:56 -0400)]
release: v3.2.0-beta.6
Evan You [Tue, 27 Jul 2021 22:34:15 +0000 (18:34 -0400)]
feat: unwrap refs in toDisplayString
Evan You [Tue, 27 Jul 2021 21:59:13 +0000 (17:59 -0400)]
fix(runtime-core): expose ssrUtils in esm-bundler build
this is necessary for worker environments where Vue needs to be
bundled (instead of using cjs build via Node.js require)
fix #4199
Evan You [Tue, 27 Jul 2021 21:52:31 +0000 (17:52 -0400)]
fix(inject): should auto unwrap injected refs
fix #4196
Evan You [Tue, 27 Jul 2021 21:14:19 +0000 (17:14 -0400)]
chore: rename method to make it more explicit it is dev only
edison [Mon, 26 Jul 2021 15:19:56 +0000 (23:19 +0800)]
fix(sfc/style-vars): should ignore style variable bindings in comments (#4188)
fix #4185
Evan You [Fri, 23 Jul 2021 23:22:47 +0000 (19:22 -0400)]
workflow: auto determine release dist-tag
Evan You [Fri, 23 Jul 2021 20:10:22 +0000 (16:10 -0400)]
release: v3.2.0-beta.5
Otto [Fri, 23 Jul 2021 20:03:19 +0000 (04:03 +0800)]
docs: update vite init command (#4176) [ci skip]
Evan You [Fri, 23 Jul 2021 19:44:56 +0000 (15:44 -0400)]
fix(v-model): avoid resetting value of in-focus & lazy input
fix #4182
Evan You [Fri, 23 Jul 2021 19:24:58 +0000 (15:24 -0400)]
fix(types): fix types for readonly ref
fix #4180
Evan You [Fri, 23 Jul 2021 03:18:15 +0000 (23:18 -0400)]
refactor: adjust custom element hmr, fix tests
Evan You [Thu, 22 Jul 2021 22:54:26 +0000 (18:54 -0400)]
fix(hmr): fix custom elements hmr edge cases
Evan You [Thu, 22 Jul 2021 22:19:54 +0000 (18:19 -0400)]
feat(runtime-dom): support passing initial props to custom element constructor
Evan You [Thu, 22 Jul 2021 21:48:15 +0000 (17:48 -0400)]
feat(runtime-dom): hmr for custom elements
Evan You [Thu, 22 Jul 2021 20:33:32 +0000 (16:33 -0400)]
feat(runtime-dom): support specifying shadow dom styles in defineCustomElement
Evan You [Thu, 22 Jul 2021 16:53:08 +0000 (12:53 -0400)]
refactor(compiler-sfc): improve script setup import expose heuristics
Evan You [Thu, 22 Jul 2021 16:04:46 +0000 (12:04 -0400)]
feat(compiler-sfc): avoid exposing imports not used in template
close #3183
Evan You [Thu, 22 Jul 2021 14:53:59 +0000 (10:53 -0400)]
fix(hmr): fix hmr when global mixins are used
fix #4174
Evan You [Wed, 21 Jul 2021 21:40:25 +0000 (17:40 -0400)]
release: v3.2.0-beta.4
Evan You [Wed, 21 Jul 2021 21:31:00 +0000 (17:31 -0400)]
fix(runtime-core): ensure setupContext.attrs reactivity when used in child slots
fix #4161
Evan You [Wed, 21 Jul 2021 20:38:01 +0000 (16:38 -0400)]
fix(runtime-dom): defer setting value
fix #2325, fix #4024
王嘉欣 [Wed, 21 Jul 2021 19:55:31 +0000 (03:55 +0800)]
chore(types): remove unnecessary assertions (#4168)
webfansplz [Wed, 21 Jul 2021 19:50:08 +0000 (03:50 +0800)]
chore(types): remove unnecessary non-null assertion (#4169)
Evan You [Wed, 21 Jul 2021 18:04:02 +0000 (14:04 -0400)]
perf: skip patch on same vnode
Evan You [Wed, 21 Jul 2021 15:11:40 +0000 (11:11 -0400)]
build: reduce runtime build size
Evan You [Tue, 20 Jul 2021 21:47:03 +0000 (17:47 -0400)]
release: v3.2.0-beta.3
Evan You [Tue, 20 Jul 2021 21:39:19 +0000 (17:39 -0400)]
feat(reactivity): deferredComputed
Note: this is not exposed as part of Vue API, only as
a lower-level API specific to @vue/reactivity
Evan You [Tue, 20 Jul 2021 20:49:54 +0000 (16:49 -0400)]
feat(runtime-core): watchSyncEffect
Evan You [Tue, 20 Jul 2021 20:20:38 +0000 (16:20 -0400)]
fix(reactivity): revert computed scheduler change
fix #4157
Evan You [Tue, 20 Jul 2021 18:32:17 +0000 (14:32 -0400)]
fix(watch): ensure watchers respect detached scope
fix #4158
Evan You [Tue, 20 Jul 2021 17:58:43 +0000 (13:58 -0400)]
fix(runtime-core): fix v-bind class/style merging regression
fix #4155
webfansplz [Tue, 20 Jul 2021 14:28:02 +0000 (22:28 +0800)]
fix(sfc-playground): Transform named default exports without altering scope (#4154)
Co-authored-by: webfansplz <>
webfansplz [Tue, 20 Jul 2021 13:31:40 +0000 (21:31 +0800)]
chore(type): remove unnecessary type assertion (#4150)
Evan You [Tue, 20 Jul 2021 13:29:45 +0000 (09:29 -0400)]
build: fix default build script (ignore sfc-playground)
close #4153
Evan You [Mon, 19 Jul 2021 23:36:55 +0000 (19:36 -0400)]
release: v3.2.0-beta.2
Evan You [Mon, 19 Jul 2021 23:29:28 +0000 (19:29 -0400)]
fix(compiler-core): fix self-closing tags with v-pre
Evan You [Mon, 19 Jul 2021 23:23:44 +0000 (19:23 -0400)]
refactor: better fix for
ec6abe8d
Evan You [Mon, 19 Jul 2021 23:06:17 +0000 (19:06 -0400)]
chore: remove peer dep for compiler-sfc
Evan You [Mon, 19 Jul 2021 23:02:46 +0000 (19:02 -0400)]
feat(compiler-sfc): add ignoreEmpty option for sfc parse method
Evan You [Mon, 19 Jul 2021 22:54:35 +0000 (18:54 -0400)]
fix(compiler-sfc): fix whitespace preservation when block contains single self-closing tag
Evan You [Mon, 19 Jul 2021 22:24:18 +0000 (18:24 -0400)]
chore: run updated prettier
Amour1688 [Mon, 19 Jul 2021 22:22:19 +0000 (06:22 +0800)]
feat(types): map declared emits to onXXX props in inferred prop types (#3926)
Pick [Mon, 19 Jul 2021 21:59:30 +0000 (05:59 +0800)]
chore(reactivity): correct the description of the test case (#4135)
Evan You [Mon, 19 Jul 2021 21:46:04 +0000 (17:46 -0400)]
fix(v-model): properly detect input type=number
fix #3813
Evan You [Mon, 19 Jul 2021 21:31:13 +0000 (17:31 -0400)]
fix(compiler-sfc): support const enum
Cédric Exbrayat [Mon, 19 Jul 2021 21:24:40 +0000 (23:24 +0200)]
perf(compiler-sfc): ignore empty blocks (#3520)
Homyee King [Mon, 19 Jul 2021 21:22:21 +0000 (05:22 +0800)]
chore(shared): remove extra NaN logic (#3837)
ioslh [Mon, 19 Jul 2021 21:13:37 +0000 (05:13 +0800)]
fix(ssr): update initial old value to watch callback in ssr usage (#4103)
Evan You [Mon, 19 Jul 2021 21:05:37 +0000 (17:05 -0400)]
fix(compiler-sfc): expose correct range for empty blocks
Evan You [Mon, 19 Jul 2021 17:37:35 +0000 (13:37 -0400)]
fix(scheduler): fix insertion for id-less job
fix #4148
Evan You [Mon, 19 Jul 2021 17:37:03 +0000 (13:37 -0400)]
fix(reactivity): computed should not trigger scheduler if stopped
fix #4149
Austin Keener [Mon, 19 Jul 2021 15:40:37 +0000 (11:40 -0400)]
feat(compiler): allow 'comments' option to affect comment inclusion in dev (#4115)
Close: #3392
Replace: #3395
webfansplz [Mon, 19 Jul 2021 15:30:43 +0000 (23:30 +0800)]
chore(shared): remove deprecated html tags (#4130)
Evan You [Mon, 19 Jul 2021 15:20:28 +0000 (11:20 -0400)]
fix(runtime-core): fix null type in required + multi-type prop declarations
fix #4146 (in combination with #4147)
Evan You [Mon, 19 Jul 2021 15:11:17 +0000 (11:11 -0400)]
chore: fix type issue
edison [Mon, 19 Jul 2021 15:09:24 +0000 (23:09 +0800)]
fix(compiler-sfc): defineProps infer TSParenthesizedType (#4147)
Evan You [Mon, 19 Jul 2021 14:43:14 +0000 (10:43 -0400)]
refactor: improve the fix for #4138
Evan You [Mon, 19 Jul 2021 14:37:12 +0000 (10:37 -0400)]
fix(shared): normalizeStyle should handle strings
fix #4138
leno [Mon, 19 Jul 2021 14:32:14 +0000 (22:32 +0800)]
chore(runtime-core): use bit operations instead (#4142)
webfansplz [Mon, 19 Jul 2021 14:32:07 +0000 (22:32 +0800)]
chore(types): improve of type assertion (#4141)
Cédric Exbrayat [Mon, 19 Jul 2021 14:08:51 +0000 (16:08 +0200)]
chore(sfc-playground): remove compiler macro imports (#4134)
Importing `defineEmits` and `defineProps` is no longer needed since v3.1.3
Evan You [Fri, 16 Jul 2021 21:35:04 +0000 (17:35 -0400)]
types: typing for ref macros
Evan You [Fri, 16 Jul 2021 20:56:51 +0000 (16:56 -0400)]
chore: remove deprecated defineEmit & useContext APIs
Evan You [Fri, 16 Jul 2021 18:44:06 +0000 (14:44 -0400)]
release: v3.2.0-beta.1
Evan You [Fri, 16 Jul 2021 16:29:09 +0000 (12:29 -0400)]
fix(sfc/style-vars): properly re-apply style vars on component root elements change
Now uses MutationObserver to ensure it works even for HOCs
fix #3894