Skip to content

Commit 846b2e8

Browse files
committed
release: vue-class-setup@1.4.5
1 parent ba5c91b commit 846b2e8

File tree

13 files changed

+81
-82
lines changed

13 files changed

+81
-82
lines changed

CHANGELOG.md

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,178 +1,178 @@
11
## 1.4.4
22

3-
- fix: multiple inheritance unbinding object errors
3+
- fix: multiple inheritance unbinding object errors
44

55
## 1.4.3
66

7-
- fix: memory leak caused by unused `@Setup` decorator
7+
- fix: memory leak caused by unused `@Setup` decorator
88

99
## 1.4.2
1010

11-
- fix: Type failure
11+
- fix: Type failure
1212

1313
## 1.4.1
1414

15-
- fix: Type failure
15+
- fix: Type failure
1616

1717
## 1.4.0
1818

19-
- fix: Type failure
19+
- fix: Type failure
2020

2121
## 1.3.9
2222

23-
- fix: Type failure
23+
- fix: Type failure
2424

2525
## 1.3.8
2626

27-
- types: fix `DeepReadonly` to `Readonly`
27+
- types: fix `DeepReadonly` to `Readonly`
2828

2929
## 1.3.7
3030

31-
- types: fix `VueInstance` type error
31+
- types: fix `VueInstance` type error
3232

3333
## 1.3.6
3434

35-
- types: fix `VueInstance` type error
35+
- types: fix `VueInstance` type error
3636

3737
## 1.3.5
3838

39-
- docs: modify README.md
39+
- docs: modify README.md
4040

4141
## 1.3.4
4242

43-
- docs: modify README.md
43+
- docs: modify README.md
4444

4545
## 1.3.3
4646

47-
- fix: Vue3 SSR default error
47+
- fix: Vue3 SSR default error
4848

4949
## 1.3.0
5050

51-
- Same as `1.2.9`
51+
- Same as `1.2.9`
5252

5353
## 1.2.9
5454

55-
- feat: `Context` Support props and emit generics
55+
- feat: `Context` Support props and emit generics
5656

5757
## 1.2.8
5858

59-
- fix: `$vm` return Vue instance on Vue2
59+
- fix: `$vm` return Vue instance on Vue2
6060

6161
## 1.2.7
6262

63-
- chore: Update keywords
63+
- chore: Update keywords
6464

6565
## 1.2.6
6666

67-
- fix: Vue3 optimization set default props
67+
- fix: Vue3 optimization set default props
6868

6969
## 1.2.5
7070

71-
- fix: Default Boolean value error
71+
- fix: Default Boolean value error
7272

7373
## 1.2.4
7474

75-
- feat: `DefaultProps` and `DefaultEmit` exports
75+
- feat: `DefaultProps` and `DefaultEmit` exports
7676

7777
## 1.2.3
7878

79-
- fix: props default value error on Vue3
79+
- fix: props default value error on Vue3
8080

8181
## 1.2.2
8282

83-
- fix: `@PassOnTo(onServerPrefetch)` type error on Vue2
83+
- fix: `@PassOnTo(onServerPrefetch)` type error on Vue2
8484

8585
## 1.2.1
8686

87-
- feat: App.use
87+
- feat: App.use
8888

8989
## 1.2.0
9090

91-
- fix: Set default props error on Vue2
91+
- fix: Set default props error on Vue2
9292

9393
## 1.1.9
9494

95-
- fix: props name style is kebab case type error
96-
- fix: not found: Error: Can't resolve 'vue-class-setup'
95+
- fix: props name style is kebab case type error
96+
- fix: not found: Error: Can't resolve 'vue-class-setup'
9797

9898
## 1.1.8
9999

100-
- fix: Set props default error
100+
- fix: Set props default error
101101

102102
## 1.1.7
103103

104-
- docs: Optimize document picture capitalization
104+
- docs: Optimize document picture capitalization
105105

106106
## 1.1.6
107107

108-
- fix: Improve unit testing and boundary treatment
108+
- fix: Improve unit testing and boundary treatment
109109

110110
## 1.1.5
111111

112-
- feat: Inject to defineComponent and bind this
112+
- feat: Inject to defineComponent and bind this
113113

114114
## 1.1.3
115115

116-
- fix: Vite ssr build error
116+
- fix: Vite ssr build error
117117

118118
## 1.1.2
119119

120-
- fix: Vite ssr build error
120+
- fix: Vite ssr build error
121121

122122
## 1.1.1
123123

124-
- feat: Watch decorator
124+
- feat: Watch decorator
125125

126126
## 1.1.0
127127

128-
- Fix: Assemble class cannot be used
128+
- Fix: Assemble class cannot be used
129129

130130
## 1.0.8
131131

132-
- feat: Set default props on class
132+
- feat: Set default props on class
133133

134134
## 1.0.7
135135

136-
- feat: isVue2, isVue3, getCurrentInstance, VueInstance
136+
- feat: isVue2, isVue3, getCurrentInstance, VueInstance
137137

138138
## 1.0.6
139139

140-
- fix: Define Generic (optional)
140+
- fix: Define Generic (optional)
141141

