Releases: swaggo/swag
Releases · swaggo/swag
v2.0.0-rc4
Changelog
- ce8b32c Add option to set template delimiters (#1499)
- 6700370 Feat openapiv3 oneof (#1870)
- 0709499 Feat servers variables of current spec (#1612)
- 33441d9 Implementing OpenAPI 3.1.0 spec (#1513)
- d76b289 Implementing OpenAPI 3.1.0 spec (#1513)
- b980cd9 Implementing OpenAPI 3.1.0 spec (#1513)
- e3bb142 Implementing OpenAPI 3.1.0 spec (#1513)
- 5b930d4 Merge branch 'v2' into v2-merge
- 2fa63cf Merge pull request #1907 from swaggo/v2-merge
- 5a2adc0 Merge remote-tracking branch 'origin/v2' into v2
- 687052e Revert "Support openapiV3 oneOf for fields/responses (#1671)" (#1699)
- 37834cd Revert "merge master to v2 (#1903)" (#1906)
- 6e63ab7 Support accept Header & Use RequestBody (#1541)
- 8f63cde Support openapiV3 oneOf for fields/responses (#1671)
- a3046bf Update README_zh-CN.md (#1545) (#1546)
- c7b796d V2: Add Servers param (#1573)
- 9a872fb V2: Fix template delims (#1572)
- acb0508 V2: Fix tests after module upgrade (#1557)
- 21247c7 V2: Support produce comment (#1551)
- ff9485a V2: Update Makefile (#1560)
- 44b59ad V2: upgrade modulename to v2 (#1552)
- bc4852b add support for servers on operation level for 3.1 (#1923)
- b060856 chore: add v2 to ci (#1532)
- 601fee1 chore: add v2 to ci (#1532)
- 45df9a3 chore: fix unit tests after merging #1499 (#1558)
- 17cc743 chore: linting code (#1533)
- 4d56898 chore: linting code (#1533)
- 72d07cd chore: linting code (#1533)
- 6d1a872 chore: refactor code (#1539)
- 677b4c2 chore: refactor code (#1539)
- 7ab1219 chore: remove GOPATH support and go1.17 (#1536)
- 27719cd chore: remove GOPATH support and go1.17 (#1536)
- 7394a48 chore: replace github.com/ghodss/yaml with sigs.k8s.io/yaml (#1520) (#1538)
- 5a199fc feat: add securitydefinitions.bearerauth for bearer token setting (#1854)
- c85d570 fix bug: enums of explicit type conversion (#1556)
- 60ef6b7 fix bug: enums of underscored number (#1581) (#1592)
- 36c14a4 fix some issues
- 6106783 fix unit tests
- 86df652 fix: avoid shadowed variable on operationv3 (#1680)
- ef38f54 fix: fix merge error caused by 2fa63cf (#1912)
- 37dac67 fix: fixed definition parsing for alias types (#1688)
- 543e18b implement pattern tag (#1553)
- 7b50e07 merge master to v2 (#1903)
v1.16.4
Changelog
- 85254b4 Added multiline support for @description attribute for securityDefinitions (#1786)
- 7204462 Added suport for parsing comments inside of function bodies (#1824)
- d323b48 Feat: Add support for parenthesis in router patterns (#1859)
- 15dae35 Feat: multi-arch docker image (#1756)
- 83fe3ca Fix generics used with function scoped types (#1883)
- ff50cd6 Fix global overrides for any/interface ref types (#1835)
- 1d730c5 Fix param comment escaping issue (#1890)
- 697572a Fixes Issue 1829 (#1830)
- 28de14c Flags to parse internal and dependency package (#1894)
- 4c2f8dd Handle case of empty GOROOT (#1798)
- 87e7d9c Update docker go build version to 1.21 (#1758)
- 4fd8a36 Update docs for request and response headers (#1825)
- 56fde5c Update operation.go (#1753)
- 807dd1f [Issue 1812] fix misalignment in expected.json and api.go messing with parser_test (#1836)
- 91624ad add support for "title" tag (#1762)
- f32d4d3 adds support for complex types with function scope (#1813)
- c7f1cd8 adds support for pointer function scoped fields (#1841)
- 8a47dcb bump go version (#1797)
- 0834357 chore(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 (#1793)
- 1bb1445 chore(deps): bump golang.org/x/net in /example/celler (#1794)
- 6aa6613 chore(deps): bump golang.org/x/net in /example/go-module-support (#1795)
- d5af957 chore(deps): bump golang.org/x/net in /example/markdown (#1792)
- 0368d7d chore(deps): bump golang.org/x/net in /example/object-map-example (#1796)
- b8662de chore(deps): bump google.golang.org/protobuf (#1773)
- 4a11e23 chore(deps): bump google.golang.org/protobuf (#1774)
- 937c239 chore(deps): bump google.golang.org/protobuf in /example/celler (#1775)
- 103ac42 chore: Update ci.yml (#1902)
- 90aa46f chore: fix some typos in comments (#1788)
- e55c557 feat: read from stdin, write to stdout (#1831) (#1832)
- fd2fa83 fix issue: #1780: filter $GOROOT path (#1827)
- 10030b0 fix parse nested structs and aliases (#1866)
- 7159b0f fix: failing assert in enums test on 32bit (#1634)
- 928264c fix: remove dropped tags from general infos (#1764)
- a74d34c fix:parse all field names declared in a row (#1872)
- 0b9e347 new release (#1901)
- a3c6d12 support markdown description for declaration (#1893)
- 9069105 update README (#1856)
v1.16.3
Changelog
- 7147984 Feat: Support generic with map params (#1746)
- ae7e404 Fix: Trim tab spaces from @scope annotations (#1744)
- d4218f2 Feat: Struct fields supported for header and path param types (#1740)
- 76695ca Fix: TrimRight
[]
on an array filed json name to compatible with ts codegen (#1706) - 7603121 Feat: Add flag state to generate operations with different state into different docs (#1629)
- 0fb6820 Feat: Deprecate some parts of routers in an operation (#1735)
- 744a58e Drop support for go v1.17.x (#1723)
- 6cdaaf5 Fix: Find definitions from external packages first (#1666)
- 0ade78c Enhancement: Improve docker container usage (#1704)
- 2da9651 Fix: nil supported in combined response object(#1667)
v1.16.2
Changelog
- f05ccdc add byte check before and after file is formatted (#1637)
- 7534a13 add cli flag --pdl to determine whether parse operations in dependency (#1605)
- 21d34e2 add retract to fix proxy cache caused by accidentally pushed tags (#1562)
- b2f325f chore(deps): bump github.com/gin-gonic/gin (#1598)
- 8e5b314 chore(deps): bump github.com/gin-gonic/gin in /example/celler (#1599)
- c8372f6 chore(deps): bump github.com/gin-gonic/gin in /example/go-module-support (#1600)
- 23c9b5c chore(deps): bump gopkg.in/yaml.v3 (#1663)
- 8ebf32f docs(readme): fix param brace (#1647)
- 27b27bd enchancement: report which property is triggering a parsing error (#1439)
- d0f9dc5 feat: add --packagePrefix=P for only parse packages matched by prefix P (#1582)
- 1bf0078 feat: global security (#1620)
- 9f128b4 feat: preserve file permission when write formatted files (#1636)
- ea35767 fix bug: enums of underscored number (#1581)
- 0cee1c5 fix required params parsing for routes with multiple paths and multiple params (#1621)
- e73a0d0 fix using tab (\t) as separator for custom type names (#1594)
- 4536bf2 fix: enums in body got parse incorrectly (#1625)
- e749ad5 fix: lint error for generated docs.go (#1583)
- 575963e parse binary literal const (#1593)
- fe971d2 parser: if all tags negate return true on no hits (#1624)
- e9d0aa5 yaml.v3 security patch (#1664)
v2.0.0-rc3
v2.0.0-rc2
What's Changed
- Implementing OpenAPI 3.1.0 spec by @Nerzal in #1513
- chore: add v2 to ci by @ubogdan in #1532
- chore: linting code by @ubogdan in #1533
- Add option language Portuguese in readme by @Paulo-Lopes-Estevao in #1531
- chore: remove GOPATH support and go1.17 by @ubogdan in #1536
- chore: replace github.com/ghodss/yaml with sigs.k8s.io/yaml (#1520) by @ubogdan in #1538
- chore: refactor code by @ubogdan in #1539
- Support accept Header & Use RequestBody by @Nerzal in #1541
- Update README_zh-CN.md (#1545) by @ubogdan in #1546
- V2: Support produce comment by @Nerzal in #1551
- V2: upgrade modulename to v2 by @Nerzal in #1552
- V2: Implement pattern tag by @Nerzal in #1553
- V2: Fix tests after module upgrade by @Nerzal in #1557
- chore: fix unit tests after merging #1499 by @ubogdan in #1558
Full Changelog: v2.0.0-beta...v2.0.0-rc2
v2.0.0-rc1
Changelog
- 0224a8b Add option language Portuguese in readme (#1531)
- 122a2e2 FIX generics like type JSON[K,V string] map[K]V (#1509)
- b980cd9 Implementing OpenAPI 3.1.0 spec (#1513)
- 5a2adc0 Merge remote-tracking branch 'origin/v2' into v2
- 6e63ab7 Support accept Header & Use RequestBody (#1541)
- a3046bf Update README_zh-CN.md (#1545) (#1546)
- 21247c7 V2: Support produce comment (#1551)
- 44b59ad V2: upgrade modulename to v2 (#1552)
- 601fee1 chore: add v2 to ci (#1532)
- ea779b8 chore: drop support for go 1.16 (#1518)
- 72d07cd chore: linting code (#1533)
- 677b4c2 chore: refactor code (#1539)
- 27719cd chore: remove GOPATH support and go1.17 (#1536)
- 7ab1219 chore: remove GOPATH support and go1.17 (#1536)
- 314d61f chore: replace
github.com/ghodss/yaml
withsigs.k8s.io/yaml
(#1520) - 7394a48 chore: replace github.com/ghodss/yaml with sigs.k8s.io/yaml (#1520) (#1538)
- c9bca77 fix field of enum type as formdata (#1511)
- 543e18b implement pattern tag (#1553)
- e67c965 transform struct fields of array enum type in a struct to query/formData params (#1523)
v2.0.0-beta
v1.8.12
v1.8.11
Changelog
- 9a0a669 Added file data type (#1424)
- 37f466e Support externalDocs annotation comment (#1468)
- 19ddb4d Use form tags when available (#1422)
- 0524687 additional error message when parsing type definition (#1488)
- b47f4ef chore(deps): bump golang.org/x/net (#1492)
- 85a35b4 chore(deps): bump golang.org/x/net in /example/celler (#1495)
- efd70ff chore(deps): bump golang.org/x/net in /example/go-module-support (#1494)
- 9dbff61 chore(deps): bump golang.org/x/net in /example/markdown (#1491)
- fcffae2 chore(deps): bump golang.org/x/net in /example/object-map-example (#1493)
- 09f373f chore(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 (#1473)
- 0472c53 chore(deps): bump golang.org/x/text in /example/celler (#1472)
- 9faf8b3 chore(deps): bump golang.org/x/text in /example/go-module-support (#1474)
- aa3e8d5 chore: update deprecated options in goreleaser.yml for 1.4.x compatibility (#1450)
- aaa681e chore: update version.go (#1507)
- f56e0bb feat: ADD collection format flag (#1482)
- f475da2 feat: add packageName option for docs.go (#1442)
- d2bc3d0 fix alias type of generic with multi formal params (#1505)
- 8445e75 fix generic type that has more than 2 params with only one constraint type (#1506)
- 9e4a292 fix: generated doc.go first line cmt leading dot (#1480)
- 566b8af if the top type name is any or interface{}, don't use allOf (#1421)
- 3f0a4b0 support form tag (#1502)