Skip to content

Releases: swaggo/swag

v1.8.9

15 Dec 22:34
4ccbeaf
Compare
Choose a tag to compare

Changelog

a10fb9a Just optimize code about parsing extensions (#1399)
4ccbeaf chore: increment version (#1423)
8139731 chore: parse escaped double colon (\:) example struct tag (#1402)
2c530ea chore: release candidate (#1403)
e3151c1 chore: release candidate (#1404)
e50db3e enhancement for enums (#1400)
7c20f30 feat: parse only specific extension tag (#1219)
80d5221 feat: support json tags in embedded structs (#1396)
4519064 feat: use enums in request (#1417)
9a4fa5d fix issue 1414 (#1419)
30684a2 fix parsing bug affected by fmt (#1398)
7867c24 fix: don't error on empty comment line (#1415)
dfce6c8 parse self-nested generic struct (#1420)
ba5df82 record token.FileSet for every file so that the position of parsing error can be acquired (#1393)
3fe9ca2 revert docker login-action (#1405)

v1.8.9-rc3

12 Dec 17:58
dfce6c8
Compare
Choose a tag to compare

Changelog

97634c6 chore: v1.8.9-rc3
7c20f30 feat: parse only specific extension tag (#1219)
4519064 feat: use enums in request (#1417)
9a4fa5d fix issue 1414 (#1419)
7867c24 fix: don't error on empty comment line (#1415)
dfce6c8 parse self-nested generic struct (#1420)
3fe9ca2 revert docker login-action (#1405)

v1.8.9-rc2

02 Dec 23:19
e3151c1
Compare
Choose a tag to compare

Changelog

a10fb9a Just optimize code about parsing extensions (#1399)
8139731 chore: parse escaped double colon (\:) example struct tag (#1402)
2c530ea chore: release candidate (#1403)
e3151c1 chore: release candidate (#1404)
e50db3e enhancement for enums (#1400)
80d5221 feat: support json tags in embedded structs (#1396)
30684a2 fix parsing bug affected by fmt (#1398)
ba5df82 record token.FileSet for every file so that the position of parsing error can be acquired (#1393)

v1.8.8

23 Nov 20:58
362d05b
Compare
Choose a tag to compare

Changelog

07690e9 Add check for nil otherTypeDef (#1372)
eaed517 Enhancements: search imports sequencely, till find the type. (#1374)
0da94ff Fix generics with package alias (#1360)
29d3d30 add properties to $ref (#1391)
362d05b chore: increment version.go (#1395)
da6d718 chore: update GitHub actions (#1362)
e5d507d enhancement for PR #1387: evaluate const across packages (#1388)
e6723fe feat: add flag to generate documentation only for specific tags (#1379)
38b5f15 feat: make swagger comments more readable for go doc (#1366)
8117f4c fix: wrongly shared schema by fields (#1389)
829fbe1 fmt cmd: use a tab instead of two spaces to format comments (#1386)
bdfec2b parse global enums (#1387)

v1.8.7

17 Oct 20:36
277a278
Compare
Choose a tag to compare

Changelog

f8d59d6 Bump golang.org/x/tools dependency version (#1338)
7f90377 Fix generics issue #1345 (#1349)
e4f0129 chore: drop go1.15 support (#1331)
277a278 chore: increment version (#1350)
74e96c9 feat. add support formData []file (#1332)
04c699c fix issue #1346 about generics (#1348)
075c176 refactor: move from io/ioutil to io and os packages (#1334)

v1.8.6

17 Sep 19:24
5fbb18f
Compare
Choose a tag to compare

Changelog

bc895ed Fix formatting crosstalk (#1317)
c9385a8 build a docker image and push to ghcr.io (#1329)
5fbb18f chore: update version (#1330)
cf1c4a7 fix: Generic Fields does not handle Arrays (#1311)
b8f53da fix: Generic Fields does not handle Arrays in the .swaggo file (#1322)
2cd7ab5 fix: Generics not detected if name does not contain a pkg path (#1328)
007219f fix: funcDeclaration body check (#1310)
e7ccdf4 refactor func splitStructName (#1313)

v1.8.5

25 Aug 20:51
a3935c5
Compare
Choose a tag to compare

Changelog

2f148dd Extended generics support (#1277)
23661ef chore: set CGO_ENABLED=0 for goreleaser to avoid dynamic linking (#1293)
732c087 doc: add function scoped struct declaration example (#1296)
45f01a1 feat: add function scoped struct parse (#1283)
cf03796 feat: get swagger instance from register (#1298)
af1c525 fix: Go generics cannot find common package object type definition (#1281)
9d34a76 fix: Nested generic fields not fully working, if generic type is from… (#1305)

v1.8.4

19 Jul 09:32
cc25410
Compare
Choose a tag to compare

Changelog

bd21bb0 Fix issue #1150 (#1248)
401e414 doc: add missing web frameworks (#1263)
a566490 feat: add default description to code if none is provided (#1239)
a780e45 feat: default required option for struct fields (#1181)
213f6b8 feat: permit error (and any) interface definition (#1212)
89c61d4 feat: suppress debug logs when using -q (#1254)
0e2ec6c feat: use early overrides to allow converting unsupported types. (#1209)
1cd0b53 fix: don't skip ".." directory (#1238)
8de9952 fix: generic arrays generate successfully (#1247)
796a346 fix: temp dir to be the same as SerchDir to avoid invalid cross-device link (#1203) (#1241)

v1.8.3

16 Jun 09:44
f09eaa1
Compare
Choose a tag to compare

Changelog

f09eaa1 chore: cleanup generics_test.go (#1231)
b736c5f chore: increment version (#1230)
e767abb chore: refactor parser (#1191)
5f6b402 feat: Improve performance when generating spec with external dependencies (#1108)
3b580a0 feat: add --quiet=true for swag init, make the debug logger quiet. (#1206)
ff41d9c feat: add basic generics support (#1225)
3cedab9 fix: README_zh-CN.md translate bug (#1202)
67cb768 fix: array enum varnames in arrays (#1187)

v1.8.2

14 May 20:42
c7cb3fd
Compare
Choose a tag to compare

Changelog

c7cb3fd chore: update @produce comments (#1196)
36ae7af chore: remove gomonkey dependency from formatter (#1192)
47d5a76 chore: updating dependencies (#1190)
5f6c5f8 impr: add param example to readme (#1189)
636f456 chore: improve code quality (#1184)
90170b9 chore(deps): bump github.com/swaggo/http-swagger in /example/markdown (#1185)
d209f71 added security definition description (#1174)