142142
## 1.0.5
143143

144-
- feat: $props
145-
- Remove: Remove parameter passing in
144+
- feat: $props
145+
- Remove: Remove parameter passing in
146146

147147
## 1.0.4
148148

149-
- feat: Remove execution
149+
- feat: Remove execution
150150

151151
## 1.0.3
152152

153-
- feat: Define basic class
153+
- feat: Define basic class
154154

155155
## 1.0.2
156156

157-
- feat: packages.json "exports"
157+
- feat: packages.json "exports"
158158

159159
## 1.0.1
160160

161-
- fix: Delete unnecessary judgment
161+
- fix: Delete unnecessary judgment
162162

163163
## 1.0.0
164164

165-
- feat: Remove `Hook` and add `PassOnTo`
166-
- feat: `getCurrentHookContext` method
165+
- feat: Remove `Hook` and add `PassOnTo`
166+
- feat: `getCurrentHookContext` method
167167

168168
## 0.1.4
169169

170-
- fix: Export path error
170+
- fix: Export path error
171171

172172
## 0.1.3
173173

174-
- fix: Initialization hook sequence error
174+
- fix: Initialization hook sequence error
175175

176176
## 0.0.9
177177

178-
- feat: `registerHook` api
178+
- feat: `registerHook` api

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,8 @@ defineExpose({
350350

351351
## Vue compatible
352352

353-
- `getCurrentInstance` returns the proxy object by default
354-
- `VueInstance` It is not easy to get a Vue instance object type compatible with vue2 and vue3. We make it easy
353+
- `getCurrentInstance` returns the proxy object by default
354+
- `VueInstance` It is not easy to get a Vue instance object type compatible with vue2 and vue3. We make it easy
355355

356356
```ts
357357
import {

examples/vite-vue2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This template should help get you started developing with Vue 3 and TypeScript i
44

55
## Recommended IDE Setup
66

7-
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar)
7+
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar)
88

99
## Type Support For `.vue` Imports in TS
1010

examples/vite-vue2/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />

examples/vite-vue2/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"vue": "^2.7.8"
12+
"vue": "^2.7.16"
1313
},
1414
"devDependencies": {
1515
"vue-class-setup": "file:../../",
16-
"@vitejs/plugin-vue2": "^1.1.2",
17-
"typescript": "^4.6.4",
18-
"vite": "^3.0.7",
19-
"vue-tsc": "^0.39.5"
16+
"@vitejs/plugin-vue2": "^2.3.4",
17+
"typescript": "^5.9.3",
18+
"vite": "^7.2.2",
19+
"vue-tsc": "^3.1.3"
2020
}
2121
}

examples/vite-vue3/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This template should help get you started developing with Vue 3 and TypeScript i
44

55
## Recommended IDE Setup
66

7-
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar)
7+
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar)
88

99
## Type Support For `.vue` Imports in TS
1010

examples/vite-vue3/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />

examples/vite-vue3/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"vue": "^3.2.37"
12+
"vue": "^3.5.23"
1313
},
1414
"devDependencies": {
1515
"vue-class-setup": "file:../../",
16-
"@vitejs/plugin-vue": "^3.0.3",
17-
"typescript": "^4.6.4",
18-
"vite": "^3.0.7",
19-
"vue-tsc": "^0.39.5"
16+
"@vitejs/plugin-vue": "^6.0.1",
17+
"typescript": "^5.9.3",
18+
"vite": "^7.2.2",
19+
"vue-tsc": "^3.1.3"
2020
}
2121
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-class-setup",
3-
"version": "1.4.4",
3+
"version": "1.4.5",
44
"main": "dist/index.cjs.js",
55
"module": "dist/index.es.js",
66
"types": "dist/index.d.ts",
@@ -47,17 +47,17 @@
4747
"vue": ">=2.7.8 || >=3.0.0"
4848
},
4949
"devDependencies": {
50-
"@vitejs/plugin-vue": "^3.0.1",
51-
"@vue/test-utils": "^2.0.2",
52-
"c8": "^7.12.0",
50+
"@vitejs/plugin-vue": "^6.0.1",
51+
"@vue/test-utils": "^2.4.6",
52+
"@vitest/coverage-v8": "4.0.7",
5353
"coveralls": "^3.1.1",
54-
"happy-dom": "^6.0.4",
55-
"prettier": "^2.7.1",
56-
"typescript": "^4.7.4",
57-
"vite": "^3.0.3",
58-
"vite-plugin-dts": "^1.4.0",
59-
"vitest": "^0.20.2",
60-
"vue": "^3.2.37",
61-
"vue-tsc": "^0.40.1"
54+
"happy-dom": "^20.0.10",
55+
"prettier": "^3.6.2",
56+
"typescript": "^5.9.3",
57+
"vite": "^7.2.2",
58+
"vite-plugin-dts": "^4.5.4",
59+
"vitest": "^4.0.7",
60+
"vue": "^3.5.23",
61+
"vue-tsc": "^3.1.3"
6262
}
6363
}

0 commit comments

Comments
 (0)