]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
4 years agowip: make legacy global apis available on app instance as well
Evan You [Thu, 6 May 2021 21:15:11 +0000 (17:15 -0400)] 
wip: make legacy global apis available on app instance as well

4 years agowip: fix v3 render fn detection regex
Evan You [Thu, 6 May 2021 20:18:00 +0000 (16:18 -0400)] 
wip: fix v3 render fn detection regex

4 years agowip: defineReactive on instance with keys starting with $
Evan You [Thu, 6 May 2021 19:45:42 +0000 (15:45 -0400)] 
wip: defineReactive on instance with keys starting with $

4 years agowip: allow compatConfig mode to be a function
Evan You [Thu, 6 May 2021 14:57:34 +0000 (10:57 -0400)] 
wip: allow compatConfig mode to be a function

4 years agofix(hmr): don't remove __file key from component type
Guillaume Chau [Thu, 6 May 2021 12:21:54 +0000 (14:21 +0200)] 
fix(hmr): don't remove __file key from component type

4 years agowip: expose configureCompat via named export
Evan You [Wed, 5 May 2021 23:31:06 +0000 (19:31 -0400)] 
wip: expose configureCompat via named export

4 years agowip: make singleton mutations affect all app instances
Evan You [Wed, 5 May 2021 21:56:09 +0000 (17:56 -0400)] 
wip: make singleton mutations affect all app instances

4 years agowip: only generate non-scope slot flag when compatConfig is present
Evan You [Wed, 5 May 2021 20:36:16 +0000 (16:36 -0400)] 
wip: only generate non-scope slot flag when compatConfig is present

4 years agowip: remove v-if key warning as there are legit use cases
Evan You [Wed, 5 May 2021 20:25:33 +0000 (16:25 -0400)] 
wip: remove v-if key warning as there are legit use cases

4 years agowip: relay compiler-core warnings in compiler-sfc with codeframe
Evan You [Wed, 5 May 2021 18:24:46 +0000 (14:24 -0400)] 
wip: relay compiler-core warnings in compiler-sfc with codeframe

4 years agowip: exclude legacy slots from $scopedSlots
Evan You [Wed, 5 May 2021 15:06:04 +0000 (11:06 -0400)] 
wip: exclude legacy slots from $scopedSlots

4 years agowip: fix compiler dep externalization
Evan You [Wed, 5 May 2021 15:05:53 +0000 (11:05 -0400)] 
wip: fix compiler dep externalization

4 years agowip: more private properties
Evan You [Wed, 5 May 2021 13:47:14 +0000 (09:47 -0400)] 
wip: more private properties

4 years agowip: enable private vnode properties even for built-ins
Evan You [Tue, 4 May 2021 22:20:14 +0000 (18:20 -0400)] 
wip: enable private vnode properties even for built-ins

4 years agowip: fix native template compat
Evan You [Tue, 4 May 2021 22:10:57 +0000 (18:10 -0400)] 
wip: fix native template compat

4 years agowip: root instance $destroy before $mount
Evan You [Tue, 4 May 2021 15:34:15 +0000 (11:34 -0400)] 
wip: root instance $destroy before $mount

4 years agowip: vm._data for vuex compat
Evan You [Tue, 4 May 2021 15:11:43 +0000 (11:11 -0400)] 
wip: vm._data for vuex compat

4 years agobuild(deps-dev): bump sass from 1.32.8 to 1.32.12
dependabot-preview[bot] [Sat, 1 May 2021 05:37:09 +0000 (05:37 +0000)] 
build(deps-dev): bump sass from 1.32.8 to 1.32.12

Bumps [sass](https://github.com/sass/dart-sass) from 1.32.8 to 1.32.12.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.32.8...1.32.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agobuild(deps-dev): bump codemirror from 5.60.0 to 5.61.0
dependabot-preview[bot] [Sat, 1 May 2021 05:37:57 +0000 (05:37 +0000)] 
build(deps-dev): bump codemirror from 5.60.0 to 5.61.0

Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.60.0 to 5.61.0.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.60.0...5.61.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agobuild(deps-dev): bump chalk from 4.1.0 to 4.1.1
dependabot-preview[bot] [Sat, 1 May 2021 05:35:52 +0000 (05:35 +0000)] 
build(deps-dev): bump chalk from 4.1.0 to 4.1.1

Bumps [chalk](https://github.com/chalk/chalk) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v4.1.0...v4.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agobuild(deps-dev): bump @types/node from 14.14.36 to 14.14.43
dependabot-preview[bot] [Sat, 1 May 2021 05:33:00 +0000 (05:33 +0000)] 
build(deps-dev): bump @types/node from 14.14.36 to 14.14.43

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.36 to 14.14.43.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agobuild(deps-dev): bump eslint from 7.22.0 to 7.25.0
dependabot-preview[bot] [Sat, 1 May 2021 05:33:21 +0000 (05:33 +0000)] 
build(deps-dev): bump eslint from 7.22.0 to 7.25.0

Bumps [eslint](https://github.com/eslint/eslint) from 7.22.0 to 7.25.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.22.0...v7.25.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agochore: ignore compat entries for coverage
Evan You [Fri, 30 Apr 2021 22:15:36 +0000 (18:15 -0400)] 
chore: ignore compat entries for coverage

4 years agowip: compat test coverage
Evan You [Fri, 30 Apr 2021 22:05:03 +0000 (18:05 -0400)] 
wip: compat test coverage

4 years agowip: test for global filter registration
Evan You [Fri, 30 Apr 2021 21:15:36 +0000 (17:15 -0400)] 
wip: test for global filter registration

4 years agowip: tests for compiler compat
Evan You [Fri, 30 Apr 2021 19:50:32 +0000 (15:50 -0400)] 
wip: tests for compiler compat

4 years agowip: move compat test cases + filter tests
Evan You [Thu, 29 Apr 2021 20:58:14 +0000 (16:58 -0400)] 
wip: move compat test cases + filter tests

4 years agowip: test for v-model compat
Evan You [Thu, 29 Apr 2021 20:21:55 +0000 (16:21 -0400)] 
wip: test for v-model compat

4 years agowip: test for legacy component compat
Evan You [Thu, 29 Apr 2021 19:51:37 +0000 (15:51 -0400)] 
wip: test for legacy component compat

4 years agowip: more tests for v2 compat
Evan You [Thu, 29 Apr 2021 18:45:22 +0000 (14:45 -0400)] 
wip: more tests for v2 compat

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