Fiber support, many PR's merged for bug fixes and improvements
New Functionality
Support has been added for a new router, Fiber
Notable Changes
These changes may affect your code, and possibly some incompatibilities where boilerplate had to be changed to fix issues.
- Gin's Cookie() returns string, not *http.Cookie by @derfenix in #878
- Use gin.IRouter instead of *gin.Engine by @derfenix in #879
- fix generated client code cannot convert UUIDs to string when used as… by @benyaminbeyzaie in #956
- Add form struct tag for x-www-form-urlencoded request schemas by @ivan1993spb in #1000
- Add initialism-overrides flag by @shiv3 in #1007
- Reusable strict middlewares by @Warboss-rus in #1021
- Support for hal+json format by @martinhej in #1030
- fix: Avoid nil reference for gin wrapper by @amweiss in #1057
- Introduce content type into generated JSON types by @jamietanna in #1078
The Rest
- Bump golang.org/x/tools from 0.3.0 to 0.4.0 by @dependabot in #893
- Bump github.com/go-chi/chi/v5 from 5.0.7 to 5.0.8 by @dependabot in #894
- relax validation of discriminators when merging allOf schemas. by @cosnicolaou in #895
- x-enum-varnames revival by @amery in #880
- Bump github.com/matryer/moq from 0.2.7 to 0.3.0 by @dependabot in #875
- Warn when using a non-empty
spec.Serversby @jamietanna in #883 - This PR addresses issue 896. by @cosnicolaou in #897
- fix(oapi-codegen): package name detection by @stevenh in #873
- AdditionalProperties and oneOf in one Schema by @B-Lorentz in #765
- Reverse the order of the middleware when they applied in gorilla/mux implementation by @mpls104 in #842
- Bump golang.org/x/text from 0.5.0 to 0.6.0 by @dependabot in #921
- Bump github.com/getkin/kin-openapi from 0.107.0 to 0.112.0 by @dependabot in #907
- fix(gin-template): Respect ctx.Abort() by @alexstojda in #914
- Bump github.com/labstack/echo/v4 from 4.9.1 to 4.10.0 by @dependabot in #912
- Bump github.com/gin-gonic/gin from 1.8.1 to 1.8.2 by @dependabot in #908
- Bump golang.org/x/tools from 0.4.0 to 0.5.0 by @dependabot in #920
- change error message when failed parsing date-time in deepObject by @ikorihn in #919
- fix(deps): update kin-openapi to v0.104.0 by @mgabeler-lee-6rs in #953
- Bump golang.org/x/tools from 0.5.0 to 0.6.0 by @dependabot in #964
- Bump golang.org/x/net from 0.5.0 to 0.7.0 by @dependabot in #973
- Bump github.com/labstack/echo/v4 from 4.10.0 to 4.10.2 by @dependabot in #980
- Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by @dependabot in #981
- Bump golang.org/x/text from 0.6.0 to 0.8.0 by @dependabot in #989
- Bump github.com/gin-gonic/gin from 1.8.2 to 1.9.0 by @dependabot in #1001
- OneOf: Implicit mapping by @Antonboom in #932
- Bump golang.org/x/tools from 0.6.0 to 0.7.0 by @dependabot in #1002
- Bump github.com/matryer/moq from 0.3.0 to 0.3.1 by @dependabot in #1003
- Fix incorrect fieldname reserved keywords in path parameters (strict server) by @reinkrul in #999
- Client With Responses not able to solve external refs by @amammay in #959
- Fix incorrectly generated empty array for security requirements by @benyaminbeyzaie in #955
- Fix README.md example usage by @hjblom in #982
- Add proper Godoc comment for properties marked as deprecated by @papkos in #976
- Use different order of arguments for json merge by @hhelmken in #998
- Fix allOf merges using external refs by @octomad in #941
- fix(oapi-codegen): command line parsing compatibility by @stevenh in #852
- fix959 by @Rmarken5 in #992
- Bump github.com/getkin/kin-openapi from 0.114.0 to 0.115.0 by @dependabot in #1008
- Bump golang.org/x/text from 0.8.0 to 0.9.0 by @dependabot in #1023
- Improve logic for x-omitempty by @veleek in #1033
- Bump golang.org/x/tools from 0.7.0 to 0.8.0 by @dependabot in #1024
- Bump github.com/getkin/kin-openapi from 0.115.0 to 0.116.0 by @dependabot in #1032
- Fix pointers equality in TypeDefinitionsEquivalent function by @spinillos in #952
- Add InternalServerError when err is not nil in strict-gin by @shirou in #1012
- fix: Use helper function to detect general JSON responses by @hikhvar in #945
- Update authenticated example - set token in echo context.. by @sblackstone in #917
- Fix AdditionalPropertiesType Propagation by @FragmentedPacket in #1017
- Assign values of type Map in deep objects by @goblindegook in #934
- chore: move install mapping to global state by @stevenh in #853
- Handle empty application/json request bodies by @kurtinge in #1043
- fixes an error message containing a nil err object by @mwasilew2 in #1048
- Add ability to try to get templates from files or remotes by @deefdragon in #968
- Cmd flags usage: uppercase first letter, and end with a period by @alexandear in #1073
- add links to source in the README.md file by @BigBoulard in #1071
- Bump github.com/getkin/kin-openapi from 0.116.0 to 0.117.0 by @dependabot in #1054
- Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 by @dependabot in #1053
- Bump golang.org/x/tools from 0.8.0 to 0.9.1 by @dependabot in #1049
- Fix typos in comments by @alexandear in #1050
- checking query params for nil value by @yuoppp in #1064
- Bump golang.org/x/tools from 0.9.1 to 0.9.2 by @dependabot in #1076
- Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 by @dependabot in #1077
- Refactor to use strings.ReplaceAll by @alexandear in #1079
New Contributors
- @cosnicolaou made their first contribution in #895
- @amery made their first contribution in #880
- @B-Lorentz made their first contribution in #765
- @mpls104 made their first contribution in #842
- @alexstojda made their first contribution in #914
- @ikorihn made their first contribution in #919
- @Antonboom made their first contribution in #932
- @reinkrul made their first contribution in #999
- @amammay made their first contribution in #959
- @benyaminbeyzaie made their first contribution in #956
- @hjblom made their first contribution in #982
- @papkos made their first contribution in #976
- @ivan1993spb made their first contribution in #1000
- @hhelmken made their first contribution in #998
- @octomad made their first contribution in #941
- @Rmarken5 made their first contribution in #992
- @shiv3 made their first contribution in #1007
- @martinhej made their first contribution in #1030
- @spinillos made their first contribution in #952
- @shirou made their first contribution in #1012
- @hikhvar made their first contribution in #945
- @sblackstone made their first contribution in #917
- @FragmentedPacket made their first contribution in #1017
- @goblindegook made their first contribution in #934
- @kurtinge made their first contribution in #1043
- @mwasilew2 made their first contribution in #1048
- @deefdragon made their first contribution in #968
- @alexandear made their first contribution in #1073
- @BigBoulard made their first contribution in #1071
- @amweiss made their first contribution in #1057
- @yuoppp made their first contribution in #1064
Full Changelog: v1.12.4...v1.13.0