Skip to content

@casualjim casualjim released this Feb 2, 2020 · 19 commits to master since this release

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
  • 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:

* This Changelog was automatically generated by github_changelog_generator

Assets 12

@casualjim casualjim released this Oct 19, 2019 · 96 commits to master since this release

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:

* This Change Log was automatically generated by github_changelog_generator

Assets 12

@casualjim casualjim released this Aug 20, 2019 · 120 commits to master since this release

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

Assets 12

@casualjim casualjim released this Aug 19, 2019 · 125 commits to master since this release

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:

* This Change Log was automatically generated by github_changelog_generator

Assets 12
  • v0.19.0
  • 51061fa
  • Compare
    Choose a tag to compare
    Search for a tag
  • v0.19.0
  • 51061fa
  • Compare
    Choose a tag to compare
    Search for a tag

@casualjim casualjim released this Mar 24, 2019 · 231 commits to master since this release

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

Assets 9

@casualjim casualjim released this Dec 22, 2018 · 265 commits to master since this release

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:

* This Change Log was automatically generated by github_changelog_generator

Assets 11

@casualjim casualjim released this Oct 25, 2018 · 328 commits to master since this release

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

Assets 11

@casualjim casualjim released this Oct 23, 2018 · 333 commits to master since this release

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

Assets 12

@casualjim casualjim released this Oct 7, 2018 · 345 commits to master since this release

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

Assets 12

@casualjim casualjim released this Aug 11, 2018 · 390 commits to master since this release

Change Log

0.16.0 (2018-08-11)

Full Changelog

Implemented enhancements:

  • Contributed templates #1625
  • issue with validation of multipleOf with the factor being float #1618
  • Server locks up on adding flags with go-flags #1473
  • Dependency management v/ generated code #1419
  • Replace graceful with built-in methods (1.8 onwards) #1418

Fixed bugs:

  • Generate Server - panic if "type" missing #1648
  • Server cannot unmarshal array of polymorphic values #1637
  • Client generation fails with 0.15.0, works with 0.14.0 #1621
  • (Un)MarshalJSON functions ignore part of struct when model is generated with allOf: #1617
  • Stack overflow error in swagger validate #1614
  • Handle platform-specific file names #1596
  • More than one tag on a path breaks server code generation #931

Closed issues:

  • Invalid model generated #1653
  • use of closed network connection error on shutdown in 0.15 #1650
  • Generating server code changes files randomly with multiple mimetypes #1646

Merged pull requests:

* This Change Log was automatically generated by github_changelog_generator

Assets 12
You can’t perform that action at this time.