]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
4 years agowip: test for instance and options compat 3680/head
Evan You [Wed, 28 Apr 2021 21:21:02 +0000 (17:21 -0400)] 
wip: test for instance and options compat

4 years agowip: fix isCustomElement
Evan You [Wed, 28 Apr 2021 16:36:08 +0000 (12:36 -0400)] 
wip: fix isCustomElement

4 years agochore: Merge branch 'v2-compat'
Evan You [Wed, 28 Apr 2021 16:30:57 +0000 (12:30 -0400)] 
chore: Merge branch 'v2-compat'

4 years agowip: tests for global config compat
Evan You [Wed, 28 Apr 2021 16:29:51 +0000 (12:29 -0400)] 
wip: tests for global config compat

4 years agofeat: support component-level `compilerOptions` when using runtime compiler
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.

4 years agofix(compiler-core): preserve comment content in production when comments option is...
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

4 years agochore: update IE11 support [ci skip]
Evan You [Wed, 28 Apr 2021 13:40:54 +0000 (09:40 -0400)] 
chore: update IE11 support [ci skip]

4 years agowip: tests for global api compat
Evan You [Tue, 27 Apr 2021 21:34:19 +0000 (17:34 -0400)] 
wip: tests for global api compat

4 years agowip: ref v-for compat
Evan You [Mon, 26 Apr 2021 21:35:41 +0000 (17:35 -0400)] 
wip: ref v-for compat

4 years agowip: fix tests
Evan You [Mon, 26 Apr 2021 21:35:30 +0000 (17:35 -0400)] 
wip: fix tests

4 years agowip: whitespace behavior compat
Evan You [Mon, 26 Apr 2021 16:21:36 +0000 (12:21 -0400)] 
wip: whitespace behavior compat

4 years agofeat(config): support configuring runtime compiler via `app.config.compilerOptions`
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.

4 years agorefactor(compiler): improve whitespace: 'preserve' behavior from #1600
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

4 years agofeat(compiler-core): whitespace handling strategy
CodeDaraW [Thu, 16 Jul 2020 13:28:09 +0000 (21:28 +0800)] 
feat(compiler-core): whitespace handling strategy

4 years agochore: fix typo in assertion
sallycn [Mon, 26 Apr 2021 09:57:15 +0000 (17:57 +0800)] 
chore: fix typo in assertion

4 years agofeat(devtools): improved KeepAlive support
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

4 years agowip: add private api compat flag
Evan You [Thu, 22 Apr 2021 21:50:49 +0000 (17:50 -0400)] 
wip: add private api compat flag

4 years agowip: more compat tweaks
Evan You [Thu, 22 Apr 2021 21:30:54 +0000 (17:30 -0400)] 
wip: more compat tweaks

4 years agowip: more compat tweaks
Evan You [Thu, 22 Apr 2021 18:59:54 +0000 (14:59 -0400)] 
wip: more compat tweaks

4 years agowip: more compat tweaks
Evan You [Thu, 22 Apr 2021 13:49:25 +0000 (09:49 -0400)] 
wip: more compat tweaks

4 years agowip: class/style fallthrough compat
Evan You [Thu, 22 Apr 2021 02:04:26 +0000 (22:04 -0400)] 
wip: class/style fallthrough compat

4 years agowip: treat compat model listener as already declared
Evan You [Wed, 21 Apr 2021 23:13:26 +0000 (19:13 -0400)] 
wip: treat compat model listener as already declared

4 years agoperf: only trigger $attrs update when it has actually changed
Evan You [Wed, 21 Apr 2021 23:05:20 +0000 (19:05 -0400)] 
perf: only trigger $attrs update when it has actually changed

4 years agochore: include component info in recursive update warning
Evan You [Wed, 21 Apr 2021 19:20:15 +0000 (15:20 -0400)] 
chore: include component info in recursive update warning

4 years agowip: more compat progress
Evan You [Wed, 21 Apr 2021 19:09:18 +0000 (15:09 -0400)] 
wip: more compat progress

4 years agofix(watch): avoid traversing non-plain objects
Evan You [Tue, 20 Apr 2021 21:13:58 +0000 (17:13 -0400)] 
fix(watch): avoid traversing non-plain objects

4 years agowip: compat integration progress
Evan You [Tue, 20 Apr 2021 13:25:12 +0000 (09:25 -0400)] 
wip: compat integration progress

