@accelbyte/codegen 2.2.1 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@accelbyte/codegen",
3
- "version": "2.2.1",
3
+ "version": "3.0.3",
4
4
  "author": "AccelByte Inc",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "main": "dist/accelbyte-codegen.js",
@@ -13,6 +13,8 @@
13
13
  "axios": "1.3.6",
14
14
  "fast-json-patch": "3.1.1",
15
15
  "lodash": "4.17.21",
16
+ "eslint": "8.56.0",
17
+ "eslint-plugin-unused-imports": "3.0.0",
16
18
  "rimraf": "4.1.2",
17
19
  "semver": "7.5.4",
18
20
  "swagger-parser": "10.0.3",
@@ -1,228 +0,0 @@
1
- ### 2.0.0-beta.10 - 2023-07-12
2
-
3
- - Fix codegen cannot properly parse `file` types
4
-
5
- ### 2.0.0-beta.9 - 2023-07-12
6
-
7
- - Fix codegen cannot parse nested `properties`
8
-
9
- ### 2.0.0-beta.8 - 2023-07-12
10
-
11
- - Add @apidevtools/swagger-parser to dependencies of codegen
12
-
13
- ### 2.0.0-beta.7 - 2023-06-30
14
-
15
- - Fix Version Helper to handle package version prerelease from stable release
16
-
17
- ### 2.0.0-beta.6 - 2023-06-20
18
-
19
- - Enable emitting public and admin SDKs in one go
20
-
21
- ### 2.0.0-beta.5 - 2023-06-15
22
-
23
- - Sort parameters based on their occurrence order in the path as a param
24
-
25
- ### 2.0.0-beta.4 - 2023-06-07
26
-
27
- - Allow auto bumping version for admin web sdk
28
- - Set `predefinedMajorVersion` as 0 if it is not set in package.json to prevent bumping the version to NaN
29
-
30
- ### 2.0.0-beta.3 - 2023-05-31
31
-
32
- - Fix codegen checks when combining VERSION_BUMP_TYPE and PRERELEASE_ID
33
-
34
- ### 2.0.0-beta.2 - 2023-05-30
35
-
36
- - Improve codegen flow to cater cutoff, releases, and hotfixes
37
-
38
- ### 2.0.0-beta.1 - 2023-05-29
39
-
40
- - Fix codegen failed to build with JSON imports
41
-
42
- ### 2.0.0-beta.0 - 2023-05-26
43
-
44
- - Rework the versioning of codegen, remove CHANGELOG.md insertion
45
-
46
- ### 1.0.5 - 2023-05-20
47
-
48
- - Fix codegen accidentally bumping the version by +1 when releasing stable versions
49
- - Fix codegen for local build not prettifying JSON causing noises in PR
50
-
51
- ### 1.0.4 - 2023-05-15
52
-
53
- - Fix template-method sorting pathParams
54
-
55
- ### 1.0.3 - 2023-05-15
56
-
57
- - Fix codegen semver parsing
58
-
59
- ### 1.0.2 - 2023-05-10
60
-
61
- - Properly handle error when there's non-2xx status code when downloading Swagger
62
- - Update the way the codegen is bumping versions
63
-
64
- ### 1.0.1-beta.1 - 2023-05-09
65
-
66
- - Add logic to parse default query param value whose type is array
67
- - Re-enable snippets generation in the codegen for API explorer
68
-
69
- ### 1.0.1 - 2023-04-27
70
-
71
- - Bump from script
72
-
73
- ### 1.0.1-experimental.1 - 2023-04-27
74
-
75
- - Bump from script
76
-
77
- ### 1.0.1-experimental.0 - 2023-04-27
78
-
79
- - Bump from script
80
-
81
- ### 1.0.0-beta.16 - 2023-04-26
82
-
83
- - Fix array of integer not converted to array of number
84
-
85
- ### 1.0.0-beta.15 - 2023-04-20
86
-
87
- - Generate Github websdk links
88
-
89
- ### 1.0.0-beta.14 - 2023-04-20
90
-
91
- - Sanitize snippet Promise<unknown> to Promise
92
-
93
- ### 1.0.0-beta.13 - 2023-04-20
94
-
95
- - adds sanitizer for wrong url encoded chars
96
-
97
- ### 1.0.0-beta.12 - 2023-03-17
98
-
99
- - Add model name to the Validate.responseType 3rd argument
100
-
101
- ### 1.0.0-beta.11 - 2023-03-15
102
-
103
- - Fixed sdk snippet creation
104
-
105
- ### 1.0.0-beta.10 - 2023-03-05
106
-
107
- - Adds support for generating api facade classes
108
-
109
- ### 1.0.0-beta.7 - 2023-03-05
110
-
111
- - Support nested array swagger model
112
-
113
- ### 1.0.0-beta.6 - 2023-03-05
114
-
115
- - Improved natural method name generation
116
-
117
- ### 1.0.0-beta.5 - 2023-03-04
118
-
119
- - Add natural method name generation
120
-
121
- ### 1.0.0-beta.4 - 2023-03-02
122
-
123
- - Add --snippetOutput arg to build the snippet into a specific folder
124
-
125
- ### 1.0.0-beta.3 - 2023-02-28
126
-
127
- - Improve Codegen to build human-readable methodss
128
-
129
- ### 1.0.0-beta.2 - 2023-02-27
130
-
131
- - Adds code snippet generation utilities for the api-explorer app
132
-
133
- ### 1.0.0-alpha.12 - 2023-02-15
134
-
135
- - Update codegen to emit `interface` instead of `type` when inferring Zod type
136
-
137
- ### 1.0.0-alpha.11 - 2023-02-14
138
-
139
- - Implement more informative error when JSON patch is invalid
140
-
141
- ### 1.0.0-alpha.10 - 2023-02-09
142
-
143
- - Split Readme into Patching and Readme file
144
- - Updated formatting
145
- - Added prettier command to be used after build
146
-
147
- ### 1.0.0-alpha.9 - 2023-01-30
148
-
149
- - Fix duplicate generate class method but it has a different endpoint
150
-
151
- ### 1.0.0-alpha.8
152
-
153
- - Fix requestBody definitions in Swagger v3 not generated
154
-
155
- ### 1.0.0-alpha.7
156
-
157
- - Support swagger v3
158
-
159
- ### 1.0.0-alpha.6
160
-
161
- - Skip generate endpoint with no tags
162
- - treat int as number in parameter type
163
- - support nullish response description
164
-
165
- ### 1.0.0-alpha.5
166
-
167
- - Update dependency versions
168
-
169
- ### 1.0.0-alpha.4
170
-
171
- - Fix templating for enums and query params
172
-
173
- ### 1.0.0-alpha.3
174
-
175
- - Fix template-method wrong variable placement
176
-
177
- ### 1.0.0-alpha.2
178
-
179
- - CWA-327 Update CLI usage documentation
180
-
181
- ### 1.0.0-alpha.1
182
-
183
- - CWA-327 Build codegen into CLI (`accelbyte-codegen`)
184
-
185
- ### 2022-11-30
186
-
187
- - OS-8126 OS-8128 - [Dev][PP] Add account linking with one time code page
188
-
189
- ### 2022-11-23
190
-
191
- - CW-1697 - Prettify config files
192
-
193
- ### 2022-09-7
194
-
195
- - CW-1449 - [WebSDK] WebSDK accepts cache argument at initialization
196
-
197
- ### 2022-09-19
198
-
199
- - CW-1034 - [Basic] dateOfBirth patten in basic service
200
- - CW-1035 - [Basic] Language pattern in basic service
201
-
202
- ### 2022-09-19
203
-
204
- - CW-1225 - [WebSDK] Add Cache in WebSDK
205
-
206
- ### 2022-09-16
207
-
208
- - CW-1007 - CW-1008 CW-1009 - remove patches containing language patterns, WalletInfo definition, and OrderInfo definition
209
-
210
- ### 2022-08-04
211
-
212
- - OS-7129 - [Dev][Player Portal] Add a redirection page for user verification through link
213
-
214
- ### 2022-07-29
215
-
216
- - CW-753 - [Editor][PP][Launcher] Migrate Editor, PP and Launcher to the latest Config-Service endpoints
217
-
218
- ### 2022-07-27
219
-
220
- - Update the typings for `config.data` for Odin Config Web SDK
221
-
222
- ### 2022-07-26
223
-
224
- - CW-636 - [WebSDK] Web SDK is updated with new config-service endpoints
225
-
226
- ### 2022-07-14
227
-
228
- - CW-300 - [Technical] Audit and Remove unused NPM dependencies