]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
Erik Campobadal Forés [Thu, 23 Jul 2020 00:59:05 +0000 (02:59 +0200)]
chore: add docs link and change beta to RC (#1673) [ci skip]
dependabot-preview[bot] [Thu, 23 Jul 2020 00:58:17 +0000 (20:58 -0400)]
build(deps-dev): bump rollup from 2.22.1 to 2.22.2 (#1677)
Bumps [rollup](https://github.com/rollup/rollup) from 2.22.1 to 2.22.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.22.1...v2.22.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Evan You [Tue, 21 Jul 2020 19:40:46 +0000 (15:40 -0400)]
release: v3.0.0-rc.4
Evan You [Tue, 21 Jul 2020 19:39:54 +0000 (15:39 -0400)]
fix(deps): move @babel/types back to dependencies
Evan You [Tue, 21 Jul 2020 19:27:26 +0000 (15:27 -0400)]
release: v3.0.0-rc.3
Rahul Kadyan [Tue, 21 Jul 2020 19:16:20 +0000 (00:46 +0530)]
feat(compiler-core/internal): add `onContextCreated` option to `generate` (#1672)
Evan You [Tue, 21 Jul 2020 19:05:28 +0000 (15:05 -0400)]
fix(compiler-sfc): `<style vars scoped>` prefixing should only apply to pre-transform source
fix #1623
Evan You [Tue, 21 Jul 2020 18:56:28 +0000 (14:56 -0400)]
chore: make app root attribute consistent with scopeId attributes
Evan You [Tue, 21 Jul 2020 18:17:48 +0000 (14:17 -0400)]
fix(v-model): v-model listeners should not fallthrough to plain element root
fix #1643
Bjarki Hall [Tue, 21 Jul 2020 17:15:26 +0000 (17:15 +0000)]
feat(runtime-core): respect function name when using `defineComponent` function shorthand (#1661)
Evan You [Tue, 21 Jul 2020 17:09:58 +0000 (13:09 -0400)]
fix(runtime-core): fix attr fallthrough on compiled framgent w/ single static element + comments
Evan You [Tue, 21 Jul 2020 16:35:34 +0000 (12:35 -0400)]
fix(runtime-core): do not use bail patchFlag on cloned vnodes
fix #1665
- cloned vnodes with extra props will receive only the full props flag
- this commit affects `cloneVNode` behavior when used in manual render
functions.
- ok for normal elements since elements only use patchFlags for own
props optimization
- full props flag is skipped for fragments because fragments use
patchFlags only for children optimization
- this also affects `shouldUpdateComponent` where it should now only
respect patchFlags in optimized mode, since component vnodes use
the patchFlag for both props and slots optimization checks.
learningMaster [Tue, 21 Jul 2020 14:34:08 +0000 (22:34 +0800)]
test(runtime-dom): add test for vModel composition session (#1631)
Zardddddd60 [Tue, 21 Jul 2020 14:33:09 +0000 (22:33 +0800)]
refactor(reactive): reduce code size by assigning to a local variable (#1634)
Evan You [Tue, 21 Jul 2020 14:24:51 +0000 (10:24 -0400)]
chore: update link for the feature flag warning [ci skip]
Evan You [Tue, 21 Jul 2020 14:11:28 +0000 (10:11 -0400)]
docs: details on esm-bundler feature flags [ci skip]
dependabot-preview[bot] [Tue, 21 Jul 2020 08:16:49 +0000 (08:16 +0000)]
build(deps-dev): bump @typescript-eslint/parser from 3.6.1 to 3.7.0 (#1663)
Evan You [Tue, 21 Jul 2020 02:14:05 +0000 (22:14 -0400)]
refactor: move @babel/types to dev deps, reduce install size
Evan You [Tue, 21 Jul 2020 01:51:30 +0000 (21:51 -0400)]
feat: provide ability to overwrite feature flags in esm-bundler builds
e.g. by replacing `__VUE_OPTIONS_API__` to `false` using webpack's
`DefinePlugin`, the final bundle will drop all code supporting the
options API.
This does not break existing usage, but requires the user to explicitly
configure the feature flags via bundlers to properly tree-shake the
disabled branches. As a result, users will see a console warning if
the flags have not been properly configured.
Carlos Rodrigues [Mon, 20 Jul 2020 21:35:31 +0000 (22:35 +0100)]
feat(computed): add readonly flag if no setter is provided (#1654)
Evan You [Mon, 20 Jul 2020 20:13:41 +0000 (16:13 -0400)]
fix(build): make transition tree-shakeable again
underfin [Mon, 20 Jul 2020 16:46:33 +0000 (00:46 +0800)]
fix(compiler-sfc): use correct importer with `useCssVars` (#1658)
fix #https://github.com/vitejs/vite/issues/578
Liaogming [Mon, 20 Jul 2020 16:43:58 +0000 (00:43 +0800)]
chore(compiler-sfc): delete empty file in fixture (#1649)
Tan Li Hau [Mon, 20 Jul 2020 16:39:22 +0000 (00:39 +0800)]
fix(watch): fix watching reactive array (#1656)
fixes #1655
dependabot-preview[bot] [Mon, 20 Jul 2020 09:25:11 +0000 (09:25 +0000)]
build(deps-dev): bump @types/jest from 26.0.4 to 26.0.5 (#1653)
dependabot-preview[bot] [Mon, 20 Jul 2020 09:23:13 +0000 (09:23 +0000)]
build(deps-dev): bump eslint from 7.4.0 to 7.5.0 (#1652)
dependabot-preview[bot] [Mon, 20 Jul 2020 09:21:23 +0000 (09:21 +0000)]
build(deps-dev): bump rollup from 2.21.0 to 2.22.1 (#1651)
Evan You [Sun, 19 Jul 2020 18:52:42 +0000 (14:52 -0400)]
release: v3.0.0-rc.2
Evan You [Sun, 19 Jul 2020 18:36:01 +0000 (14:36 -0400)]
fix(compiler-core): fix v-if + v-for on `<template>`
fix #1637
underfin [Sun, 19 Jul 2020 18:17:31 +0000 (02:17 +0800)]
fix(compiler-sfc): use `filename` from options when compile styl preprocessor (#1635)
fix #https://github.com/vitejs/vite/issues/577
Evan You [Sun, 19 Jul 2020 18:09:37 +0000 (14:09 -0400)]
refactor(types): move component props interfaces + expose `AllowedComponentProps`
fix #1632
zhangzhonghe [Sun, 19 Jul 2020 17:31:07 +0000 (01:31 +0800)]
fix(keep-alive): handle "0" as cache key (#1622)
fix #1621
Carlos Rodrigues [Sun, 19 Jul 2020 17:30:24 +0000 (18:30 +0100)]
fix(watch): callback not called when using `flush:sync` (#1633)
Evan You [Sun, 19 Jul 2020 17:22:58 +0000 (13:22 -0400)]
fix(runtime-core/hmr): only use cloneNode mount optimization in prod
fix #1626
Evan You [Sun, 19 Jul 2020 15:52:03 +0000 (11:52 -0400)]
chore: more detailed teleport target warning
close #1629
HcySunYang [Sun, 19 Jul 2020 15:48:26 +0000 (23:48 +0800)]
fix(compiler-core/v-on): fix codegen for event handler with newlines (#1640)
Stanislav [Sun, 19 Jul 2020 02:56:28 +0000 (05:56 +0300)]
chore(types): convert type literals to records (#1615)
motao [Sun, 19 Jul 2020 02:55:39 +0000 (10:55 +0800)]
test(runtime-dom): improve v-on system key modifiers test (#1597)
chore: changelog formatting [ci skip] (#1616)
Evan You [Fri, 17 Jul 2020 19:30:17 +0000 (15:30 -0400)]
release: v3.0.0-rc.1
Evan You [Fri, 17 Jul 2020 18:07:33 +0000 (14:07 -0400)]
chore: update devtools status [ci skip]
HcySunYang [Fri, 17 Jul 2020 15:43:28 +0000 (23:43 +0800)]
feat(types): deny unknown attributes on component by default (#1614)
close #1519
dependabot-preview[bot] [Fri, 17 Jul 2020 15:32:43 +0000 (15:32 +0000)]
build(deps-dev): bump ts-jest from 26.1.2 to 26.1.3 (#1610)
leyale [Fri, 17 Jul 2020 15:26:12 +0000 (23:26 +0800)]
chore(shared): menuitem tag has been deprecated (#1613)
underfin [Fri, 17 Jul 2020 15:25:33 +0000 (23:25 +0800)]
refactor(devtools): extract same logic into `createDevtoolsHook` (#1608)
ezshine [Fri, 17 Jul 2020 15:24:53 +0000 (23:24 +0800)]
chore: typo [ci skip] (#1604)
lawvs [Fri, 17 Jul 2020 15:24:12 +0000 (00:24 +0900)]
chore: better comment hovers preview [ci skip] (#1612)
Evan You [Fri, 17 Jul 2020 15:17:29 +0000 (11:17 -0400)]
fix(watch): post flush watchers should not fire when component is unmounted
fix #1603
Evan You [Fri, 17 Jul 2020 13:29:44 +0000 (09:29 -0400)]
chore: also expose DeepReadonly in runtime-core
Pick [Fri, 17 Jul 2020 13:28:50 +0000 (21:28 +0800)]
feat(types): expose DeepReadonly type (#1606)
dependabot-preview[bot] [Fri, 17 Jul 2020 08:14:27 +0000 (08:14 +0000)]
build(deps-dev): bump typescript from 3.9.6 to 3.9.7 (#1611)
Guillaume Chau [Thu, 16 Jul 2020 22:18:52 +0000 (00:18 +0200)]
feat: Initial devtools support (#1125)
Evan You [Thu, 16 Jul 2020 17:51:52 +0000 (13:51 -0400)]
release: v3.0.0-beta.24
Evan You [Thu, 16 Jul 2020 17:38:46 +0000 (13:38 -0400)]
refactor(compiler-sfc): simplify style preprocessors
Evan You [Thu, 16 Jul 2020 17:34:59 +0000 (13:34 -0400)]
fix(compiler-sfc): fix preprocessor filename access
Sohaib Alam [Thu, 16 Jul 2020 17:36:16 +0000 (23:06 +0530)]
chore: fix error message (#1602)
make the error message in `compiler-dom` and `compiler-ssr` a bit
cleaner and fix grammar
Evan You [Thu, 16 Jul 2020 16:48:56 +0000 (12:48 -0400)]
release: v3.0.0-beta.23
underfin [Thu, 16 Jul 2020 16:33:37 +0000 (00:33 +0800)]
feat(compiler-sfc): export dependencies for css and css preprocessors (#1278)
Zardddddd60 [Thu, 16 Jul 2020 03:19:15 +0000 (11:19 +0800)]
refactor(reactive): remove unnecessary args handling in reactiveEffect (#1593)
无忧 [Thu, 16 Jul 2020 03:16:28 +0000 (11:16 +0800)]
chore: remove deprecated elements from dom tag config (#1596)
Evan You [Thu, 16 Jul 2020 02:36:41 +0000 (22:36 -0400)]
perf(runtime-core): avoid duplicate postFlushCb invocation
Also improve flush performance by using for loop instead of shift()
fix #1595
Evan You [Thu, 16 Jul 2020 00:12:49 +0000 (20:12 -0400)]
fix(slots): properly force update on forwarded slots
fix #1594
Evan You [Wed, 15 Jul 2020 22:31:10 +0000 (18:31 -0400)]
fix(runtime-dom): unref when setting useCssVars
Evan You [Wed, 15 Jul 2020 22:05:35 +0000 (18:05 -0400)]
fix(compiler-sfc): fix useCssVars codegen
Evan You [Wed, 15 Jul 2020 21:43:54 +0000 (17:43 -0400)]
fix(compiler-sfc): prohibit src usage for `<script setup>` + do not
process non js/ts blocks in compileScript
Evan You [Wed, 15 Jul 2020 21:05:00 +0000 (17:05 -0400)]
chore: remove outdated options
Evan You [Wed, 15 Jul 2020 20:27:21 +0000 (16:27 -0400)]
refactor(compiler-sfc): adjust sfc compileScript usage
Evan You [Wed, 15 Jul 2020 20:00:53 +0000 (16:00 -0400)]
refactor(compiler-sfc): move sfc parse errors into return result
Also warn against `<script setup src>` usage
Evan You [Wed, 15 Jul 2020 16:43:41 +0000 (12:43 -0400)]
release: v3.0.0-beta.22
cexbrayat [Wed, 15 Jul 2020 15:09:33 +0000 (17:09 +0200)]
fix(compiler-sfc): `<script setup>` warning
The warning was showing even if the component is only using a classic `<script>`
Evan You [Wed, 15 Jul 2020 16:26:44 +0000 (12:26 -0400)]
fix(hmr): fix hmr updates for reused hoisted trees
fix https://github.com/vitejs/vite/issues/514
Evan You [Wed, 15 Jul 2020 14:47:57 +0000 (10:47 -0400)]
build: clear ts plugin cache before building for release
ref: #1591
Evan You [Wed, 15 Jul 2020 14:38:45 +0000 (10:38 -0400)]
test: improve coverage
Evan You [Wed, 15 Jul 2020 14:10:38 +0000 (10:10 -0400)]
test: fix fragment unkeyed fragment test flag
Jacob Müller [Wed, 15 Jul 2020 13:37:51 +0000 (15:37 +0200)]
fix(v-model): handle more edge cases in `looseEqual()` (#379)
春去春又来 [Wed, 15 Jul 2020 13:34:23 +0000 (21:34 +0800)]
test(runtime-core): add test for rendererComponent (#1393)
Pick [Wed, 15 Jul 2020 13:27:21 +0000 (21:27 +0800)]
feat(types/reactivity): use `DeepReadonly` type for `readonly` return type (#1462)
close #1452
underfin [Wed, 15 Jul 2020 13:24:16 +0000 (21:24 +0800)]
fix(runtime-core): do not call transition enter hooks when mounting in suspense (#1588)
fix #1583
HcySunYang [Wed, 15 Jul 2020 13:21:40 +0000 (21:21 +0800)]
fix(compiler-core): generate incremental keys for v-if/else-if/else chains (#1589)
fix #1587
dependabot-preview[bot] [Wed, 15 Jul 2020 13:19:50 +0000 (09:19 -0400)]
build(deps): bump @babel/parser from 7.10.4 to 7.10.5 (#1586)
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.10.4 to 7.10.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.10.5/packages/babel-parser)
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] [Wed, 15 Jul 2020 13:19:31 +0000 (09:19 -0400)]
build(deps): bump @babel/types from 7.10.4 to 7.10.5 (#1585)
Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.10.4 to 7.10.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.10.5/packages/babel-types)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Carlos Rodrigues [Wed, 15 Jul 2020 13:19:20 +0000 (14:19 +0100)]
types(runtime-core): default `SetupContext` generic argument to `EmitsOptions` (#1584)
Evan You [Tue, 14 Jul 2020 21:18:07 +0000 (17:18 -0400)]
release: v3.0.0-beta.21
Evan You [Tue, 14 Jul 2020 21:07:36 +0000 (17:07 -0400)]
chore: fix types
underfin [Tue, 14 Jul 2020 21:06:39 +0000 (05:06 +0800)]
fix(runtime-core): avoid scopeId as attr for slot nodes with same scopeId (#1561)
fix vitejs/vite#536
Pick [Tue, 14 Jul 2020 20:33:30 +0000 (04:33 +0800)]
refactor(types): improve code readability & friendly to type hints (#1560)
Evan You [Tue, 14 Jul 2020 20:25:21 +0000 (16:25 -0400)]
fix(runtime-dom): remove attrs with nullish values
fix #1576
Evan You [Tue, 14 Jul 2020 17:20:59 +0000 (13:20 -0400)]
refactor: adjust event options handling to be JSX friendly
dependabot-preview[bot] [Tue, 14 Jul 2020 16:01:06 +0000 (16:01 +0000)]
build(deps-dev): bump @typescript-eslint/parser from 3.6.0 to 3.6.1 (#1581)
dependabot-preview[bot] [Tue, 14 Jul 2020 15:59:53 +0000 (15:59 +0000)]
build(deps-dev): bump @rollup/plugin-commonjs from 13.0.1 to 13.0.2 (#1580)
dependabot-preview[bot] [Tue, 14 Jul 2020 15:58:48 +0000 (15:58 +0000)]
build(deps-dev): bump ts-jest from 26.1.1 to 26.1.2 (#1579)
Evan You [Tue, 14 Jul 2020 15:48:05 +0000 (11:48 -0400)]
fix(v-on): refactor DOM event options modifer handling
fix #1567
Previously multiple `v-on` handlers with different event attach option
modifers (`.once`, `.capture` and `.passive`) are generated as an array
of objects in the form of `[{ handler, options }]` - however, this
makes it pretty complex for `runtime-dom` to properly handle all
possible value permutations, as each handler may need to be attached
with different options.
With this commit, they are now generated as event props with different
keys - e.g. `v-on:click.capture` is now generated as a prop named
`onClick.capture`. This allows them to be patched as separate props
which makes the runtime handling much simpler.
Evan You [Mon, 13 Jul 2020 21:36:46 +0000 (17:36 -0400)]
fix(v-on): capitalize dynamic event names
Evan You [Mon, 13 Jul 2020 20:48:16 +0000 (16:48 -0400)]
refactor(compiler): extract isStaticExp util
Evan You [Mon, 13 Jul 2020 18:49:54 +0000 (14:49 -0400)]
fix(runtime-dom/v-on): only block event handlers based on attach timestamp
fix #1565
Evan You [Mon, 13 Jul 2020 18:00:08 +0000 (14:00 -0400)]
fix(compiler-dom): fix v-on .left .right modifier handling
dependabot-preview[bot] [Mon, 13 Jul 2020 16:45:46 +0000 (16:45 +0000)]
build(deps-dev): bump @rollup/plugin-node-resolve from 8.1.0 to 8.4.0 (#1572)
Pick [Mon, 13 Jul 2020 16:44:37 +0000 (00:44 +0800)]
types(runtime-core): adjust Renderer's type declaration (#1566)
chore: format changelog (#1549) [ci skip]
Evan You [Mon, 13 Jul 2020 16:36:41 +0000 (12:36 -0400)]
fix(slots): differentiate dynamic/static compiled slots
fix #1557