From 4b8f25a409fc42e8f5bbff9b2f90be56e3a51b1d Mon Sep 17 00:00:00 2001 From: Alexandre Thomas <3269222+AshtomGVA@users.noreply.github.com> Date: Fri, 16 Oct 2020 06:02:44 +0200 Subject: [PATCH 1/8] docs: Update refs-type-extension.md (#470) --- docs/guide/refs-type-extension.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/refs-type-extension.md b/docs/guide/refs-type-extension.md index e0222f6..5962f13 100644 --- a/docs/guide/refs-type-extension.md +++ b/docs/guide/refs-type-extension.md @@ -1,6 +1,6 @@ # `$refs` Type Extension -`$refs` type of a component is declared as the broadest type to handle all possible type of ref. While it is theoretically collect, in most cases, each ref only has a specific element or a component in practice. +`$refs` type of a component is declared as the broadest type to handle all possible type of ref. While it is theoretically correct, in most cases, each ref only has a specific element or a component in practice. You can specify a specific ref type by overriding `$refs` type in a class component: From 616d428b148eeb400e02b91500136edaf01134e0 Mon Sep 17 00:00:00 2001 From: Katashin Date: Thu, 22 Oct 2020 21:25:01 +0800 Subject: [PATCH 2/8] fix typo (fix #473) --- docs/api/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/README.md b/docs/api/README.md index c265eb1..9a38380 100644 --- a/docs/api/README.md +++ b/docs/api/README.md @@ -54,7 +54,7 @@ See also: [Hooks](../guide/class-component.md#Hooks) ## Built-in Hook Method Types -Only available in TypeScript. It enables built-in hooks methods auto-complete once your import it: +Only available in TypeScript. It enables built-in hooks methods auto-complete once you import it: ```ts import 'vue-class-component/hooks' From 8219cc8a37111873c9ac60562c7b09fb7f0dfcf4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 11 Dec 2020 18:50:37 +0800 Subject: [PATCH 3/8] build(deps): bump ini from 1.3.5 to 1.3.7 (#492) Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 3aa36f7..bd0a2b2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4455,9 +4455,9 @@ inherits@2.0.3: integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= ini@^1.3.4, ini@^1.3.5, ini@~1.3.0: - version "1.3.5" - resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" - integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== + version "1.3.7" + resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.7.tgz#a09363e1911972ea16d7a8851005d84cf09a9a84" + integrity sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ== inquirer@^7.0.0: version "7.0.3" From 866170cce547b5b0315b00894e3941cfbf2e987d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 11 Dec 2020 22:22:57 +0800 Subject: [PATCH 4/8] build(deps): bump dot-prop from 4.2.0 to 4.2.1 (#493) Bumps [dot-prop](https://github.com/sindresorhus/dot-prop) from 4.2.0 to 4.2.1. - [Release notes](https://github.com/sindresorhus/dot-prop/releases) - [Commits](https://github.com/sindresorhus/dot-prop/compare/v4.2.0...v4.2.1) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index bd0a2b2..5333359 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3064,9 +3064,9 @@ domutils@^1.5.1, domutils@^1.7.0: domelementtype "1" dot-prop@^4.1.1: - version "4.2.0" - resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-4.2.0.tgz#1f19e0c2e1aa0e32797c49799f2837ac6af69c57" - integrity sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ== + version "4.2.1" + resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-4.2.1.tgz#45884194a71fc2cda71cbb4bceb3a4dd2f433ba4" + integrity sha512-l0p4+mIuJIua0mhxGoh4a+iNL9bmeK5DvnSVQa6T0OhrVmaEa1XScX5Etc673FePCJOArq/4Pa2cLGODUWTPOQ== dependencies: is-obj "^1.0.0" From 16433462b40aefecc030919623f17b0ec9afe61c Mon Sep 17 00:00:00 2001 From: Eduard Marsal Date: Tue, 15 Dec 2020 11:47:27 +0100 Subject: [PATCH 5/8] add note for missing v8 docs (#497) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ef9ecb1..bb8d3ab 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ ECMAScript / TypeScript decorator for class-style Vue components. See [https://class-component.vuejs.org](https://class-component.vuejs.org) +> Please note, documentation for v8 is not ready yet. Check out the readme in the respective branch or see [v8 proposals in the issue list](https://github.com/vuejs/vue-class-component/issues?q=is%3Aopen+is%3Aissue+label%3Av8) + ## Online one-click setup for contributing Contribute to Vue Class Component using a fully featured online development environment that will automatically: clone the repo, install the dependencies and start the docs web server and run `yarn dev`. From 792d8739d66095cdef2512edbbf230631fab3e2b Mon Sep 17 00:00:00 2001 From: Lachlan Miller Date: Thu, 23 Mar 2023 19:19:52 +1000 Subject: [PATCH 6/8] Deprecate this and recommend Vue Facing Decorator (#633) * Update README.md * Update README.md --------- Co-authored-by: Evan You --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bb8d3ab..fd3256f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,15 @@ -# Vue Class Component +# [DEPRECATED] Vue Class Component + + +## ⚠️ Notice + +This library is no longer actively maintained. It is no longer recommend to use Class-based components in Vue 3. The recommended way to use Vue 3 in large applications is Single-File Components, Composition API, and `