UNPKG

16.4 kBMarkdownView Raw
1# Changelog
2
3All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
5### [6.0.9](https://github.com/hosseinmd/swagger-typescript/compare/v6.0.8...v6.0.9) (2022-05-23)
6
7
8### Bug Fixes
9
10* query params nullable ([e1c5484](https://github.com/hosseinmd/swagger-typescript/commit/e1c5484805c8d675ea7c5e55fa8b0e0d6a1db2d1))
11
12### [6.0.8](https://github.com/hosseinmd/swagger-typescript/compare/v6.0.7...v6.0.8) (2022-05-17)
13
14
15### Bug Fixes
16
17* nullable properties of openApi 3 ([f77e155](https://github.com/hosseinmd/swagger-typescript/commit/f77e155a685abf15c7f8aab5b46f0b2abb73a257))
18
19### [6.0.5](https://github.com/hosseinmd/swagger-typescript/compare/v6.0.4...v6.0.5) (2022-02-08)
20
21
22### Bug Fixes
23
24* void type ([ac12fa5](https://github.com/hosseinmd/swagger-typescript/commit/ac12fa5f05c484327b7b17f95c68b669e234fbf8))
25
26### [6.0.4](https://github.com/hosseinmd/swagger-typescript/compare/v6.0.3...v6.0.4) (2022-02-08)
27
28
29### Bug Fixes
30
31* configoverride default value ([9a9e38f](https://github.com/hosseinmd/swagger-typescript/commit/9a9e38fe2a2bfc1f9544d16c6a8caef3af6e4a91))
32
33### [6.0.2](https://github.com/hosseinmd/swagger-typescript/compare/v6.0.1...v6.0.2) (2022-01-31)
34
35
36### Bug Fixes
37
38* hooks useinfinityQuery ([9d38336](https://github.com/hosseinmd/swagger-typescript/commit/9d3833653164c4387212b713e457348a21e67046))
39
40### [6.0.1](https://github.com/hosseinmd/swagger-typescript/compare/v6.0.0...v6.0.1) (2022-01-15)
41
42
43### Bug Fixes
44
45* format output files ([ecdcacc](https://github.com/hosseinmd/swagger-typescript/commit/ecdcaccfa2994ec59b8061f57ce0184c0d6875d7))
46* remove useless infinity code when infinty doesn't enabled ([f4575d3](https://github.com/hosseinmd/swagger-typescript/commit/f4575d375ab104970cecbd9873ded7c3d074da3b))
47
48## [6.0.0](https://github.com/hosseinmd/swagger-typescript/compare/v5.9.1...v6.0.0) (2021-12-26)
49
50
51### ⚠ BREAKING CHANGES
52
53* desable generate auto useInfiniteQuery
54
55### Features
56
57* config to useInfiniteQuery ([d6ed3c4](https://github.com/hosseinmd/swagger-typescript/commit/d6ed3c4ac3384d79ee2932e40fb8971bce8c262e))
58
59### [5.9.1](https://github.com/hosseinmd/swagger-typescript/compare/v5.9.0...v5.9.1) (2021-12-26)
60
61
62### Bug Fixes
63
64* objToForm type ([88c29d9](https://github.com/hosseinmd/swagger-typescript/commit/88c29d9c0c882cca7a3ba5b79da45bc1ce05dbe4))
65
66## [5.9.0](https://github.com/hosseinmd/swagger-typescript/compare/v5.8.0...v5.9.0) (2021-12-26)
67
68
69### Features
70
71* add multi gate way ([7eda0a1](https://github.com/hosseinmd/swagger-typescript/commit/7eda0a1fc726bba4692fd6c7b13e0c2598731311))
72
73
74### Bug Fixes
75
76* compare use query list ([50c3d81](https://github.com/hosseinmd/swagger-typescript/commit/50c3d81e0685ade62eaf790c97fbd442c9032ece))
77
78## [5.8.0](https://github.com/hosseinmd/swagger-typescript/compare/v5.6.6...v5.8.0) (2021-12-13)
79
80
81### Features
82
83* add generateEnumAsType to generate type insstead of enum ([429385b](https://github.com/hosseinmd/swagger-typescript/commit/429385b3bd6421907c9a118d8e353b2d91d7a707))
84
85
86### Bug Fixes
87
88* ignore tls auth ([ad80ffa](https://github.com/hosseinmd/swagger-typescript/commit/ad80ffab2a2193aad6df81612a5b352e49db74ef))
89
90## [5.7.0](https://github.com/hosseinmd/swagger-typescript/compare/v5.6.6...v5.7.0) (2021-12-06)
91
92
93### Features
94
95* add generateEnumAsType to generate type insstead of enum ([429385b](https://github.com/hosseinmd/swagger-typescript/commit/429385b3bd6421907c9a118d8e353b2d91d7a707))
96
97### [5.6.6](https://github.com/hosseinmd/swagger-typescript/compare/v5.6.5...v5.6.6) (2021-12-04)
98
99
100### Bug Fixes
101
102* add headerParam ([6b27890](https://github.com/hosseinmd/swagger-typescript/commit/6b278900b222124c85d71163103ada0a11adda43))
103* add patch to http request ([dd263e3](https://github.com/hosseinmd/swagger-typescript/commit/dd263e3d6792a539e85f899f8cba12f8f1e4a22c))
104
105### [5.6.5](https://github.com/hosseinmd/swagger-typescript/compare/v5.6.4...v5.6.5) (2021-11-16)
106
107
108### Bug Fixes
109
110* optional _extraVariables ([cf04c84](https://github.com/hosseinmd/swagger-typescript/commit/cf04c8440e08c71e344d122c90c0ade2e1d16378))
111
112### [5.6.4](https://github.com/hosseinmd/swagger-typescript/compare/v5.6.2...v5.6.4) (2021-11-15)
113
114
115### Bug Fixes
116
117* bug when servers is empty array ([8a37c22](https://github.com/hosseinmd/swagger-typescript/commit/8a37c229d51f0d8bb2e71ed862ae2360253c19d2))
118* change schema to nullable ([#31](https://github.com/hosseinmd/swagger-typescript/issues/31)) ([8693b05](https://github.com/hosseinmd/swagger-typescript/commit/8693b05be66175b43499c9f0ca1f140652ad0173))
119* readme ([0489b32](https://github.com/hosseinmd/swagger-typescript/commit/0489b32280b00c078b0d717ede2b26b8c0e9a396))
120
121## [5.6.0](https://github.com/hosseinmd/swagger-typescript/compare/v5.5.0...v5.6.0) (2021-10-27)
122
123
124### Features
125
126* handle prefetch ([345c77e](https://github.com/hosseinmd/swagger-typescript/commit/345c77e2565ad7d117e8edc78540a881bbc64e06))
127
128## [5.5.0](https://github.com/hosseinmd/swagger-typescript/compare/v5.4.2...v5.5.0) (2021-10-20)
129
130
131### Features
132
133* add local update ([3ccb67e](https://github.com/hosseinmd/swagger-typescript/commit/3ccb67eca5c0c501610285a6c8da732260101212))
134
135## [5.4.0](https://github.com/hosseinmd/swagger-typescript/compare/v5.3.3...v5.4.0) (2021-10-20)
136
137
138### Features
139
140* create useHasMore ([776156d](https://github.com/hosseinmd/swagger-typescript/commit/776156d5251f05c23b942a83c0cda84bf5819b99))
141
142### [5.3.3](https://github.com/hosseinmd/swagger-typescript/compare/v5.3.1...v5.3.3) (2021-10-16)
143
144
145### Bug Fixes
146
147* add getPageSize function ([#29](https://github.com/hosseinmd/swagger-typescript/issues/29)) ([927714d](https://github.com/hosseinmd/swagger-typescript/commit/927714d0200e07e7a40451f2bfd04b03a7e3de71))
148* get total type error ([ba695bb](https://github.com/hosseinmd/swagger-typescript/commit/ba695bb1d128b2acb976fe80cc3bc95f6e733b31))
149* split hooksConfig from main config ([b77e622](https://github.com/hosseinmd/swagger-typescript/commit/b77e622c6805a6dc2e9c47b8718d13b69bd9abd5))
150
151### [5.3.1](https://github.com/hosseinmd/swagger-typescript/compare/v5.3.0...v5.3.1) (2021-10-11)
152
153### Bug Fixes
154
155- has more types ([#28](https://github.com/hosseinmd/swagger-typescript/issues/28)) ([7f5d053](https://github.com/hosseinmd/swagger-typescript/commit/7f5d053ed746df747ed15599cdee493ba10bae0f))
156
157## [5.3.0](https://github.com/hosseinmd/swagger-typescript/compare/v5.2.0...v5.3.0) (2021-10-11)
158
159### Features
160
161- add extra variables to mutation ([e8589e6](https://github.com/hosseinmd/swagger-typescript/commit/e8589e681e5032933c0476caaf6cfdb3b0a04476))
162
163## [5.2.0](https://github.com/hosseinmd/swagger-typescript/compare/v5.1.1...v5.2.0) (2021-10-11)
164
165### Features
166
167- add hasmore to useinfinitequery ([#26](https://github.com/hosseinmd/swagger-typescript/issues/26)) ([4f516bf](https://github.com/hosseinmd/swagger-typescript/commit/4f516bfb3c9a7762a896d6bc6db12fb04e3d0954))
168
169### Bug Fixes
170
171- config bugs ([65b3d79](https://github.com/hosseinmd/swagger-typescript/commit/65b3d79a7b2d341bf5baabfcc8c63f0fd5feeab1))
172- infinity flatten map type ([81a8f56](https://github.com/hosseinmd/swagger-typescript/commit/81a8f569b353721806d468aff759730f26b36c2d))
173- remove unused types ([05213fe](https://github.com/hosseinmd/swagger-typescript/commit/05213fea549d137b4a201ee0c60eb4818adca554))
174
175### [5.1.1](https://github.com/hosseinmd/swagger-typescript/compare/v5.1.0...v5.1.1) (2021-10-10)
176
177### Bug Fixes
178
179- add paginationFlattenData ([5ca185c](https://github.com/hosseinmd/swagger-typescript/commit/5ca185c2960e5c4f825162cfc4f69554c41ed7f6))
180
181## [5.1.0](https://github.com/hosseinmd/swagger-typescript/compare/v5.0.0...v5.1.0) (2021-10-09)
182
183### Features
184
185- add useQuery ([f9f7fbf](https://github.com/hosseinmd/swagger-typescript/commit/f9f7fbfe835b46ffc5cff02b08c02862dd2b5a97))
186
187### Bug Fixes
188
189- infinity query ([119b295](https://github.com/hosseinmd/swagger-typescript/commit/119b295add42d49e14fe10aaff47d11c831ac99c))
190- mutation options types ([23c2ae7](https://github.com/hosseinmd/swagger-typescript/commit/23c2ae7fdfd8c0e2fccdd5369aed1a580ca7dca6))
191
192## [5.0.0](https://github.com/hosseinmd/swagger-typescript/compare/v4.12.2...v5.0.0) (2021-10-01)
193
194### ⚠ BREAKING CHANGES
195
196- should change imports from services to types.ts
197
198### Features
199
200- generate useMutation for mutable apis ([600ef47](https://github.com/hosseinmd/swagger-typescript/commit/600ef473bb73d6a0f0def4efd47ec6039665b7c7))
201- move types to types.ts ([04e79f0](https://github.com/hosseinmd/swagger-typescript/commit/04e79f030847050ce556ffc225e4f03d8925bbf0))
202
203### Bug Fixes
204
205- missed imports ([43d3d18](https://github.com/hosseinmd/swagger-typescript/commit/43d3d181437719c3a2869081856d8a22f9c8d09c))
206
207### [4.12.3](https://github.com/hosseinmd/swagger-typescript/compare/v4.12.2...v4.12.3) (2021-09-28)
208
209### Bug Fixes
210
211- missed imports ([43d3d18](https://github.com/hosseinmd/swagger-typescript/commit/43d3d181437719c3a2869081856d8a22f9c8d09c))
212
213### [4.12.1](https://github.com/hosseinmd/swagger-typescript/compare/v4.12.0...v4.12.1) (2021-09-26)
214
215### Bug Fixes
216
217- hooks swaggerResponse ([b3b6e9e](https://github.com/hosseinmd/swagger-typescript/commit/b3b6e9eec0e0c13445e503bf4db3811c926e4d83))
218
219## [4.12.0](https://github.com/hosseinmd/swagger-typescript/compare/v4.11.7...v4.12.0) (2021-09-26)
220
221### Features
222
223- generate react hooks ([09fc634](https://github.com/hosseinmd/swagger-typescript/commit/09fc6341f0ce582964db6c9135de00b93bb4c3db))
224
225### Bug Fixes
226
227- nullable and required ([b9480c3](https://github.com/hosseinmd/swagger-typescript/commit/b9480c3d440aeae9528d74f16628dfb69b455d54))
228- requestError to new typescript mode ([675509c](https://github.com/hosseinmd/swagger-typescript/commit/675509cc3a9a239cb8aee599cae66ab2fe63de56))
229
230### [4.11.7](https://github.com/hosseinmd/swagger-typescript/compare/v4.11.6...v4.11.7) (2021-09-18)
231
232### Bug Fixes
233
234- support openapi 3 required and nullable ([09d6c1e](https://github.com/hosseinmd/swagger-typescript/commit/09d6c1e73889c3bdcafe119d1fe68571253fdd92))
235
236### [4.11.6](https://github.com/hosseinmd/swagger-typescript/compare/v4.11.5...v4.11.6) (2021-09-15)
237
238### Bug Fixes
239
240- fix prettier format for json files ([#25](https://github.com/hosseinmd/swagger-typescript/issues/25)) ([148a509](https://github.com/hosseinmd/swagger-typescript/commit/148a509b6cd63b0293d0005534fff41507a3f59c))
241
242### [4.11.5](https://github.com/hosseinmd/swagger-typescript/compare/v4.11.4...v4.11.5) (2021-08-06)
243
244### Bug Fixes
245
246- handle application/x-www-form-urlencoded ([e5a46d8](https://github.com/hosseinmd/swagger-typescript/commit/e5a46d822f259b5e0fa8b6a3985d6eb886205431))
247- remove useless async ([dbb9cc4](https://github.com/hosseinmd/swagger-typescript/commit/dbb9cc40b25ea9d3e42a841ea03392f76e09ec01))
248
249## [4.11.0](https://github.com/hosseinmd/swagger-typescript/compare/v4.10.2...v4.11.0) (2021-06-19)
250
251### Features
252
253- add partial Update sswagger based on tag ([8011266](https://github.com/hosseinmd/swagger-typescript/commit/8011266286f21756beeeee9233a2ab86b11f1c44))
254
255### [4.10.2](https://github.com/hosseinmd/swagger-typescript/compare/v4.10.1...v4.10.2) (2021-06-12)
256
257### Bug Fixes
258
259- remove useless char from models name ([e3ec1e1](https://github.com/hosseinmd/swagger-typescript/commit/e3ec1e16b7a7e0a7a936a34937a0beeffadbf915))
260
261### [4.10.1](https://github.com/hosseinmd/swagger-typescript/compare/v4.10.0...v4.10.1) (2021-06-02)
262
263### Bug Fixes
264
265- http request type ([f32b665](https://github.com/hosseinmd/swagger-typescript/commit/f32b66531019bb1950a37d14aa43b8ab12af726f))
266
267## [4.10.0](https://github.com/hosseinmd/swagger-typescript/compare/v4.9.3...v4.10.0) (2021-05-25)
268
269### Features
270
271- add key to services function ([4e0820b](https://github.com/hosseinmd/swagger-typescript/commit/4e0820b7eaf91201a5e9cda3d786720d17b3d71c))
272
273### [4.9.3](https://github.com/hosseinmd/swagger-typescript/compare/v4.9.2...v4.9.3) (2021-05-22)
274
275### Bug Fixes
276
277- interfaces ([077f77f](https://github.com/hosseinmd/swagger-typescript/commit/077f77fbb644fed69d829a5a17cb9f957d17b1d4))
278
279### [4.9.2](https://github.com/hosseinmd/swagger-typescript/compare/v4.9.1...v4.9.2) (2021-05-18)
280
281### Bug Fixes
282
283- resolve maped type ([0809413](https://github.com/hosseinmd/swagger-typescript/commit/0809413cd9f680ac02d93a55f5c6161e86e2311e))
284
285### [4.9.1](https://github.com/hosseinmd/swagger-typescript/compare/v4.9.0...v4.9.1) (2021-05-16)
286
287### Bug Fixes
288
289- httpRequest type ([00f4a12](https://github.com/hosseinmd/swagger-typescript/commit/00f4a128c04354cd9dcc9f6220da6c8fb61084e8))
290
291## [4.9.0](https://github.com/hosseinmd/swagger-typescript/compare/v4.8.0...v4.9.0) (2021-04-28)
292
293### Features
294
295- support cancelToken ([87ac541](https://github.com/hosseinmd/swagger-typescript/commit/87ac541a1b3709cf1f84cc6fcb39fff02c6906c5))
296
297### Bug Fixes
298
299- bug ([c57cdde](https://github.com/hosseinmd/swagger-typescript/commit/c57cdde44e0180c5a537da3044143af48ce805ec))
300
301## [4.8.0](https://github.com/hosseinmd/swagger-typescript/compare/v4.7.0...v4.8.0) (2021-03-05)
302
303### Features
304
305- generate response mocks ([5b2d148](https://github.com/hosseinmd/swagger-typescript/commit/5b2d148d9f911ac9c54fb7d446e314b855e726da))
306
307### Bug Fixes
308
309- **mock:** binary response and enum in object ([f6dfbcc](https://github.com/hosseinmd/swagger-typescript/commit/f6dfbcc964b0af207af2ae65b4ead6d981d0c19b))
310- description ([f3afab7](https://github.com/hosseinmd/swagger-typescript/commit/f3afab7876bd93e42f0ce9a9f5b6c6be9ba74138))
311
312## [4.7.0](https://github.com/hosseinmd/swagger-typescript/compare/v4.6.0...v4.7.0) (2021-01-28)
313
314### Features
315
316- add prefix to swagger.config ([bb99b35](https://github.com/hosseinmd/swagger-typescript/commit/bb99b354db3865f2d7eb11b2d8c20ad8ce5f9ed9))
317
318### Bug Fixes
319
320- resolve x-enumNames ([39ac424](https://github.com/hosseinmd/swagger-typescript/commit/39ac424c125014919c6e4d36e715fa636c7c5365))
321
322## [4.6.0](https://github.com/hosseinmd/swagger-typescript/compare/v4.5.0...v4.6.0) (2021-01-27)
323
324### Features
325
326- support swagger v2 ([daae12a](https://github.com/hosseinmd/swagger-typescript/commit/daae12a8f2fa22553cf628f9ea680a64e66e0f9f))
327
328### Bug Fixes
329
330- formData typescript ([49caa25](https://github.com/hosseinmd/swagger-typescript/commit/49caa25a46bda0407740b3cc5ab493d78ec92ff3))
331
332## [4.5.0](https://github.com/hosseinmd/swagger-typescript/compare/v4.4.2...v4.5.0) (2021-01-20)
333
334### Features
335
336- add methodParamsByTag ([ebc8b58](https://github.com/hosseinmd/swagger-typescript/commit/ebc8b58416f8fcf3c7fd8b05ce4e5938f6bc689d))
337
338## [4.4.0](https://github.com/hosseinmd/swagger-typescript/compare/v4.3.0...v4.4.0) (2021-01-15)
339
340### Features
341
342- reguestBody to formData multipart/form-data ([37a83c2](https://github.com/hosseinmd/swagger-typescript/commit/37a83c29ba6c3813b415a7f2536dbcb28189d43c))
343
344## [4.3.0](https://github.com/hosseinmd/swagger-typescript/compare/v4.2.1...v4.3.0) (2021-01-07)
345
346### Features
347
348- export generator ([8c3147c](https://github.com/hosseinmd/swagger-typescript/commit/8c3147c2ce986d68b4c9fd7c40f14a2644a79ee1))
349
350### [4.2.1](https://github.com/hosseinmd/swagger-typescript/compare/v4.2.0...v4.2.1) (2020-12-30)
351
352### Bug Fixes
353
354- syntax error when generating signalr ([be9ac3f](https://github.com/hosseinmd/swagger-typescript/commit/be9ac3feffc83e088cd18574234f10c1029bd83a))
355
356## [4.2.0](https://github.com/hosseinmd/swagger-typescript/compare/v4.1.1...v4.2.0) (2020-12-30)
357
358### Features
359
360- generate signalr hub interface ([9e58f32](https://github.com/hosseinmd/swagger-typescript/commit/9e58f32884324944df7ea38cb580477aab628a63))
361
362### [4.1.1](https://github.com/hosseinmd/swagger-typescript/compare/v4.1.0...v4.1.1) (2020-12-26)
363
364### Bug Fixes
365
366- set url to optional ([5273ff7](https://github.com/hosseinmd/swagger-typescript/commit/5273ff7aae0abe0dcf069a79b818e5d170302bba))
367
368## [4.1.0](https://github.com/hosseinmd/swagger-typescript/compare/v4.0.13...v4.1.0) (2020-12-26)
369
370### Features
371
372- support signalR json ([bcf78fc](https://github.com/hosseinmd/swagger-typescript/commit/bcf78fc3f99fede3fefc8a492a4687f4d59c2748))
373
374### [4.0.13](https://github.com/hosseinmd/swagger-typescript/compare/v4.0.12...v4.0.13) (2020-12-22)
375
376### Bug Fixes
377
378- add tsc-prog to dependencies ([b8d9585](https://github.com/hosseinmd/swagger-typescript/commit/b8d9585cdf7d54ce65f221b5862b7dd435364a33))
379
380### [4.0.12](https://github.com/hosseinmd/swagger-typescript/compare/v4.0.10...v4.0.12) (2020-12-16)