]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
Evan You [Sun, 23 Jan 2022 14:02:23 +0000 (22:02 +0800)]
release: v3.2.29
Evan You [Sun, 23 Jan 2022 13:37:54 +0000 (21:37 +0800)]
fix(runtime-dom): fix static content re-insertion
fix #5308
The regression was introduced in
ed9eb62 . In the cached code path,
we attempt re-insertion by cloning cached nodes. However if the static
fragment was removed as component root, it loses the nodes between
start and end because each node was removed individually. Therefore
the cached path can only be taken if the fragment has a single node, or
it was removed as part of a parent tree so the sibling information is
still available.
Thorsten Lünborg [Sun, 23 Jan 2022 13:08:27 +0000 (14:08 +0100)]
fix(reactivity): ensure readonly refs can be replaced with new refs in reactive objects (#5310)
fix #5307
Evan You [Sun, 23 Jan 2022 13:03:37 +0000 (21:03 +0800)]
test: add missing edge case for css v-bind
Evan You [Sun, 23 Jan 2022 12:58:43 +0000 (20:58 +0800)]
fix(compiler-sfc): fix css v-bind inside other css functions
fix #5302, close #5306
Evan You [Fri, 21 Jan 2022 08:15:13 +0000 (16:15 +0800)]
release: v3.2.28
Evan You [Fri, 21 Jan 2022 08:12:25 +0000 (16:12 +0800)]
build: fix build script
edison [Fri, 21 Jan 2022 07:53:51 +0000 (15:53 +0800)]
fix(compiler-sfc): support complex expression in CSS v-bind() (#5114)
fix #5109
btea [Fri, 21 Jan 2022 07:36:48 +0000 (01:36 -0600)]
refactor: includes instead of indexOf (#5117)
HcySunYang [Fri, 21 Jan 2022 07:33:30 +0000 (15:33 +0800)]
fix(types): calling readonly() with ref() should return Readonly<Ref<T>> (#5212)
Thorsten Lünborg [Fri, 21 Jan 2022 07:33:18 +0000 (08:33 +0100)]
fix(reactivity): mutating a readonly ref nested in a reactive object should fail. (#5048)
fix: #5042
Soha Jin [Fri, 21 Jan 2022 07:02:02 +0000 (15:02 +0800)]
fix(compat): convertLegacyVModelProps should merge model option in mixins (#5251)
Yugang Cao [Fri, 21 Jan 2022 06:56:20 +0000 (14:56 +0800)]
chore: type improvements (#5264)
edison [Fri, 21 Jan 2022 06:54:46 +0000 (14:54 +0800)]
fix(compiler-core): handle v-memo in template v-for (#5291)
fix #5288
Evan You [Fri, 21 Jan 2022 06:29:45 +0000 (14:29 +0800)]
chore: comment dom tag config usage [ci skip]
Thorsten Lünborg [Fri, 21 Jan 2022 06:21:42 +0000 (07:21 +0100)]
fix(compat): ensure fallthrough *Native events are not dropped during props update (#5228)
Yugang Cao [Fri, 21 Jan 2022 06:18:34 +0000 (14:18 +0800)]
chore: fix typo (#5261) [ci skip]
Bruno Perel [Fri, 21 Jan 2022 06:16:19 +0000 (07:16 +0100)]
chore: fix typo (#5282) [ci skip]
Stanislav Lashmanov [Fri, 21 Jan 2022 06:15:35 +0000 (09:15 +0300)]
fix(compat): simulate Vue 2.6.14 version in compat build (#5293)
Some Vue plugins that are actually compatible with the `vue-compat` won't work because of the version check. Right now `vue-compat` returns 3x version for the legacy method of checking Vue version via `Vue.version`. This PR instends to simulate Vue 2 version in those instances and instead return a 2x-compatible version: `2.6.14-compat:3.x.x`.
Thorsten Lünborg [Fri, 21 Jan 2022 06:13:29 +0000 (07:13 +0100)]
fix(runtime-core): ensure mergeProps skips undefined event handlers (#5299)
fix #5296
Evan You [Fri, 21 Jan 2022 04:31:54 +0000 (12:31 +0800)]
fix(ssr): only cache computed getters during render phase
fix #5300
Evan You [Fri, 21 Jan 2022 01:41:54 +0000 (09:41 +0800)]
perf(reactivity): optimize effect run condition
Evan You [Fri, 21 Jan 2022 00:47:48 +0000 (08:47 +0800)]
fix(compiler-sfc/reactivity-transform): fix edge case where normal script has ref macros but script setup does not
Evan You [Thu, 20 Jan 2022 23:48:41 +0000 (07:48 +0800)]
fix(reactivity-transform): apply transform for labelled variable declarations
ref https://github.com/vuejs/core/issues/5298#issuecomment-
1017970061
Evan You [Thu, 20 Jan 2022 23:40:35 +0000 (07:40 +0800)]
fix(reactivity-transform): apply transform on exported variable declarations
fix #5298
Evan You [Tue, 18 Jan 2022 08:43:59 +0000 (16:43 +0800)]
chore: update repo references
Evan You [Tue, 18 Jan 2022 01:22:03 +0000 (09:22 +0800)]
fix(reactivity): differentiate shallow/deep proxies of same target when nested in reactive
fix #5271
Evan You [Tue, 18 Jan 2022 01:17:22 +0000 (09:17 +0800)]
feat(reactivity): add isShallow api
Evan You [Mon, 17 Jan 2022 23:57:00 +0000 (07:57 +0800)]
chore: bump marked
JayFate [Mon, 17 Jan 2022 23:34:47 +0000 (07:34 +0800)]
docs(contributing): missing structure info for compiler-sfc (#3559) [ci skip]
Evan You [Sun, 16 Jan 2022 14:08:18 +0000 (22:08 +0800)]
release: v3.2.27
Evan You [Sun, 16 Jan 2022 12:39:55 +0000 (20:39 +0800)]
perf: improve memory usage for static vnodes
Use the already mounted nodes as cache instead of separate caching via
template. This reduces memory usage by 30%+ in VitePress.
Evan You [Sun, 16 Jan 2022 10:22:18 +0000 (18:22 +0800)]
fix(ssr): make computed inactive during ssr, fix memory leak
fix #5208
Evan You [Sun, 16 Jan 2022 09:13:52 +0000 (17:13 +0800)]
test: remove module augmentation test which does not work in the setup
Evan You [Sun, 16 Jan 2022 08:49:58 +0000 (16:49 +0800)]
build: downgrade vite
Evan You [Sun, 16 Jan 2022 07:54:58 +0000 (15:54 +0800)]
fix(types/tsx): allow ref_for type on tsx elements
Evan You [Sun, 16 Jan 2022 07:46:49 +0000 (15:46 +0800)]
fix(types): handle ToRef<any>
fix #5188
Evan You [Sun, 16 Jan 2022 07:43:19 +0000 (15:43 +0800)]
refactor: move type utils to shared
edison [Sun, 16 Jan 2022 07:37:14 +0000 (15:37 +0800)]
fix(KeepAlive): remove cached VNode properly (#5260)
fix #5258
Evan You [Sun, 16 Jan 2022 07:20:56 +0000 (15:20 +0800)]
fix(ssr): remove missing ssr directive transform error
Evan You [Fri, 14 Jan 2022 08:22:55 +0000 (16:22 +0800)]
workflow: bump vite
Evan You [Fri, 14 Jan 2022 08:21:50 +0000 (16:21 +0800)]
workflow: use esbuild for dev scripts
Evan You [Fri, 14 Jan 2022 06:13:03 +0000 (14:13 +0800)]
test(types): test ComponentCustomProps
Evan You [Wed, 12 Jan 2022 14:08:05 +0000 (22:08 +0800)]
chore: comment usage of short property name
Evan You [Wed, 12 Jan 2022 14:07:47 +0000 (22:07 +0800)]
refactor: more readable type names for watch cleanup function
Evan You [Wed, 12 Jan 2022 14:07:19 +0000 (22:07 +0800)]
fix(types): KeepAlive match pattern should allow mixed array
Evan You [Mon, 10 Jan 2022 07:05:07 +0000 (15:05 +0800)]
fix(types): fix shallowReadonly type
Evan You [Tue, 4 Jan 2022 09:32:25 +0000 (17:32 +0800)]
workflow: improve template explorer hash persistence
Evan You [Tue, 4 Jan 2022 09:09:13 +0000 (17:09 +0800)]
chore: fix template exploerer boot with no storage
Evan You [Fri, 31 Dec 2021 03:23:50 +0000 (11:23 +0800)]
fix(reactivity-transform): should not rewrite for...in / for...of scope variables
yfmei [Mon, 27 Dec 2021 11:57:39 +0000 (19:57 +0800)]
chore: typo in comment [skip ci] (#5173)
Johnson Chu [Sat, 25 Dec 2021 07:52:22 +0000 (15:52 +0800)]
feat(types): simplify `ExtractPropTypes` to avoid props JSDocs being removed (#5166)
Cédric Exbrayat [Fri, 24 Dec 2021 11:10:59 +0000 (12:10 +0100)]
chore: remove obsolete test snapshot (#5162)
Evan You [Thu, 23 Dec 2021 08:56:36 +0000 (16:56 +0800)]
chore: remove stale references of ref-transform
Evan You [Tue, 21 Dec 2021 08:49:20 +0000 (16:49 +0800)]
chore: bump repl
Eduardo San Martin Morote [Tue, 14 Dec 2021 13:24:14 +0000 (14:24 +0100)]
fix(sfc-playground): hide title to avoid overlap (#5099)
wxsm [Tue, 14 Dec 2021 13:21:19 +0000 (21:21 +0800)]
docs: update readme (#5097) [ci skip]
Evan You [Sun, 12 Dec 2021 07:03:29 +0000 (15:03 +0800)]
release: v3.2.26
Evan You [Sun, 12 Dec 2021 06:52:12 +0000 (14:52 +0800)]
build: include missing dts files in package
Evan You [Sun, 12 Dec 2021 04:21:13 +0000 (12:21 +0800)]
release: v3.2.25
Evan You [Sun, 12 Dec 2021 03:59:17 +0000 (11:59 +0800)]
ci: fix sfc playground build
Evan You [Sun, 12 Dec 2021 03:42:50 +0000 (11:42 +0800)]
types(compiler-sfc): export additional types
Evan You [Sun, 12 Dec 2021 02:52:55 +0000 (10:52 +0800)]
ci: move vite back to root again
Evan You [Sun, 12 Dec 2021 02:45:25 +0000 (10:45 +0800)]
ci: sfc playground build
Evan You [Sun, 12 Dec 2021 02:38:09 +0000 (10:38 +0800)]
ci: adjust deps for sfc playground
Evan You [Sun, 12 Dec 2021 02:35:36 +0000 (10:35 +0800)]
ci: move vite plugin-vue to workspace root
Evan You [Sun, 12 Dec 2021 02:33:19 +0000 (10:33 +0800)]
ci: dedicated test coverage script
Evan You [Sun, 12 Dec 2021 02:12:09 +0000 (10:12 +0800)]
chore: remove no longer needed shim for stream/web
wxsm [Sun, 12 Dec 2021 02:01:48 +0000 (10:01 +0800)]
feat(sfc-playground): add github link (#5067)
wxsm [Sun, 12 Dec 2021 02:01:15 +0000 (10:01 +0800)]
feat(sfc-playground): prevent ctrl+s default behavior (#5066)
Forzen FIsh [Sun, 12 Dec 2021 01:58:46 +0000 (09:58 +0800)]
chore: fix some typos (#5050) [ci skip]
Evan You [Sun, 12 Dec 2021 01:53:52 +0000 (09:53 +0800)]
fix(compiler-sfc): generate valid TS in script and script setup co-usage with TS
fix #5094
Evan You [Sun, 12 Dec 2021 01:11:36 +0000 (09:11 +0800)]
chore: bump babel deps
Evan You [Sun, 12 Dec 2021 01:08:08 +0000 (09:08 +0800)]
chore: cleanup deps
Evan You [Sat, 11 Dec 2021 16:15:32 +0000 (00:15 +0800)]
chore: refresh lockfile after package name change
Evan You [Sat, 11 Dec 2021 16:14:25 +0000 (00:14 +0800)]
chore: avoid api-extractor warnings
Evan You [Sat, 11 Dec 2021 16:04:38 +0000 (00:04 +0800)]
feat(reactivity-transform): rename @vue/ref-transform to @vue/reactivity-transform
Evan You [Sat, 11 Dec 2021 15:48:32 +0000 (23:48 +0800)]
chore: fix build
Evan You [Sat, 11 Dec 2021 10:28:03 +0000 (18:28 +0800)]
feat(reactivity-transform): support optionally importing macros
Evan You [Sat, 11 Dec 2021 10:15:44 +0000 (18:15 +0800)]
feat(reactivity-transform/types): restructure macro types + export types for all shorthand methods
Evan You [Sat, 11 Dec 2021 09:50:09 +0000 (17:50 +0800)]
feat(reactivity-transform): $$() escape for destructured prop bindings
Evan You [Sat, 11 Dec 2021 09:17:01 +0000 (17:17 +0800)]
feat(reactivity-transform): support $-shorthands for all ref-creating APIs
Evan You [Sat, 11 Dec 2021 09:10:31 +0000 (17:10 +0800)]
feat(reactivity-transform): use toRef() for $() destructure codegen
- now supports destructuring reactive objects
- no longer supports rest elements
Evan You [Sat, 11 Dec 2021 08:41:58 +0000 (16:41 +0800)]
feat(reactivity): support default value in toRef()
Evan You [Sat, 11 Dec 2021 02:38:21 +0000 (10:38 +0800)]
workflow: report brotli size of baseline build
Evan You [Sat, 11 Dec 2021 01:05:51 +0000 (09:05 +0800)]
refactor: move template ref setter into dedicated file
Evan You [Fri, 10 Dec 2021 15:49:01 +0000 (23:49 +0800)]
feat: support ref in v-for, remove compat deprecation warnings
Evan You [Fri, 10 Dec 2021 09:17:08 +0000 (17:17 +0800)]
fix(runtime-core): disallow recurse in vnode/directive beforeUpdate hooks
Evan You [Fri, 10 Dec 2021 08:09:23 +0000 (16:09 +0800)]
feat(compiler-core): support aliasing vue: prefixed events to inline vnode hooks
Evan You [Fri, 10 Dec 2021 07:34:23 +0000 (15:34 +0800)]
fix(compiler): force block for custom dirs and inline beforeUpdate hooks
to ensure they are called before children updates
Evan You [Fri, 10 Dec 2021 07:35:20 +0000 (15:35 +0800)]
chore: remove outdated test case
Evan You [Fri, 10 Dec 2021 06:05:40 +0000 (14:05 +0800)]
feat(experimental): allow const for ref sugar declarations
Evan You [Mon, 6 Dec 2021 09:03:10 +0000 (17:03 +0800)]
release: v3.2.24
edison [Mon, 6 Dec 2021 05:58:45 +0000 (13:58 +0800)]
fix(runtime-core): handle initial undefined attrs (#5017)
fix #5016
Noel De Martin [Mon, 6 Dec 2021 04:25:35 +0000 (05:25 +0100)]
feat(types/script-setup): add generic type to defineExpose (#5035)
Lucas Werkmeister [Mon, 6 Dec 2021 04:24:59 +0000 (05:24 +0100)]
chore(compat): fix example config syntax error (#5027)
The chainWebpack arrow function wasn’t being closed.
Thorsten Lünborg [Mon, 6 Dec 2021 04:22:59 +0000 (05:22 +0100)]
fix(package): ensure ref-macros export is recognized by vue-tsc (#5003)
Illya Klymov [Mon, 6 Dec 2021 04:20:27 +0000 (06:20 +0200)]
fix(compat): maintain compatConfig option in legacy functional comp (#4974)
Che Guevara [Mon, 6 Dec 2021 04:19:47 +0000 (12:19 +0800)]
refactor(types): use `DOMRect` instead of the `Position` type (#5012)
Ziwen Mei [Mon, 6 Dec 2021 04:19:15 +0000 (12:19 +0800)]
chore(compiler-sfc): fix typo in comments (#5029)