4 years agochore: adjust the parameter order of the mountChildren function 3672/head
zhaozhao [Tue, 20 Apr 2021 05:43:19 +0000 (13:43 +0800)] 
chore: adjust the parameter order of the mountChildren function

4 years agowip: filters compat
Evan You [Mon, 19 Apr 2021 16:08:26 +0000 (12:08 -0400)] 
wip: filters compat

4 years agowip: warn against `<template functional>`
Evan You [Sun, 18 Apr 2021 03:51:40 +0000 (23:51 -0400)] 
wip: warn against `<template functional>`

4 years agowip: inline-template compat
Evan You [Sun, 18 Apr 2021 03:19:40 +0000 (23:19 -0400)] 
wip: inline-template compat

4 years agowip: refactor
Evan You [Sun, 18 Apr 2021 02:50:16 +0000 (22:50 -0400)] 
wip: refactor

4 years agowip: plain template tag compat
Evan You [Sun, 18 Apr 2021 02:16:48 +0000 (22:16 -0400)] 
wip: plain template tag compat

4 years agoperf(compiler): skip unncessary checks when parsing end tag
Evan You [Sun, 18 Apr 2021 02:05:18 +0000 (22:05 -0400)] 
perf(compiler): skip unncessary checks when parsing end tag

4 years agowip: warn v-bind object ordering
Evan You [Sat, 17 Apr 2021 20:26:13 +0000 (16:26 -0400)] 
wip: warn v-bind object ordering

4 years agowip: remove unncessary deprecation messages
Evan You [Sat, 17 Apr 2021 20:13:57 +0000 (16:13 -0400)] 
wip: remove unncessary deprecation messages

4 years agowip: default mode for compat build
Evan You [Sat, 17 Apr 2021 20:05:27 +0000 (16:05 -0400)] 
wip: default mode for compat build

4 years agowip: compiler should default to v3 behavior
Evan You [Sat, 17 Apr 2021 19:55:14 +0000 (15:55 -0400)] 
wip: compiler should default to v3 behavior

4 years agowip: warn key usage of v-if branches
Evan You [Sat, 17 Apr 2021 19:35:44 +0000 (15:35 -0400)] 
wip: warn key usage of v-if branches

4 years agowip: warn v-if/v-for co-usage
Evan You [Sat, 17 Apr 2021 18:38:30 +0000 (14:38 -0400)] 
wip: warn v-if/v-for co-usage

4 years agowip: v-bind.sync compat
Evan You [Fri, 16 Apr 2021 21:11:44 +0000 (17:11 -0400)] 
wip: v-bind.sync compat

4 years agowip: invert compiler compat behavior default during tests
Evan You [Fri, 16 Apr 2021 16:26:17 +0000 (12:26 -0400)] 
wip: invert compiler compat behavior default during tests

4 years agowip: support configuring compiler deprecations at runtime + warn invalid deprecation...
Evan You [Fri, 16 Apr 2021 16:19:12 +0000 (12:19 -0400)] 
wip: support configuring compiler deprecations at runtime + warn invalid deprecation configs

4 years agowip: generate codeframe for compiler deprecations
Evan You [Fri, 16 Apr 2021 15:51:47 +0000 (11:51 -0400)] 
wip: generate codeframe for compiler deprecations

4 years agowip: is usage compat
Evan You [Fri, 16 Apr 2021 15:43:05 +0000 (11:43 -0400)] 
wip: is usage compat

4 years agochore: fix typo in test case description
kiyon [Fri, 16 Apr 2021 02:43:56 +0000 (10:43 +0800)] 
chore: fix typo in test case description

4 years agowip: compiler deprecation config
Evan You [Mon, 12 Apr 2021 23:42:09 +0000 (19:42 -0400)] 
wip: compiler deprecation config

4 years agowip: refactor deprecations into a single file
Evan You [Mon, 12 Apr 2021 22:47:50 +0000 (18:47 -0400)] 
wip: refactor deprecations into a single file

