]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
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
Evan You [Fri, 16 Jul 2021 16:24:30 +0000 (12:24 -0400)]
chore: fix codegen error due to scopeId deprecation change
Evan You [Fri, 16 Jul 2021 16:22:40 +0000 (12:22 -0400)]
workflow: also rebuild runtime-dom when working on sfc playground
Evan You [Fri, 16 Jul 2021 16:00:17 +0000 (12:00 -0400)]
chore: expose watchPostEffect
Evan You [Fri, 16 Jul 2021 14:40:06 +0000 (10:40 -0400)]
fix: ensure customElements API ssr compatibility
fix #4129
fishDog [Thu, 15 Jul 2021 20:50:54 +0000 (04:50 +0800)]
chore(compiler-core): reduce unnecessary cache inside v-once (#4112)
Evan You [Thu, 15 Jul 2021 15:17:59 +0000 (11:17 -0400)]
feat(sfc): support namespaced component tags when using `<script setup>`
Evan You [Wed, 14 Jul 2021 22:12:38 +0000 (18:12 -0400)]
refactor: remove outdated slot ctx wrapper codegen
Evan You [Wed, 14 Jul 2021 21:54:19 +0000 (17:54 -0400)]
fix(runtime-core): fix default shapeFlag for fragments
Evan You [Wed, 14 Jul 2021 19:53:46 +0000 (15:53 -0400)]
fix: ignore .prop/.attr modifiers in ssr
Evan You [Wed, 14 Jul 2021 19:40:09 +0000 (15:40 -0400)]
refactor: remove deprecated defineEmit() support
Evan You [Wed, 14 Jul 2021 19:35:34 +0000 (15:35 -0400)]
feat(sfc): (experimental) new ref sugar
Evan You [Wed, 14 Jul 2021 16:07:55 +0000 (12:07 -0400)]
feat: remove experimental status of `<script setup>`
Evan You [Wed, 14 Jul 2021 14:04:35 +0000 (10:04 -0400)]
refactor: remove deprecated scopeId codegen
BREAKING CHANGE: Output of SFC using `<style scoped>` generated by 3.2+
will be incompatible w/ runtime <3.2.
Evan You [Tue, 13 Jul 2021 19:58:18 +0000 (15:58 -0400)]
feat: support v-bind .prop & .attr modifiers
Also allows render function usage like the following:
```js
h({
'.prop': 1, // force set as property
'^attr': 'foo' // force set as attribute
})
```
Evan You [Tue, 13 Jul 2021 16:23:51 +0000 (12:23 -0400)]
feat: custom element reflection, casting and edge cases
Evan You [Tue, 13 Jul 2021 14:57:41 +0000 (10:57 -0400)]
types: fix dts tests
Evan You [Tue, 13 Jul 2021 14:52:15 +0000 (10:52 -0400)]
test: fix renderSlot tests
Evan You [Mon, 12 Jul 2021 19:32:38 +0000 (15:32 -0400)]
feat(runtime-dom): defineCustomElement
Evan You [Sat, 10 Jul 2021 01:47:15 +0000 (21:47 -0400)]
feat: watchPostEffect
Evan You [Sat, 10 Jul 2021 01:41:44 +0000 (21:41 -0400)]
feat: v-memo
Evan You [Thu, 8 Jul 2021 21:09:23 +0000 (17:09 -0400)]
feat(reactivity): support onTrack/onTrigger debug options for computed
Evan You [Thu, 8 Jul 2021 20:12:04 +0000 (16:12 -0400)]
perf: also hoist all-static children array
Evan You [Thu, 8 Jul 2021 19:21:33 +0000 (15:21 -0400)]
chore: bump serve
Evan You [Thu, 8 Jul 2021 17:41:38 +0000 (13:41 -0400)]
test: more test cases for computed w/ scheduler
Evan You [Thu, 8 Jul 2021 04:31:26 +0000 (00:31 -0400)]
refactor: sync value access for chained computed w/ scheduler
Evan You [Wed, 7 Jul 2021 18:47:59 +0000 (14:47 -0400)]
perf: hoist dynamic props lists
Evan You [Wed, 7 Jul 2021 18:37:28 +0000 (14:37 -0400)]
chore: use consistent file naming
Evan You [Wed, 7 Jul 2021 16:33:37 +0000 (12:33 -0400)]
refactor: reduce bundle size
Bas van Meurs [Wed, 7 Jul 2021 18:13:23 +0000 (20:13 +0200)]
perf(reactivity): use bitwise dep markers to optimize re-tracking (#4017)
Evan You [Wed, 7 Jul 2021 14:32:06 +0000 (10:32 -0400)]
chore: remove unncessary property on ComputedRef interface
Evan You [Wed, 7 Jul 2021 14:10:56 +0000 (10:10 -0400)]
test: test for computed optimization
Evan You [Wed, 7 Jul 2021 02:01:59 +0000 (22:01 -0400)]
perf(reactivity): avoid triggering re-render if computed value did not change
Anthony Fu [Wed, 7 Jul 2021 13:07:19 +0000 (21:07 +0800)]
feat(reactivity): new effectScope API (#2195)
Evan You [Thu, 24 Jun 2021 21:44:32 +0000 (17:44 -0400)]
perf(reactivity): improve reactive effect memory usage (#4001)
Based on #2345 , but with smaller API change
- Use class implementation for `ReactiveEffect`
- Switch internal creation of effects to use the class constructor
- Avoid options object allocation
- Avoid creating bound effect runner function (used in schedulers) when not necessary.
- Consumes ~17% less memory compared to last commit
- Introduces a very minor breaking change: the `scheduler` option passed to `effect` no longer receives the runner function.
Evan You [Thu, 24 Jun 2021 13:23:59 +0000 (09:23 -0400)]
chore: fix test failing types
Evan You [Wed, 23 Jun 2021 21:20:38 +0000 (17:20 -0400)]
refactor: small bundle size / readability optimization
Bas van Meurs [Wed, 23 Jun 2021 21:22:21 +0000 (23:22 +0200)]
perf(reactivity): ref-specific track/trigger and miscellaneous optimizations (#3995)
HcySunYang [Tue, 22 Jun 2021 23:15:20 +0000 (07:15 +0800)]
perf: improve VNode creation performance with compiler hints (#3334)
Evan You [Fri, 16 Jul 2021 16:38:01 +0000 (12:38 -0400)]
release: v3.1.5
Evan You [Fri, 16 Jul 2021 14:23:25 +0000 (10:23 -0400)]
test: test for compat mode v3 render fn detection
Evan You [Fri, 16 Jul 2021 14:17:38 +0000 (10:17 -0400)]
fix(compat): fix v3 compiled fn detection in production
Evan You [Thu, 15 Jul 2021 22:51:59 +0000 (18:51 -0400)]
fix(runtime-core): enter optimized mode for component as root
fix #3943
TheDro [Thu, 15 Jul 2021 21:17:13 +0000 (17:17 -0400)]
fix(reactivity): call array subclass methods (#3624)
fix #2314, close #2315
Evan You [Thu, 15 Jul 2021 20:57:30 +0000 (16:57 -0400)]
chore: fix snapshot from merge
patak [Thu, 15 Jul 2021 20:45:37 +0000 (22:45 +0200)]
fix(compiler-sfc): duplicated injected css var with repeated vars in style (#2802)
é±¼ [Thu, 15 Jul 2021 20:36:36 +0000 (04:36 +0800)]
test(teleport): fix meaningless test case (#2872)
HcySunYang [Thu, 15 Jul 2021 20:32:25 +0000 (04:32 +0800)]
fix(runtime-dom): capture errors when setting value for IDL (#3578)
fix #3576
Carlos Rodrigues [Thu, 15 Jul 2021 20:28:20 +0000 (21:28 +0100)]
fix(type): infer parent as `this` on `nextTick` function (#3608)
fix #3599
Yang Mingshan [Thu, 15 Jul 2021 20:28:01 +0000 (04:28 +0800)]
fix(ref): should not trigger when setting value to same proxy (#3658)
Carlos Rodrigues [Thu, 15 Jul 2021 19:58:20 +0000 (20:58 +0100)]
types(defineComponent): fix unwrap when returning `Ref<T>|undefined` from `setup` (#4100)
Tan Zhen Yong [Thu, 15 Jul 2021 19:45:23 +0000 (03:45 +0800)]
chore: fix typo in inherit-attrs warning (#4094)
Austin Keener [Thu, 15 Jul 2021 18:57:47 +0000 (14:57 -0400)]
fix(compiler): Addressed infinite loop in compiler (#3992)
close #3987
Evan You [Thu, 15 Jul 2021 17:45:43 +0000 (13:45 -0400)]
fix(runtime-dom): remove class attribute on nullish values
close #3173
Evan You [Thu, 15 Jul 2021 17:34:42 +0000 (13:34 -0400)]
fix(v-model): support calling methods in v-model expression
close #3993
Evan You [Thu, 15 Jul 2021 17:26:09 +0000 (13:26 -0400)]
fix(v-on): proper member exp detection for bracket assignment
fix #4097
Evan You [Fri, 9 Jul 2021 20:18:36 +0000 (16:18 -0400)]
refactor: simplify static content insertion
Evan You [Thu, 15 Jul 2021 17:12:06 +0000 (13:12 -0400)]
fix(sfc): only enable jsx parser plugin when explicitly using tsx
fix #4106
Evan You [Thu, 15 Jul 2021 16:23:07 +0000 (12:23 -0400)]
fix(v-on): properly detect member expressions with optional chaining
fix #4107
Evan You [Thu, 15 Jul 2021 16:14:19 +0000 (12:14 -0400)]
fix(v-model): handle mutations of v-model bound array/sets
fix #4096
edison [Thu, 15 Jul 2021 15:37:11 +0000 (23:37 +0800)]
fix(compiler-core): fix forwarded slots detection on template slots (#4124)
fix #4123
edison [Wed, 14 Jul 2021 22:08:12 +0000 (06:08 +0800)]
fix(sfc): fix style variables injection on static vnode (#3847)
fix #3841
Evan You [Tue, 6 Jul 2021 18:31:53 +0000 (14:31 -0400)]
fix(sfc): fix `<script setup>` async context preservation logic
fix #4050
Evan You [Tue, 6 Jul 2021 16:02:53 +0000 (12:02 -0400)]
workflow: dev-sfc script
Evan You [Tue, 6 Jul 2021 15:39:27 +0000 (11:39 -0400)]
test: add test case for proper effect teardown w/ withAsyncContext
Evan You [Mon, 5 Jul 2021 18:41:53 +0000 (14:41 -0400)]
fix(compiler-sfc): should not rewrite ref sugar identifiers in types
fix #4062
Evan You [Mon, 5 Jul 2021 18:41:09 +0000 (14:41 -0400)]
chore: bump vite
Austin Keener [Sun, 4 Jul 2021 22:32:44 +0000 (18:32 -0400)]
fix(compat): fix props check for v-model compat warning (#4056)
Evan You [Fri, 2 Jul 2021 12:37:50 +0000 (08:37 -0400)]
release: v3.1.4
Evan You [Fri, 2 Jul 2021 12:27:52 +0000 (08:27 -0400)]
test: fix test ts target
Evan You [Fri, 2 Jul 2021 12:24:24 +0000 (08:24 -0400)]
fix(compiler-sfc): fix parse-only mode when there is no script setup block
Evan You [Fri, 2 Jul 2021 12:19:05 +0000 (08:19 -0400)]
chore: fix lint script
Evan You [Fri, 2 Jul 2021 12:11:30 +0000 (08:11 -0400)]
chore: disallow async/await usage in src
Evan You [Fri, 2 Jul 2021 12:06:22 +0000 (08:06 -0400)]
fix(build): avoid using async/await syntax
Evan You [Fri, 2 Jul 2021 11:59:47 +0000 (07:59 -0400)]
fix(codegen): ensure valid types in genreated code when using global directives
fix #4054
Austin Keener [Fri, 2 Jul 2021 11:51:54 +0000 (07:51 -0400)]
fix(runtime-core): fix instance accessed via $parent chain when using expose() (#4048)
wonderl17 [Fri, 2 Jul 2021 11:51:09 +0000 (19:51 +0800)]
fix(runtime-core): add useAttrs and useSlots export (#4053)
Evan You [Fri, 2 Jul 2021 11:35:31 +0000 (07:35 -0400)]
fix(build): fix generated code containing unprocessed class field syntax
fix #4052
fix vuejs/vue-cli#6562
Evan You [Thu, 1 Jul 2021 23:28:06 +0000 (19:28 -0400)]
release: v3.1.3
Evan You [Thu, 1 Jul 2021 23:17:07 +0000 (19:17 -0400)]
fix(runtime-dom): fix static node content caching edge cases
reverts
fded1e8
fix #4023, #4031, #4037
Guillaume [Thu, 1 Jul 2021 22:10:07 +0000 (00:10 +0200)]
types: export CreateComponentPublicInstance
Evan You [Thu, 1 Jul 2021 21:22:03 +0000 (17:22 -0400)]
fix(ssr): ensure behavior consistency between prod/dev when mounting SSR app to empty containers
close #4034
Evan You [Thu, 1 Jul 2021 21:11:23 +0000 (17:11 -0400)]
fix(ssr): properly hydrate non-string value bindings
fix #4006
Evan You [Thu, 1 Jul 2021 20:11:50 +0000 (16:11 -0400)]
fix(runtime-core): fix mouting of detached static vnode
fix #4023
Evan You [Thu, 1 Jul 2021 19:34:12 +0000 (15:34 -0400)]
fix(compiler-core): properly exit self-closing pre tag
fix #4030
Evan You [Thu, 1 Jul 2021 19:20:49 +0000 (15:20 -0400)]
fix(types): improve type of unref()
fix #3954
Bas van Meurs [Thu, 1 Jul 2021 17:56:38 +0000 (19:56 +0200)]
chore(puppeteer): upgrade puppeteer (#4019)
* chore(puppeteer): upgrade puppeteer
* fix(tests): fix typescript error with puppeteer 5.X types
Co-authored-by: bas <bas@planning.nl>
dependabot[bot] [Thu, 1 Jul 2021 17:53:10 +0000 (13:53 -0400)]
build(deps-dev): bump sass from 1.32.12 to 1.35.1 (#4047)
Bumps [sass](https://github.com/sass/dart-sass) from 1.32.12 to 1.35.1.
- [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.32.12...1.35.1)
---
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>
dependabot[bot] [Thu, 1 Jul 2021 17:52:10 +0000 (13:52 -0400)]
build(deps): bump @babel/types from 7.14.4 to 7.14.5 (#4045)
Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.14.4 to 7.14.5.
- [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.5/packages/babel-types)
---
updated-dependencies:
- dependency-name: "@babel/types"
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] [Thu, 1 Jul 2021 17:52:02 +0000 (13:52 -0400)]
build(deps-dev): bump vite from 2.3.7 to 2.3.8 (#4044)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.3.7 to 2.3.8.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v2.3.8/packages/vite)
---
updated-dependencies:
- dependency-name: vite
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] [Thu, 1 Jul 2021 17:51:39 +0000 (13:51 -0400)]
build(deps): bump postcss-modules from 4.0.0 to 4.1.3 (#4043)
Bumps [postcss-modules](https://github.com/css-modules/postcss-modules) from 4.0.0 to 4.1.3.
- [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.0.0...v4.1.3)
---
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] [Thu, 1 Jul 2021 17:51:31 +0000 (13:51 -0400)]
build(deps): bump @babel/parser from 7.14.4 to 7.14.7 (#4041)
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.14.4 to 7.14.7.
- [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.7/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] [Thu, 1 Jul 2021 17:51:18 +0000 (13:51 -0400)]
build(deps-dev): bump @typescript-eslint/parser from 4.26.0 to 4.28.1 (#4042)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.26.0 to 4.28.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.1/packages/parser)
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
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] [Thu, 1 Jul 2021 17:51:05 +0000 (13:51 -0400)]
build(deps-dev): bump eslint from 7.25.0 to 7.29.0 (#4040)
Bumps [eslint](https://github.com/eslint/eslint) from 7.25.0 to 7.29.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.25.0...v7.29.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] [Thu, 1 Jul 2021 17:49:51 +0000 (13:49 -0400)]
build(deps-dev): bump typescript from 4.2.4 to 4.3.5 (#4038)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.3.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.5)
---
updated-dependencies:
- dependency-name: typescript
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>
Johnson Chu [Thu, 1 Jul 2021 17:49:16 +0000 (01:49 +0800)]
feat(types/ide): support find definition for jsx tags, events (#3570)
Johnson Chu [Thu, 1 Jul 2021 17:48:23 +0000 (01:48 +0800)]
feat(types): support IDE renaming for props (#3656)
Evan You [Wed, 30 Jun 2021 16:03:42 +0000 (12:03 -0400)]
fix(compiler-sfc): support TS runtime enum in `<script setup>`