]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
underfin [Tue, 28 Jul 2020 19:52:20 +0000 (03:52 +0800)]
fix(hmr): should update el for `HYDRATE_EVENTS` patchFlags node (#1707)
fix https://github.com/vitejs/vite/issues/613
Carlos Rodrigues [Tue, 28 Jul 2020 19:40:23 +0000 (20:40 +0100)]
test(types): test computed get/set type inference (#1709)
Che Guevara [Tue, 28 Jul 2020 19:36:36 +0000 (03:36 +0800)]
test(transition): add invalid durations test case (#1702)
Carlos Rodrigues [Tue, 28 Jul 2020 19:31:23 +0000 (20:31 +0100)]
test(types): test dts for Options API method return type inference (#1708)
underfin [Tue, 28 Jul 2020 19:30:18 +0000 (03:30 +0800)]
fix(style-vars): fix css vars on component with suspense as root (#1718)
Evan You [Tue, 28 Jul 2020 19:18:41 +0000 (15:18 -0400)]
refactor(compiler-core): emit error on v-if key usage
Evan You [Tue, 28 Jul 2020 18:15:20 +0000 (14:15 -0400)]
fix(runtime-core): dev root resolution should differentiate user comments vs v-if comments
fix #1704
underfin [Tue, 28 Jul 2020 17:45:24 +0000 (01:45 +0800)]
fix(compiler-sfc): `less` and `stylus` output deps path is absolute p… (#1685)
Evan You [Tue, 28 Jul 2020 17:23:09 +0000 (13:23 -0400)]
fix(runtime-core): fix scheduler dedupe when not flushing
Evan You [Tue, 28 Jul 2020 16:29:43 +0000 (12:29 -0400)]
fix(runtime-core): scheduler should allow intentional self triggering effects
fix #1727
Evan You [Tue, 28 Jul 2020 16:09:03 +0000 (12:09 -0400)]
refactor: remove unnecessary conditions and test case
Evan You [Tue, 28 Jul 2020 16:01:25 +0000 (12:01 -0400)]
fix(reactivity): fix ref mutation debugger event values
Evan You [Tue, 28 Jul 2020 15:44:27 +0000 (11:44 -0400)]
fix(v-model): enable v-model type detection on custom elements
underfin [Tue, 28 Jul 2020 15:23:39 +0000 (23:23 +0800)]
fix(runtime-core): use correct container for moving `Teleport` content (#1703)
Evan You [Tue, 28 Jul 2020 15:12:43 +0000 (11:12 -0400)]
fix(compiler-core): always compile Teleport and Suspense as blocks
Evan You [Tue, 28 Jul 2020 15:11:26 +0000 (11:11 -0400)]
fix: runtime compilation marker should be applied in exposed compile function
Evan You [Tue, 28 Jul 2020 04:24:12 +0000 (00:24 -0400)]
test: improve unexpected warning output
Evan You [Tue, 28 Jul 2020 04:20:30 +0000 (00:20 -0400)]
refactor(runtime-core): make nextTick() promise reject on scheduler flush error
Evan You [Tue, 28 Jul 2020 04:17:59 +0000 (00:17 -0400)]
refactor(runtime-core): adjust error handling behavior
- Crash in dev to make the errors more noticeable
- Recover in prod to reduce impact on end users
dependabot-preview[bot] [Tue, 28 Jul 2020 09:21:13 +0000 (09:21 +0000)]
build(deps-dev): bump ts-jest from 26.1.3 to 26.1.4 (#1726)
dependabot-preview[bot] [Tue, 28 Jul 2020 09:19:49 +0000 (09:19 +0000)]
build(deps-dev): bump @typescript-eslint/parser from 3.7.0 to 3.7.1 (#1725)
Evan You [Tue, 28 Jul 2020 02:58:37 +0000 (22:58 -0400)]
test: move mockWarn into setup files
underfin [Mon, 27 Jul 2020 22:31:08 +0000 (06:31 +0800)]
fix(compiler-core): prevent generating invalid code for v-bind with empty expression (#1720)
Evan You [Mon, 27 Jul 2020 22:26:47 +0000 (18:26 -0400)]
fix(compiler-core/v-on): only cache empty handler when the option is used
fix #1716
The original idea is that the empty handler can be cached in all cases,
but this contradicts with the assumption that `hasCachedProps` check in
the static hoist transform can simply return `false` in the browser
build.
Evan You [Mon, 27 Jul 2020 21:45:30 +0000 (17:45 -0400)]
chore: update snapshot
Evan You [Mon, 27 Jul 2020 21:44:17 +0000 (17:44 -0400)]
fix(runtime-core): respect render function from mixins
fix #1630
Evan You [Mon, 27 Jul 2020 21:09:21 +0000 (17:09 -0400)]
fix(v-model): allow v-model usage on declared custom elements
fix #1699
underfin [Mon, 27 Jul 2020 20:47:07 +0000 (04:47 +0800)]
fix(transition): should call transition hooks inside already resolved suspense (#1698)
fix #1689
dependabot-preview[bot] [Fri, 24 Jul 2020 08:22:03 +0000 (08:22 +0000)]
build(deps-dev): bump rollup from 2.22.2 to 2.23.0 (#1694)
dependabot-preview[bot] [Fri, 24 Jul 2020 08:21:57 +0000 (08:21 +0000)]
build(deps-dev): bump @ls-lint/ls-lint from 1.9.0 to 1.9.2 (#1693)
dependabot-preview[bot] [Fri, 24 Jul 2020 08:19:57 +0000 (08:19 +0000)]
build(deps-dev): bump @types/jest from 26.0.5 to 26.0.7 (#1692)
Evan You [Thu, 23 Jul 2020 18:53:09 +0000 (14:53 -0400)]
chore: revert accidentally commented line
Evan You [Thu, 23 Jul 2020 18:33:15 +0000 (14:33 -0400)]
fix(build): fix component resolution when disabling options API
fix #1688
Evan You [Thu, 23 Jul 2020 01:29:59 +0000 (21:29 -0400)]
feat: support delimiters option for runtime compilation
close #1679
Evan You [Thu, 23 Jul 2020 01:19:10 +0000 (21:19 -0400)]
fix(reactivity): avoid tracking internal symbols in has trap
fix #1683
underfin [Thu, 23 Jul 2020 01:00:41 +0000 (09:00 +0800)]
fix(compiler-sfc): fix rewrite named export default (#1675)
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