4 years agofeat: support casting plain element to component via is="vue:xxx"
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>
```

4 years agowip: testing compiler deprecation warnings
Evan You [Mon, 12 Apr 2021 13:09:00 +0000 (09:09 -0400)] 
wip: testing compiler deprecation warnings

4 years agochore: use isArray to keep the code consistency
edison [Mon, 12 Apr 2021 10:31:11 +0000 (18:31 +0800)] 
chore: use isArray to keep the code consistency

4 years agowip: staticStyle and staticClass
Evan You [Mon, 12 Apr 2021 02:21:10 +0000 (22:21 -0400)] 
wip: staticStyle and staticClass

4 years agowip: Vue.util compat
Evan You [Sun, 11 Apr 2021 20:53:43 +0000 (16:53 -0400)] 
wip: Vue.util compat

4 years agowip: fix render fn compat detection
Evan You [Sun, 11 Apr 2021 15:15:40 +0000 (11:15 -0400)] 
wip: fix render fn compat detection

4 years agowip: refactor compat check utils
Evan You [Sat, 10 Apr 2021 03:51:50 +0000 (23:51 -0400)] 
wip: refactor compat check utils

4 years agowip: fix compat utils usage
Evan You [Sat, 10 Apr 2021 03:21:13 +0000 (23:21 -0400)] 
wip: fix compat utils usage

4 years agowip: component v-model compat
Evan You [Sat, 10 Apr 2021 03:10:29 +0000 (23:10 -0400)] 
wip: component v-model compat

4 years agowip: render function compat
Evan You [Fri, 9 Apr 2021 22:52:14 +0000 (18:52 -0400)] 
wip: render function compat

4 years agowip: compat for legacy functional component
Evan You [Fri, 9 Apr 2021 19:14:14 +0000 (15:14 -0400)] 
wip: compat for legacy functional component

4 years agochore: fix dts
Evan You [Thu, 8 Apr 2021 21:15:02 +0000 (17:15 -0400)] 
chore: fix dts

4 years agowip: support per-component compatConfig
Evan You [Thu, 8 Apr 2021 21:11:05 +0000 (17:11 -0400)] 
wip: support per-component compatConfig

4 years agowip: make tests pass again
Evan You [Thu, 8 Apr 2021 20:33:53 +0000 (16:33 -0400)] 
wip: make tests pass again

4 years agowip: async component compat
Evan You [Thu, 8 Apr 2021 20:11:28 +0000 (16:11 -0400)] 
wip: async component compat

4 years agowip: tweak warning dedupe logic
Evan You [Thu, 8 Apr 2021 15:09:40 +0000 (11:09 -0400)] 
wip: tweak warning dedupe logic

4 years agowip: $attrs class/style warning
Evan You [Thu, 8 Apr 2021 14:41:25 +0000 (10:41 -0400)] 
wip: $attrs class/style warning

4 years agowip: $scopedSlots compat
Evan You [Thu, 8 Apr 2021 14:21:14 +0000 (10:21 -0400)] 
wip: $scopedSlots compat

4 years agowip: vm.$listeners compat
Evan You [Thu, 8 Apr 2021 14:06:12 +0000 (10:06 -0400)] 
wip: vm.$listeners compat

4 years agowip: attr coersion compat
Evan You [Wed, 7 Apr 2021 21:36:56 +0000 (17:36 -0400)] 
wip: attr coersion compat

4 years agowip: transition group root compat
Evan You [Wed, 7 Apr 2021 19:54:36 +0000 (15:54 -0400)] 
wip: transition group root compat

4 years agowip: apply compat enabled flags to currently implemented features
Evan You [Wed, 7 Apr 2021 19:38:04 +0000 (15:38 -0400)] 
wip: apply compat enabled flags to currently implemented features

4 years agowip: watch array compat
Evan You [Wed, 7 Apr 2021 16:24:45 +0000 (12:24 -0400)] 
wip: watch array compat

4 years agochore: log runtime build file size
Evan You [Wed, 7 Apr 2021 16:24:35 +0000 (12:24 -0400)] 
chore: log runtime build file size

4 years agowip: compat configuration
Evan You [Wed, 7 Apr 2021 15:22:56 +0000 (11:22 -0400)] 
wip: compat configuration

4 years agowip: keyCode compat
Evan You [Tue, 6 Apr 2021 21:38:43 +0000 (17:38 -0400)] 
wip: keyCode compat

4 years agowip: $children compat
Evan You [Tue, 6 Apr 2021 20:51:11 +0000 (16:51 -0400)] 
wip: $children compat

4 years agowip: instance event emitter api compat
Evan You [Tue, 6 Apr 2021 19:58:12 +0000 (15:58 -0400)] 
wip: instance event emitter api compat

4 years agowip: transition class compat
Evan You [Tue, 6 Apr 2021 19:02:15 +0000 (15:02 -0400)] 
wip: transition class compat

4 years agowip: fix root data option compat
Evan You [Tue, 6 Apr 2021 19:02:07 +0000 (15:02 -0400)] 
wip: fix root data option compat

4 years agowip: basic compat test
Evan You [Tue, 6 Apr 2021 16:17:17 +0000 (12:17 -0400)] 
wip: basic compat test

4 years agowip: custom directive compat
Evan You [Tue, 6 Apr 2021 15:57:10 +0000 (11:57 -0400)] 
wip: custom directive compat

4 years agowip: props default this compat
Evan You [Tue, 6 Apr 2021 15:08:21 +0000 (11:08 -0400)] 
wip: props default this compat

4 years agowip: beforeDestroy & destroyed compat
Evan You [Tue, 6 Apr 2021 14:07:16 +0000 (10:07 -0400)] 
wip: beforeDestroy & destroyed compat

4 years agowip: config.ignoredElements compat
Evan You [Tue, 6 Apr 2021 14:02:46 +0000 (10:02 -0400)] 
wip: config.ignoredElements compat

4 years agowip: data option compat
Evan You [Tue, 6 Apr 2021 13:31:47 +0000 (09:31 -0400)] 
wip: data option compat

4 years agowip: progress
Evan You [Mon, 5 Apr 2021 22:13:29 +0000 (18:13 -0400)] 
wip: progress

4 years agowip: restructure compat code + global api alignment
Evan You [Mon, 5 Apr 2021 21:09:22 +0000 (17:09 -0400)] 
wip: restructure compat code + global api alignment

4 years agowip: root mount api compat
Evan You [Mon, 5 Apr 2021 15:54:35 +0000 (11:54 -0400)] 
wip: root mount api compat

4 years agowip: initial compat build setup
Evan You [Sat, 3 Apr 2021 15:55:44 +0000 (11:55 -0400)] 
wip: initial compat build setup

4 years agofix(watch): this.$watch should support watching keypath
Evan You [Wed, 7 Apr 2021 20:19:04 +0000 (16:19 -0400)] 
fix(watch): this.$watch should support watching keypath

4 years agotest: typo in spy (#3556)
Eduardo San Martin Morote [Wed, 7 Apr 2021 12:19:12 +0000 (14:19 +0200)] 
test: typo in spy (#3556)

4 years agofix(runtime-core): ensure declare prop keys are always present
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

4 years agorelease: v3.0.11 v3.0.11
Evan You [Thu, 1 Apr 2021 23:52:45 +0000 (19:52 -0400)] 
release: v3.0.11

4 years agofix(runtime-core): fix v-on object kebab-case event emit matching
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

4 years agofix(runtime-core): fix render function + optimized slot edge case (#3523)
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

4 years agorefactor(sfc-playground): modes declaration (#3522)
Cédric Exbrayat [Thu, 1 Apr 2021 22:37:50 +0000 (00:37 +0200)] 
refactor(sfc-playground): modes declaration (#3522)

4 years agofix(compiler-sfc): fix wrong scopeId for nested `<script setup>` components
Evan You [Thu, 1 Apr 2021 22:11:04 +0000 (18:11 -0400)] 
fix(compiler-sfc): fix wrong scopeId for nested `<script setup>` components

4 years agochore(types): use NormalizedStyle for consistency (#2590)
edison [Thu, 1 Apr 2021 03:29:24 +0000 (11:29 +0800)] 
chore(types): use NormalizedStyle for consistency (#2590)

4 years agoworkflow(sfc-playground): make it work in safari and ff
Evan You [Wed, 31 Mar 2021 19:23:01 +0000 (15:23 -0400)] 
workflow(sfc-playground): make it work in safari and ff

4 years agoworkflow(sfc-playground): support import map
Evan You [Wed, 31 Mar 2021 17:31:00 +0000 (13:31 -0400)] 
workflow(sfc-playground): support import map

4 years agochore(sfc-playground): use svg logo
Evan You [Wed, 31 Mar 2021 16:36:45 +0000 (12:36 -0400)] 
chore(sfc-playground): use svg logo