All Versions
10
Latest Version
Avg Release Cycle
58 days
Latest Release
116 days ago

Changelog History

  • v0.23.0

    March 15, 2020

    πŸ”„ Changelog

    v0.23.0 (2020-03-14)

    Full Changelog

    πŸ’₯ Breaking changes:

    • Failed to load template schemabody #2223

    Implemented enhancements:

    • βž• Add middleware router or a kind of path matching #2234
    • Incompatible naming convention for a path starting with one letter word #2213

    πŸ›  Fixed bugs:

    • Code generation is broken due to stricter template syntax checks in Go 1.14 #2215
    • swagger generate spec -m gives inconsistent json every other run #2066

    Closed issues:

    • How to get matched route in a middleware ? #2238
    • Client generation failed: panic: object has no key "Map" #2237
    • generated server arguments not working #2227
    • codescan/meta.go: cannot use promoted field ContactInfoProps.URL in struct literal of type #2214
    • πŸ”„ change project name for go-netbox #2206

    πŸ”€ Merged pull requests:

    • 🐳 [DOCKER] don't run swagger with "root" #2240 (deogracia)
    • βž• Add middleware setter for a route (path prefix) #2236 (ilyakaznacheev)
    • Working around minor shortcoming in swag.ToGoName #2226 (fredbi)
    • πŸ›  fixed schemabody.gotmpl template regression caused by #2221 #2225 (fredbi)
    • πŸ›  Fix goimports step incorrectly rewriting imports #2222 (misha-ridge)
    • ♻️ Model templates refactoring for readability -- NO CHANGE IN FUNCTIONALITY #2221 (fredbi)
    • ⚑️ Task: Update template imports to be consistent and ordered #2219 (kenjones-cisco)
    • πŸ›  fix #2066 issue #2209 (mfranczy)
    • πŸ›  Fix #2206: Change project name for go-netbox #2207 (kobayashi)
    • βž• add option in model generation to output all definitions regardless of usage #2205 (dan-j)

    * This Changelog was automatically generated by github_changelog_generator

  • v0.22.0

    February 02, 2020

    πŸ”„ Changelog

    v0.22.0 (2020-02-02)

    Full Changelog

    Implemented enhancements:

    • Enable x-go-name in parameters #2167
    • How to generate a model with JSON ',string' directive for an int64 properties? #2144
    • Swagger tags starting with integer make formatting errors in operations #2111
    • πŸ“¦ Swagger Tags interfere with imported packages #2057
    • Issue generating servers which have 'api' in their name #1971
    • πŸ‘Œ Support go modules #1724
    • generate spec: json.RawMessage doesn't represent the intent. #1622
    • Generated code don't pass on go vet #1573
    • Could Client be a concrete implementation of an interface? #1138
    • πŸ“¦ Unable to override operations package name #1049

    πŸ›  Fixed bugs:

    • πŸ— Build fails due to duplicate methods #2199
    • Enum value "" generating code that does not compile #2139
    • βœ… byte type string causes "models/test_swagger.go:43:6: k declared and not used" #2136
    • x-omitempty handling is incorrect with $ref #2116
    • Flatten (and generate) fails intermittently #2092
    • 0️⃣ panic: Invalid schema provided to SchemaValidator: object has no key "default" #2063
    • Data Race between Serve() and Shutdown() #1943
    • doc.go fails to compile when passed a certain invalid mime-type #1663
    • Multiple media parameters on producers generate code that does not compile #1377

    Closed issues:

    • Swagger adds to a spec not exported parameters fields #2164
    • generate client library: definition "" contains duplicate properties: [] (or crash when --skip-validation) #2156
    • model will not be generate if it's used as a map's value type in response body #2145
    • How do I specify the json body parameters within the Go code for "swagger:operation" like I do for "swagger:route"? #2134
    • why generate operation is required name option? #2123
    • Endless loop in swagger generate spec #2122
    • βž• Add ability for server pre-shutdown hook #2108
    • File type in form-data #2105
    • βž• add parameters on router #2104
    • unrecognized import path "dmitri.shuralyov.com/gpu/mtl" #2094
    • πŸ“„ docs/guideline is outdated #2091
    • generated code can not pass gofmt #2089
    • faq_model.md link to more info about date is broken #2088
    • v0.21.0 not published on bintray #2085
    • πŸš€ Please create a new release #2080
    • Randomly getting peer connection reset error with the generated client #1954
    • πŸ‘» swagger generate server exception #1882
    • Please add GPG Public Key to deb repo #1812

    πŸ”€ Merged pull requests:

    • πŸ“¦ #2199 Remove the duplicate withEnum functions inside scan package #2200 (sam016)
    • regen samples #2196 (fredbi)
    • ⚑️ updated go.mod with go get -u ./... && go mod tidy #2195 (fredbi)
    • πŸ‘· Throttle memory in codegen CI #2193 (fredbi)
    • πŸ›  Fix client generation's mapvalidator with additionalProperties #2190 (hmalphettes)
    • πŸ“¦ Review of codegen imports and package name mangling #2181 (fredbi)
    • πŸ›  fix some typo I find in custom-server.md #2179 (yuzp1996)
    • πŸ›  Fixed release Dockerfiles #2178 (fredbi)
    • ♻️ refactored code generator #2177 (fredbi)
    • πŸ”‹ Feature/morlays enum #2176 (sam016)
    • ♻️ CLI: refactored CLI commands to introduce command groups #2173 (fredbi)
    • πŸ”„ changes for #2054 - extension fields in info.contact do not propagate… #2171 (kul-amr)
    • πŸ›  Fix processing type declarations #2169 (novasharper)
    • feat(parameters): query & path parameters now accept x-go-name #2168 (maxatome)
    • ignore not exported params fields #2165 (mfranczy)
    • πŸ›  fix typo #2162 (derekperkins)
    • πŸ›  fix: missing adding postDecls in response map field #2159 (autumn31)
    • CI codegen #2158 (fredbi)
    • βž• add x-go-json-string #2157 (mail2fish)
    • πŸ›  fixed some edge cases when deconflicting client timeout parameters #2155 (fredbi)
    • πŸ“œ Speedup 'swagger generate' by not re-parsing schemas many times #2152 (misha-ridge)
    • Client template interfaces #2151 (fredbi)
    • πŸ›  Bugfix/data race serve shutdown #2150 (fredbi)
    • πŸ›  fix(doc): fixed broken link in models FAQ #2149 (fredbi)
    • πŸ›  Fixed x-omitempty in the case of $ref'ed schemas #2148 (fredbi)
    • πŸ›  fix(doc): updated contributing guidelines #2147 (fredbi)
    • πŸ›  fix(model): fixes validations for format="byte" (no format validation) #2146 (fredbi)
    • βž• Add support for empty enum values #2143 (fredbi)
    • πŸ›  Fix overwriting security definitions on call Server.SetAPI() #2140 (h0mjam)
    • πŸ›  fix endless loop issue for pkg import analysis #2138 (mfranczy)
    • πŸ‘Œ Support multiple mime type specifications, with parameters #2120 (fredbi)
    • βž• Add .Context to location template context #2118 (aeneasr)
    • πŸ‘Œ Support AllowTemplateOverride in generate client #2117 (aeneasr)
    • ♻️ CI refactoring #2114 (fredbi)
    • βœ… Issue:2108 - Adding files/tests to support PreServerShutdown - Take2 #2110 (keperry)
    • πŸ‘ codescan: Natively support json.RawMessage #2107 (aeneasr)
    • πŸ‘Œ support json tag with no name #2095 (okhowang)
    • ⚑️ Update go-openapi/analysis #2093 (fredbi)
    • πŸ›  fix: generated code can not pass gofmt #2089 #2090 (elonzh)
    • ⚑️ updates docs for deb install with apt-secure #2087 (casualjim)
    • regenerated examples with v0.21.0 #2086 (fredbi)

    * This Changelog was automatically generated by github_changelog_generator

  • v0.21.0

    October 19, 2019

    πŸ”„ Change Log

    v0.21.0 (2019-10-19)

    Full Changelog

    Implemented enhancements:

    • βž• Add warning messages for inconsistent parameter types and validations #2069

    πŸ›  Fixed bugs:

    • JSON tags are not honored in case of allOf. #2071

    Closed issues:

    • How to register a handler for the server? #2083
    • Flatten before serve #2078
    • βž• Additional keys in response model #2073
    • Go v0.20.0: checksum mismatch when using GOPROXY=direct #2065
    • Code generation fails when swagger is built with go1.13 #2058
    • πŸ”‹ feature: support custom swagger type #1183

    πŸ”€ Merged pull requests:

    • βž• Add OpenAPI Terraform provider to 'Who is using this project?' section #2084 (dikhan)
    • βž• Add flag to allow overwriting protected templates #2082 (dominikznidar)
    • Feat(serve) : Add flatten flag to serve command #2079 (seblegall)
    • βž• added contrib to the docker image #2076 (ronnie-stratoscale)
    • Keep spec orders for mixin command #2074 (BupycHuk)
    • πŸ›  fixes undue propagation of x-go-name to tags in AllOf serializer #2072 (fredbi)
    • πŸ”§ Provide example for configure command-line flags #2068 (antonok)
    • βž• Add default flag support import "flags" #2067 (hisunwei)
    • βž• Added installation instructions through docker for windows users #2061 (EliCDavis)
    • ⚑️ update go-openapi libraries for go 1.13 fix #2059 (casualjim)

    * This Change Log was automatically generated by github_changelog_generator

  • v0.20.1

    August 20, 2019

    πŸ”„ Change Log

    v0.20.1 (2019-08-19)

    Full Changelog

    πŸ›  Fixed bugs:

    • 0.20.0 - invalid enum constants for "+" and "-" values #2050

    πŸ”€ Merged pull requests:

    • πŸ›  Fixed the few remaining linting issues in generator package #2052 (fredbi)
    • πŸ›  Fixed regression on name generation for "+" or "-" enum values #2051 (fredbi)
    • πŸ‘‰ use slices for collecting parameters to retain ordering #2003 (casualjim)

    * This Change Log was automatically generated by github_changelog_generator

  • v0.20.0

    August 19, 2019

    πŸ”„ Change Log

    v0.20.0 (2019-08-18)

    Full Changelog

    Implemented enhancements:

    • πŸ—„ How To mark route deprecated? #2042
    • Pass OAuth2 scheme name to handler and add it on the request context #2041
    • βž• Add Payload\(\) \*models.TheError to error types #2018
    • πŸ“¦ Use first tag for client package #1950
    • βž• Add support for types of the new mongo-go-driver #1854
    • πŸ› Bug or new logic to generate code with --with-flatten=minimal - by default ? #1704
    • πŸ‘Œ Support for integer enums in go-swagger #1672
    • File parameter generated incorrectly in client code #1020
    • βž• Add a diff command #151
    • Keep object's parameters order as specified in swagger spec definition #125

    πŸ›  Fixed bugs:

    • unknown type for field interface{}: *types.Interface #2011
    • Unknown type for field: *types.Map #2007
    • πŸ†• New scanner (go module aware) may randomly fail #1997
    • Server crashes when polymorphic value is absent in post body #1993
    • Mixin host issue #1965
    • Two different parameter names derived from specification #1952
    • Swagger generates and uses different models in case of definition name starts with Digit #1937
    • Generating uncompilable code when response code >= 512 #1893
    • swagger mixin bug #1886
    • swagger mixin sends all output to stderr #1878
    • 🐳 Why is docker image "latest" NOT aligned with the latest tag? #1873
    • Duplicate constants when referencing definitions with enums in another files #1851
    • swagger generate spec throws a lot of errors with golang 1.11 #1671
    • πŸ“¦ panic: interface conversion: interface {} is *mypackage.PostActionsDefault, not *mypackage.PostActionsCreated #1518
    • Client parameters don't set body when model is an interface #1490
    • Generated client parameter does not set request body for schema type string format binary #1339
    • πŸ‘• Client Request Parameters - lint error #973

    Closed issues:

    • swagger failed to validate type: file in formData parameters. #2039
    • stratoscale client template breaks on multiline descriptions #2036
    • πŸ“š No useful documentation exists for spec generation #2032
    • swagger:strfmt annotation incompatible with slice type #2030
    • πŸ‘ Can go-swagger support this json tag? Id int64 "json:id,string"? #2029
    • int64 "json:id,string" #2028
    • go1.11 generate spec doesn't respect exclude #2023
    • Cannot use dynamic certificate selection on servers #2016
    • unknown flag `b' swagger generate #2005
    • Swagger generate spec has broken on Gitea #2001
    • swagger:ignore not working #1994
    • Getting started guide #1989
    • Working with type: object in handlers #1967
    • Generated and customized go-swagger server compiles, executes and initializes correctly, but does not handle any requests #1953
    • Query parameter can't be named 'append' when enum appearing also #1948
    • generate spec with ordered keys #1946
    • Generate property with empty string ('') #1945
    • Unable to deserialize array int json: cannot unmarshal string into Go struct. Failed due to array having integer and string. Fix in comments #1932
    • How do I access the response headers? #1918
    • πŸ‘ POSTing to API that returns a 201 with a location header produces: (*interface {}) is not supported by the TextConsumer, can be resolved by supporting TextUnmarshaler interface" #1917
    • Response struct goes under headers #1908
    • dep ensure -v report models is missing #1835
    • Installing with go get and go modules = on #1786
    • πŸ“¦ Swagger generate: can not import package #1784
    • It can not stop with recursive struct #1773
    • Basic auth in stratoscale templates #1765
    • Generate spec does not work with Go Modules #1681

    πŸ”€ Merged pull requests:

    • ⚑️ update examples #2049 (casualjim)
    • ⚑️ update builder template to pass along oauth2 scheme name #2048 (casualjim)
    • βž• Add docs and test coverage for route deprecated property #2047 (MetalRex101)
    • πŸ—„ spec generation: added support for deprecated tag in route annotations #2045 (fredbi)
    • βž• Add support for --strict-additional-properties #2040 (connesc)
    • πŸ›  Fix multi-line comments in stratoscale client template #2037 (avorima)
    • πŸ›  fix:walkImports should recursively traverse the imported package #2034 (d0ngw)
    • πŸ›  Fixed template_layout type-o #2033 (delaman)
    • πŸ›  fixes detecting base64 for []byte #2031 (casualjim)
    • πŸ›  fix typo and add more parser tests #2025 (gregdhill)
    • enable explicit gen spec inclusion / exclusion or for all deps #2024 (gregdhill)
    • βž• Add method Payload\(\) to error types #2019 (aeneasr)
    • πŸ”§ 2016 - Allow dynamic TLS configurations in servers #2017 (mmussomele)
    • also consider interface as valid body for response and request #2012 (casualjim)
    • consider maps as valid body for response and parameter #2010 (casualjim)
    • βœ… disable -race for testing phase, but allow for PR #1944 to use -race #2008 (casualjim)
    • skip fields when they are not exported #2006 (casualjim)
    • ♻️ refactor circleci build #2004 (casualjim)
    • πŸ‘‰ use slices for collecting parameters to retain ordering #2003 (casualjim)
    • ⚑️ updated dependencies #1999 (fredbi)
    • Codegen edges cases #1998 (fredbi)
    • Model validation/polymorphism: added required / non required check #1996 (fredbi)
    • Set govet again #1995 (fredbi)
    • Go module aware scan #1991 (casualjim)
    • πŸ“„ feat: Add getting started section to docs/use/spec.md #1990 (pdrum)
    • ↔ Integrates flatten fixes #1986 (fredbi)
    • Honour JSON ,string directive of ptr field when generating spec #1985 (wych42)
    • πŸ”€ ci: made codegen-nonreg.sh script less sensitive to merge conflicts #1983 (fredbi)
    • πŸ›  fixed push latest tag on releases #1982 (fredbi)
    • βž• Added support for non-standard http codes #1980 (fredbi)
    • πŸ›  Fix 1878 #1979 (fredbi)
    • Generated client: handles unexpected successful responses #1978 (fredbi)
    • πŸ›  acknowledge various fixes for client #1977 (fredbi)
    • πŸ›  chore(ci): set codecov patch expectation to a fixed level #1976 (fredbi)
    • πŸ›  fix(server): generates server to enable http/2 #1975 (fredbi)
    • πŸ›  Fix basic auth for stratoscale template #1969 (JoakimSoderberg)
    • keep spec order on nested objects #1968 (efi-tectonic)
    • πŸ“¦ Multiple tags operations: deduce package from first tag #1964 (maxatome)
    • βž• Add CodeTriage badge to go-swagger/go-swagger #1963 (codetriage-readme-bot)
    • πŸ–¨ do not force set the api logger to log.Printf #1962 (djgilcrease)
    • 151 add a diff sub command #1961 (wjase)
    • πŸ“œ scan: proper parse for numeric elements (future validation pass) #1959 (d7561985)
    • πŸ›  urlbuilder template fixed to support query params named 'append' #1949 (jimturnquist)
    • πŸ‘Œ support keep spec properties order #1939 (efi-tectonic)
    • πŸ“¦ x-go-type: if no imports are specified, assume that the referred type is inside the same package #1935 (e-nikolov)
    • πŸ›  Fix access_token typo #1926 (bithavoc)

    * This Change Log was automatically generated by github_changelog_generator

  • v0.19.0

    March 24, 2019

    πŸ”„ Change Log

    v0.19.0 (2019-03-24)

    Full Changelog

    Implemented enhancements:

    • πŸ‘Œ Support for parsing property vendor extensions #1875
    • Provide check for runtime version #818

    πŸ›  Fixed bugs:

    • Broken handling of $ref to a definition which maps to interface{} #1859
    • External x-go-type imports not resolved for arrays and references #1719
    • Race on call to Serve() and _____Listener() functions #1465
    • Responses defined in schema: restapi/operations/xxx_responses.go:54:18: cannot make type models.YY #1260

    Closed issues:

    • Response struct goes under headers #1908
    • swagger generate error #1906
    • What should a custom Application Consumer return/produce? #1901
    • πŸ“¦ Server generation is much slower when using "--model-package" #1896
    • πŸ”§ boolean parameters with default attribute, if parameter is not configured in the json, swagger will generate a null pointer for this field #1892
    • in: body not work as expected? #1890
    • Spec generation - Multiple File Upload with multipart form #1884
    • omitempty #1883
    • 🐳 Can't docker pull the latest versions by tag #1871
    • How to use go-swagger with easyjson? #1868
    • validator fails to report path parameters defined defined at operation level #1866
    • Invalid auto generated file with type:file in output. #1853
    • homebrew installation silently fails on generate #1261

    πŸ”€ Merged pull requests:

    * This Change Log was automatically generated by github_changelog_generator

  • v0.18.0

    December 22, 2018

    πŸ”„ Change Log

    v0.18.0 (2018-12-22)

    Full Changelog

    Implemented enhancements:

    • Client cannot unmarshal struct #1729
    • swagger generation with --with-context result in compiles error #1684
    • Can't have server code in subdirectory #1624
    • Proposal: x-omitempty for general types #1623
    • When generating validations struct pkg references needs to be preserved #578

    πŸ›  Fixed bugs:

    • Duplicated parentheses #1839
    • Regression with gob encoder optimization #1824
    • generated embedded_spec.go removing refs #1816
    • πŸ”§ Duplicated imports in configure.go #1808
    • Recursive model errors during flattening stage of generate server #1796
    • Invalid paths in go generate directive #1789
    • race in handleShutdown #1781
    • non-compiling code if an API method contains a parameter named 'result' #1778
    • πŸ‘ Are external references supported? #1774
    • One spec in multiple files (data types logic override) - error of generating #1767
    • go-swagger generate server: minItems (maxItems) on array fails during validation. #1755
    • βœ… Client wont compile with a route tagged "test" #1683
    • πŸ“¦ Generate client does not handle "-" dashes in --client-package consistently #1157

    Closed issues:

    • body parameter of type string results in code that doesn't compile #1832
    • βž• Add an option for placing the docs/docs.go file #1811
    • Deb version 0.17.2 doesn't contain the binary on bintray #1793
    • ⚠ Parameters in swagger:route produce validation warnings #1785
    • Do not escape '&' character in json response #1763
    • Deb installation is broken with the new version with the "v" prefix #1760
    • πŸ”Š Validate returns different output in console and logs #1722

    πŸ”€ Merged pull requests:

    • πŸš€ Prepare for v0.18.0 release #1843 (casualjim)
    • ⚑️ FAQ update #1842 (fredbi)
    • Models: avoids redundant "()" on .ValueExpression #1840 (fredbi)
    • πŸ‘ route: add support description response tag at path #1829 (d7561985)
    • πŸ›  Fix #1824 #1827 (fredbi)
    • βž• Add HandlerAPI() function to stratoscale template #1821 (maxatome)
    • βœ‚ Remove x net context from generated code #1819 (fredbi)
    • ⚑️ Acknowledge fix #1816 with go-openapi updates #1818 (fredbi)
    • πŸ›  Fixed go generate paths in configure_xxx.go #1810 (fredbi)
    • πŸ›  Fixed regression on Windows introduced by #1804 #1809 (fredbi)
    • πŸ– Handle array examples; document Example usage #1807 (leon-barrett)
    • πŸ—„ Deprecates --with-context option #1806 (fredbi)
    • πŸ›  Fixes race condition in generated server #1805 (fredbi)
    • πŸ“¦ More mangling for generated package names and path #1804 (fredbi)
    • πŸ›  Fix slice validations in body param #1803 (fredbi)
    • 🐎 chore: update vendor for performance #1802 (orisano)
    • πŸ‘‰ Use JSON for examples of type object #1801 (leon-barrett)
    • πŸ›  Fix go vet 11 issue with debugAsJSON func #1800 (fredbi)
    • πŸ›  Fix flattening spec with remote circular $ref #1799 (fredbi)
    • πŸ‘ Allow '?' character in route path #1792 (andrewmilson)
    • There is a panic when invalid schema of route/operation is used in spec generation. It should prevent it #1791 (marsianin)
    • πŸ›  fix client cannot unmarshal struct which contains null #1788 (AlexInGitHub)
    • Absorbing api names across multiple lines #1783 (liyuankui)
    • πŸ›  fixes #1778. Allow 'result' name for API parameter #1780 (mtfelian)

    * This Change Log was automatically generated by github_changelog_generator

  • v0.17.2

    October 25, 2018

    πŸ”„ Change Log

    v0.17.2 (2018-10-24)

    Full Changelog

    Closed issues:

    • invalid client code generated for spec #1770

    πŸ”€ Merged pull requests:

    * This Change Log was automatically generated by github_changelog_generator

  • v0.17.1

    October 23, 2018

    πŸ”„ Change Log

    v0.17.1 (2018-10-21)

    Full Changelog

    Implemented enhancements:

    • un-graceful shutdown after 15 seconds on generated restapi/server.go#handleShutdown #1714
    • πŸ‘ Better Email Validation #1519

    πŸ›  Fixed bugs:

    • skipping -A/--name option in generate server generates corrupt code #1746

    Closed issues:

    • βœ… testing server: the required flags --tls-certificate and --tls-key were not specified #1745
    • Go-swagger vendoring problem #1743

    πŸ”€ Merged pull requests:

    * This Change Log was automatically generated by github_changelog_generator

  • v0.17.0

    October 07, 2018

    πŸ”„ Change Log

    v0.17.0 (2018-10-06)

    Full Changelog

    Implemented enhancements:

    • Unused variable in restapi/server.go #1692
    • Generate spec in yml format #1686
    • πŸ›° Could not get payload or file content from request #1666

    Closed issues:

    • --socket-path is being ignored #1740
    • Request context does not flow down handler pipeline (handler registered i globalmiddleware) is lost. #1733
    • Cannot install go-swagger #1728
    • πŸ‘ -m, --scan-models missing when compiled using go 1.11 with module support #1718
    • πŸ“¦ Models rendered to file even if imported from external package using x-go-type #1710
    • πŸ› Bug in external type import using x-go-type #1703
    • 🚦 How to receive the shutdown signal from generated server? #1695
    • errcheck failed on generated restapi/server.go#handleInterrupt #1689
    • 🚚 Move to go modules ? #1677
    • 🚚 Move from x/net/context to just context #1676
    • tuple unmarshaller fails #1673
    • Path parameter with request body #1523

    πŸ”€ Merged pull requests:

    * This Change Log was automatically generated by github_changelog_generator