Update module github.com/swaggo/swag to v1.16.6
This MR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| github.com/swaggo/swag |
v1.8.12 -> v1.16.6
|
Release Notes
swaggo/swag (github.com/swaggo/swag)
v1.16.6
What's Changed
- fix: prevent nil pointer dereference in getFuncDoc when parsing depen… by @gatorjuice in #2044
- fix: router with tilde #2004 by @subwiz in #2005
- Feature: allow enum ordered const name override (2nd MR for this) by @drewsilcock in #2046
- Use the structs name without the @name comment by @skast96 in #2043
- feat: allow description line continuation by @berk-karaal in #2048
New Contributors
- @gatorjuice made their first contribution in #2044
- @subwiz made their first contribution in #2005
- @drewsilcock made their first contribution in #2046
- @skast96 made their first contribution in #2043
Full Changelog: https://github.com/swaggo/swag/compare/v1.16.5...v1.16.6
v1.16.5
What's Changed
- Added support for @tag.x- attributes for tags (#1784) by @Ponywka in #1785
- feat: Add x-enum-descriptions to generated Swagger documentation for Enum by @wakamenod in #1878
- fix: use '&&' for security pair(AND) by @kkkiio in #1659
- feat: ParseComment error to contain the comment by @stokito in #1777
- support generate var-declared function doc by @book987 in #1657
- Fix compare original and formatted by @0daryo in #1915
- Transfer golang type to swagger type with format reserved by @sdghchj in #1944
- Fix format by goimports by @0daryo in #1927
- chore(deps): bump golang.org/x/crypto from 0.21.0 to 0.31.0 in /example/object-map-example by @dependabot[bot] in #1945
- fix: @name for recursion by @njacob1001 in #1948
- Fix typo error in README by @yashisrani in #1954
- Extension: collectionFormat in struct tag by @sdghchj in #1989
- chore: accept event streaming by @miguelhrocha in #1992
- Non-empty stderr for
go listis not an error in itself by @atercattus in #1981 - Updated golang/x/text v0.21, x/tools v0.21 to address CVE-2024-45338 in net v0.23 by @blame19 in #1962
- Remove redundant
(default: false)for parseFuncBody flag by @nikpivkin in #1961 - chore(deps): bump golang.org/x/crypto from 0.21.0 to 0.31.0 in /example/celler by @dependabot[bot] in #1993
- fix(test): include
runetest in enums tests by @sharunkumar in #2025 - feat: json:omitempty marks field as optional by @andyatmiami in #2041
New Contributors
- @wakamenod made their first contribution in #1878
- @stokito made their first contribution in #1777
- @book987 made their first contribution in #1657
- @njacob1001 made their first contribution in #1948
- @yashisrani made their first contribution in #1954
- @miguelhrocha made their first contribution in #1992
- @atercattus made their first contribution in #1981
- @blame19 made their first contribution in #1962
- @sharunkumar made their first contribution in #2025
- @andyatmiami made their first contribution in #2041
Full Changelog: https://github.com/swaggo/swag/compare/v1.16.4...v1.16.5
v1.16.4
Changelog
-
85254b4Added multiline support for @description attribute for securityDefinitions (#1786) -
7204462Added suport for parsing comments inside of function bodies (#1824) -
d323b48Feat: Add support for parenthesis in router patterns (#1859) -
15dae35Feat: multi-arch docker image (#1756) -
83fe3caFix generics used with function scoped types (#1883) -
ff50cd6Fix global overrides for any/interface ref types (#1835) -
1d730c5Fix param comment escaping issue (#1890) -
697572aFixes Issue 1829 (#1830) -
28de14cFlags to parse internal and dependency package (#1894) -
4c2f8ddHandle case of empty GOROOT (#1798) -
87e7d9cUpdate docker go build version to 1.21 (#1758) -
4fd8a36Update docs for request and response headers (#1825) -
56fde5cUpdate operation.go (#1753) -
807dd1f[Issue 1812] fix misalignment in expected.json and api.go messing with parser_test (#1836) -
91624adadd support for "title" tag (#1762) -
f32d4d3adds support for complex types with function scope (#1813) -
c7f1cd8adds support for pointer function scoped fields (#1841) -
8a47dcbbump go version (#1797) -
0834357chore(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 (#1793) -
1bb1445chore(deps): bump golang.org/x/net in /example/celler (#1794) -
6aa6613chore(deps): bump golang.org/x/net in /example/go-module-support (#1795) -
d5af957chore(deps): bump golang.org/x/net in /example/markdown (#1792) -
0368d7dchore(deps): bump golang.org/x/net in /example/object-map-example (#1796) -
b8662dechore(deps): bump google.golang.org/protobuf (#1773) -
4a11e23chore(deps): bump google.golang.org/protobuf (#1774) -
937c239chore(deps): bump google.golang.org/protobuf in /example/celler (#1775) -
103ac42chore: Update ci.yml (#1902) -
90aa46fchore: fix some typos in comments (#1788) -
e55c557feat: read from stdin, write to stdout (#1831) (#1832) -
fd2fa83fix issue: #1780: filter $GOROOT path (#1827) -
10030b0fix parse nested structs and aliases (#1866) -
7159b0ffix: failing assert in enums test on 32bit (#1634) -
928264cfix: remove dropped tags from general infos (#1764) -
a74d34cfix:parse all field names declared in a row (#1872) -
0b9e347new release (#1901) -
a3c6d12support markdown description for declaration (#1893) -
9069105update README (#1856)
v1.16.3
Changelog
-
7147984Feat: Support generic with map params (#1746) -
ae7e404Fix: Trim tab spaces from @scope annotations (#1744) -
d4218f2Feat: Struct fields supported for header and path param types (#1740) -
76695caFix: TrimRight[]on an array filed json name to compatible with ts codegen (#1706) -
7603121Feat: Add flag state to generate operations with different state into different docs (#1629) -
0fb6820Feat: Deprecate some parts of routers in an operation (#1735) -
744a58eDrop support for go v1.17.x (#1723) -
6cdaaf5Fix: Find definitions from external packages first (#1666) -
0ade78cEnhancement: Improve docker container usage (#1704) -
2da9651Fix: nil supported in combined response object(#1667)
v1.16.2
Changelog
-
f05ccdcadd byte check before and after file is formatted (#1637) -
7534a13add cli flag --pdl to determine whether parse operations in dependency (#1605) -
21d34e2add retract to fix proxy cache caused by accidentally pushed tags (#1562) -
b2f325fchore(deps): bump github.com/gin-gonic/gin (#1598) -
8e5b314chore(deps): bump github.com/gin-gonic/gin in /example/celler (#1599) -
c8372f6chore(deps): bump github.com/gin-gonic/gin in /example/go-module-support (#1600) -
23c9b5cchore(deps): bump gopkg.in/yaml.v3 (#1663) -
8ebf32fdocs(readme): fix param brace (#1647) -
27b27bdenchancement: report which property is triggering a parsing error (#1439) -
d0f9dc5feat: add --packagePrefix=P for only parse packages matched by prefix P (#1582) -
1bf0078feat: global security (#1620) -
9f128b4feat: preserve file permission when write formatted files (#1636) -
ea35767fix bug: enums of underscored number (#1581) -
0cee1c5fix required params parsing for routes with multiple paths and multiple params (#1621) -
e73a0d0fix using tab (\t) as separator for custom type names (#1594) -
4536bf2fix: enums in body got parse incorrectly (#1625) -
e749ad5fix: lint error for generated docs.go (#1583) -
575963eparse binary literal const (#1593) -
fe971d2parser: if all tags negate return true on no hits (#1624) -
e9d0aa5yaml.v3 security patch (#1664)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.