]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
Evan You [Wed, 28 Apr 2021 21:21:02 +0000 (17:21 -0400)]
wip: test for instance and options compat
Evan You [Wed, 28 Apr 2021 16:36:08 +0000 (12:36 -0400)]
wip: fix isCustomElement
Evan You [Wed, 28 Apr 2021 16:30:57 +0000 (12:30 -0400)]
chore: Merge branch 'v2-compat'
Evan You [Wed, 28 Apr 2021 16:29:51 +0000 (12:29 -0400)]
wip: tests for global config compat
Evan You [Wed, 28 Apr 2021 15:35:59 +0000 (11:35 -0400)]
feat: support component-level `compilerOptions` when using runtime compiler
- The `delimiters` component option is deprecated.
Use `compilerOptions.delimiters` instead.
Evan You [Wed, 28 Apr 2021 15:22:16 +0000 (11:22 -0400)]
fix(compiler-core): preserve comment content in production when comments option is enabled
Evan You [Wed, 28 Apr 2021 13:40:54 +0000 (09:40 -0400)]
chore: update IE11 support [ci skip]
Evan You [Tue, 27 Apr 2021 21:34:19 +0000 (17:34 -0400)]
wip: tests for global api compat
Evan You [Mon, 26 Apr 2021 21:35:41 +0000 (17:35 -0400)]
wip: ref v-for compat
Evan You [Mon, 26 Apr 2021 21:35:30 +0000 (17:35 -0400)]
wip: fix tests
Evan You [Mon, 26 Apr 2021 16:21:36 +0000 (12:21 -0400)]
wip: whitespace behavior compat
Evan You [Mon, 26 Apr 2021 15:46:29 +0000 (11:46 -0400)]
feat(config): support configuring runtime compiler via `app.config.compilerOptions`
- `config.isCustomElement` is deprecated - use `app.config.compilerOptions.isCustomElement` instead.
Evan You [Mon, 26 Apr 2021 14:49:21 +0000 (10:49 -0400)]
refactor(compiler): improve whitespace: 'preserve' behavior from #1600
- discard leading/ending whitespace inside an element
- condense preserved whitesapce into single space
CodeDaraW [Thu, 16 Jul 2020 13:28:09 +0000 (21:28 +0800)]
feat(compiler-core): whitespace handling strategy
sallycn [Mon, 26 Apr 2021 09:57:15 +0000 (17:57 +0800)]
chore: fix typo in assertion
Guillaume Chau [Fri, 23 Apr 2021 14:52:28 +0000 (16:52 +0200)]
feat(devtools): improved KeepAlive support
This change allows the devtools to access the cached vnodes from the KeepAlive component in order to display them as inactive in the components tree
Evan You [Thu, 22 Apr 2021 21:50:49 +0000 (17:50 -0400)]
wip: add private api compat flag
Evan You [Thu, 22 Apr 2021 21:30:54 +0000 (17:30 -0400)]
wip: more compat tweaks
Evan You [Thu, 22 Apr 2021 18:59:54 +0000 (14:59 -0400)]
wip: more compat tweaks
Evan You [Thu, 22 Apr 2021 13:49:25 +0000 (09:49 -0400)]
wip: more compat tweaks
Evan You [Thu, 22 Apr 2021 02:04:26 +0000 (22:04 -0400)]
wip: class/style fallthrough compat
Evan You [Wed, 21 Apr 2021 23:13:26 +0000 (19:13 -0400)]
wip: treat compat model listener as already declared
Evan You [Wed, 21 Apr 2021 23:05:20 +0000 (19:05 -0400)]
perf: only trigger $attrs update when it has actually changed
Evan You [Wed, 21 Apr 2021 19:20:15 +0000 (15:20 -0400)]
chore: include component info in recursive update warning
Evan You [Wed, 21 Apr 2021 19:09:18 +0000 (15:09 -0400)]
wip: more compat progress
Evan You [Tue, 20 Apr 2021 21:13:58 +0000 (17:13 -0400)]
fix(watch): avoid traversing non-plain objects
Evan You [Tue, 20 Apr 2021 13:25:12 +0000 (09:25 -0400)]
wip: compat integration progress
zhaozhao [Tue, 20 Apr 2021 05:43:19 +0000 (13:43 +0800)]
chore: adjust the parameter order of the mountChildren function
Evan You [Mon, 19 Apr 2021 16:08:26 +0000 (12:08 -0400)]
wip: filters compat
Evan You [Sun, 18 Apr 2021 03:51:40 +0000 (23:51 -0400)]
wip: warn against `<template functional>`
Evan You [Sun, 18 Apr 2021 03:19:40 +0000 (23:19 -0400)]
wip: inline-template compat
Evan You [Sun, 18 Apr 2021 02:50:16 +0000 (22:50 -0400)]
wip: refactor
Evan You [Sun, 18 Apr 2021 02:16:48 +0000 (22:16 -0400)]
wip: plain template tag compat
Evan You [Sun, 18 Apr 2021 02:05:18 +0000 (22:05 -0400)]
perf(compiler): skip unncessary checks when parsing end tag
Evan You [Sat, 17 Apr 2021 20:26:13 +0000 (16:26 -0400)]
wip: warn v-bind object ordering
Evan You [Sat, 17 Apr 2021 20:13:57 +0000 (16:13 -0400)]
wip: remove unncessary deprecation messages
Evan You [Sat, 17 Apr 2021 20:05:27 +0000 (16:05 -0400)]
wip: default mode for compat build
Evan You [Sat, 17 Apr 2021 19:55:14 +0000 (15:55 -0400)]
wip: compiler should default to v3 behavior
Evan You [Sat, 17 Apr 2021 19:35:44 +0000 (15:35 -0400)]
wip: warn key usage of v-if branches
Evan You [Sat, 17 Apr 2021 18:38:30 +0000 (14:38 -0400)]
wip: warn v-if/v-for co-usage
Evan You [Fri, 16 Apr 2021 21:11:44 +0000 (17:11 -0400)]
wip: v-bind.sync compat
Evan You [Fri, 16 Apr 2021 16:26:17 +0000 (12:26 -0400)]
wip: invert compiler compat behavior default during tests
Evan You [Fri, 16 Apr 2021 16:19:12 +0000 (12:19 -0400)]
wip: support configuring compiler deprecations at runtime + warn invalid deprecation configs
Evan You [Fri, 16 Apr 2021 15:51:47 +0000 (11:51 -0400)]
wip: generate codeframe for compiler deprecations
Evan You [Fri, 16 Apr 2021 15:43:05 +0000 (11:43 -0400)]
wip: is usage compat
kiyon [Fri, 16 Apr 2021 02:43:56 +0000 (10:43 +0800)]
chore: fix typo in test case description
Evan You [Mon, 12 Apr 2021 23:42:09 +0000 (19:42 -0400)]
wip: compiler deprecation config
Evan You [Mon, 12 Apr 2021 22:47:50 +0000 (18:47 -0400)]
wip: refactor deprecations into a single file
Evan You [Mon, 12 Apr 2021 17:07:59 +0000 (13:07 -0400)]
feat: support casting plain element to component via is="vue:xxx"
In Vue 3's custom elements interop, we no longer process `is` usage on
known native elements as component casting. (ref:
https://v3.vuejs.org/guide/migration/custom-elements-interop.html)
This introduced the need for `v-is`. However, since it is a directive,
its value is considered a JavaScript expression. This makes it awkward
to use (e.g. `v-is="'foo'"`) when majority of casting is non-dynamic,
and also hinders static analysis when casting to built-in Vue
components, e.g. transition-group.
This commit adds the ability to cast a native element to a Vue component
by simply adding a `vue:` prefix:
```html
<button is="vue:my-button"></button>
<ul is="vue:transition-group" tag="ul"></ul>
```
Evan You [Mon, 12 Apr 2021 13:09:00 +0000 (09:09 -0400)]
wip: testing compiler deprecation warnings
edison [Mon, 12 Apr 2021 10:31:11 +0000 (18:31 +0800)]
chore: use isArray to keep the code consistency
Evan You [Mon, 12 Apr 2021 02:21:10 +0000 (22:21 -0400)]
wip: staticStyle and staticClass
Evan You [Sun, 11 Apr 2021 20:53:43 +0000 (16:53 -0400)]
wip: Vue.util compat
Evan You [Sun, 11 Apr 2021 15:15:40 +0000 (11:15 -0400)]
wip: fix render fn compat detection
Evan You [Sat, 10 Apr 2021 03:51:50 +0000 (23:51 -0400)]
wip: refactor compat check utils
Evan You [Sat, 10 Apr 2021 03:21:13 +0000 (23:21 -0400)]
wip: fix compat utils usage
Evan You [Sat, 10 Apr 2021 03:10:29 +0000 (23:10 -0400)]
wip: component v-model compat
Evan You [Fri, 9 Apr 2021 22:52:14 +0000 (18:52 -0400)]
wip: render function compat
Evan You [Fri, 9 Apr 2021 19:14:14 +0000 (15:14 -0400)]
wip: compat for legacy functional component
Evan You [Thu, 8 Apr 2021 21:15:02 +0000 (17:15 -0400)]
chore: fix dts
Evan You [Thu, 8 Apr 2021 21:11:05 +0000 (17:11 -0400)]
wip: support per-component compatConfig
Evan You [Thu, 8 Apr 2021 20:33:53 +0000 (16:33 -0400)]
wip: make tests pass again
Evan You [Thu, 8 Apr 2021 20:11:28 +0000 (16:11 -0400)]
wip: async component compat
Evan You [Thu, 8 Apr 2021 15:09:40 +0000 (11:09 -0400)]
wip: tweak warning dedupe logic
Evan You [Thu, 8 Apr 2021 14:41:25 +0000 (10:41 -0400)]
wip: $attrs class/style warning
Evan You [Thu, 8 Apr 2021 14:21:14 +0000 (10:21 -0400)]
wip: $scopedSlots compat
Evan You [Thu, 8 Apr 2021 14:06:12 +0000 (10:06 -0400)]
wip: vm.$listeners compat
Evan You [Wed, 7 Apr 2021 21:36:56 +0000 (17:36 -0400)]
wip: attr coersion compat
Evan You [Wed, 7 Apr 2021 19:54:36 +0000 (15:54 -0400)]
wip: transition group root compat
Evan You [Wed, 7 Apr 2021 19:38:04 +0000 (15:38 -0400)]
wip: apply compat enabled flags to currently implemented features
Evan You [Wed, 7 Apr 2021 16:24:45 +0000 (12:24 -0400)]
wip: watch array compat
Evan You [Wed, 7 Apr 2021 16:24:35 +0000 (12:24 -0400)]
chore: log runtime build file size
Evan You [Wed, 7 Apr 2021 15:22:56 +0000 (11:22 -0400)]
wip: compat configuration
Evan You [Tue, 6 Apr 2021 21:38:43 +0000 (17:38 -0400)]
wip: keyCode compat
Evan You [Tue, 6 Apr 2021 20:51:11 +0000 (16:51 -0400)]
wip: $children compat
Evan You [Tue, 6 Apr 2021 19:58:12 +0000 (15:58 -0400)]
wip: instance event emitter api compat
Evan You [Tue, 6 Apr 2021 19:02:15 +0000 (15:02 -0400)]
wip: transition class compat
Evan You [Tue, 6 Apr 2021 19:02:07 +0000 (15:02 -0400)]
wip: fix root data option compat
Evan You [Tue, 6 Apr 2021 16:17:17 +0000 (12:17 -0400)]
wip: basic compat test
Evan You [Tue, 6 Apr 2021 15:57:10 +0000 (11:57 -0400)]
wip: custom directive compat
Evan You [Tue, 6 Apr 2021 15:08:21 +0000 (11:08 -0400)]
wip: props default this compat
Evan You [Tue, 6 Apr 2021 14:07:16 +0000 (10:07 -0400)]
wip: beforeDestroy & destroyed compat
Evan You [Tue, 6 Apr 2021 14:02:46 +0000 (10:02 -0400)]
wip: config.ignoredElements compat
Evan You [Tue, 6 Apr 2021 13:31:47 +0000 (09:31 -0400)]
wip: data option compat
Evan You [Mon, 5 Apr 2021 22:13:29 +0000 (18:13 -0400)]
wip: progress
Evan You [Mon, 5 Apr 2021 21:09:22 +0000 (17:09 -0400)]
wip: restructure compat code + global api alignment
Evan You [Mon, 5 Apr 2021 15:54:35 +0000 (11:54 -0400)]
wip: root mount api compat
Evan You [Sat, 3 Apr 2021 15:55:44 +0000 (11:55 -0400)]
wip: initial compat build setup
Evan You [Wed, 7 Apr 2021 20:19:04 +0000 (16:19 -0400)]
fix(watch): this.$watch should support watching keypath
Eduardo San Martin Morote [Wed, 7 Apr 2021 12:19:12 +0000 (14:19 +0200)]
test: typo in spy (#3556)
Evan You [Fri, 2 Apr 2021 00:25:12 +0000 (20:25 -0400)]
fix(runtime-core): ensure declare prop keys are always present
fix #3288
Evan You [Thu, 1 Apr 2021 23:52:45 +0000 (19:52 -0400)]
release: v3.0.11
Evan You [Thu, 1 Apr 2021 23:47:58 +0000 (19:47 -0400)]
fix(runtime-core): fix v-on object kebab-case event emit matching
fix #3527
HcySunYang [Thu, 1 Apr 2021 23:28:58 +0000 (07:28 +0800)]
fix(runtime-core): fix render function + optimized slot edge case (#3523)
fix #2893
Manually rendering the optimized slots should allow subsequent updates to exit the optimization mode correctly
Cédric Exbrayat [Thu, 1 Apr 2021 22:37:50 +0000 (00:37 +0200)]
refactor(sfc-playground): modes declaration (#3522)
Evan You [Thu, 1 Apr 2021 22:11:04 +0000 (18:11 -0400)]
fix(compiler-sfc): fix wrong scopeId for nested `<script setup>` components
edison [Thu, 1 Apr 2021 03:29:24 +0000 (11:29 +0800)]
chore(types): use NormalizedStyle for consistency (#2590)
Evan You [Wed, 31 Mar 2021 19:23:01 +0000 (15:23 -0400)]
workflow(sfc-playground): make it work in safari and ff
Evan You [Wed, 31 Mar 2021 17:31:00 +0000 (13:31 -0400)]
workflow(sfc-playground): support import map
Evan You [Wed, 31 Mar 2021 16:36:45 +0000 (12:36 -0400)]
chore(sfc-playground): use svg logo