github.com/AngusLu/go-swagger@v0.28.0/notes/v0.5.0.md (about) 1 [Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.4.0...0.5.0) 2 3 **Implemented enhancements:** 4 5 - No consumers and producers for "text/plain" in the client runtime [#360](https://github.com/go-swagger/go-swagger/issues/360) 6 - No consumers and producers for "application/xml" in the client runtime [#359](https://github.com/go-swagger/go-swagger/issues/359) 7 - Add http/unix socket transport [#278](https://github.com/go-swagger/go-swagger/issues/278) 8 - Clean up tutorial [#275](https://github.com/go-swagger/go-swagger/issues/275) 9 10 **Fixed bugs:** 11 12 - Basic auth doesn't compile [#406](https://github.com/go-swagger/go-swagger/issues/406) 13 - Recursive model definition causes infinite loop [#399](https://github.com/go-swagger/go-swagger/issues/399) 14 - No data fields in the response object [#384](https://github.com/go-swagger/go-swagger/issues/384) 15 - Validation code tries to compare a non-nullable with a nil value. [#381](https://github.com/go-swagger/go-swagger/issues/381) 16 - CLI help is printed twice. [#375](https://github.com/go-swagger/go-swagger/issues/375) 17 - Question - Expose the server port if a random port is used for the server [#372](https://github.com/go-swagger/go-swagger/issues/372) 18 - Expanding nested items is broken. [#367](https://github.com/go-swagger/go-swagger/issues/367) 19 - Incorrect type used for validator [#363](https://github.com/go-swagger/go-swagger/issues/363) 20 - Generated comments on model types and client operations don't begin with the type / operation name in some cases [#356](https://github.com/go-swagger/go-swagger/issues/356) 21 - Wrong enum type names in the client generator [#352](https://github.com/go-swagger/go-swagger/issues/352) 22 - panic: on array/collectionFormat + validation [#351](https://github.com/go-swagger/go-swagger/issues/351) 23 - Default value is not generated for boolean type. [#350](https://github.com/go-swagger/go-swagger/issues/350) 24 - Generated model results in broken build [#340](https://github.com/go-swagger/go-swagger/issues/340) 25 - API client has wrong package name [#330](https://github.com/go-swagger/go-swagger/issues/330) 26 - duplicate declarations on a naming colision [#325](https://github.com/go-swagger/go-swagger/issues/325) 27 - Validator treats parameter references as errors [#321](https://github.com/go-swagger/go-swagger/issues/321) 28 - Issue with parameters of type file in the client generator [#320](https://github.com/go-swagger/go-swagger/issues/320) 29 - Map of base type generates a map of *Interface instead of map of Interface [#319](https://github.com/go-swagger/go-swagger/issues/319) 30 - Models: do not generate pointers and omitempty if property is required [#300](https://github.com/go-swagger/go-swagger/issues/300) 31 32 **Closed issues:** 33 34 - Panic expanding responses that are a schema ref with circular refs [#415](https://github.com/go-swagger/go-swagger/issues/415) 35 - No way to hook code after flags are parsed but before request handling starts [#403](https://github.com/go-swagger/go-swagger/issues/403) 36 - Tagging a parameter with "pattern" doesn't seem to always have affect [#369](https://github.com/go-swagger/go-swagger/issues/369) 37 - Boolean parameters are generated into strings [#346](https://github.com/go-swagger/go-swagger/issues/346) 38 - Missing package swag in generated models [#345](https://github.com/go-swagger/go-swagger/issues/345) 39 - Wrong httpkit/validate package in generated model files [#343](https://github.com/go-swagger/go-swagger/issues/343) 40 - String param with binary format in body does not validate [#341](https://github.com/go-swagger/go-swagger/issues/341) 41 - Add support for tar, gzip [#326](https://github.com/go-swagger/go-swagger/issues/326) 42 - The generated import path has incorrect prefix [#323](https://github.com/go-swagger/go-swagger/issues/323) 43 - Some --skip-* flags not working [#322](https://github.com/go-swagger/go-swagger/issues/322) 44 - Support for cookies in the client runtime [#308](https://github.com/go-swagger/go-swagger/issues/308) 45 46 **Merged pull requests:** 47 48 - adds dumpdata flags to client and server [#418](https://github.com/go-swagger/go-swagger/pull/418) ([casualjim](https://github.com/casualjim)) 49 - resolves refs for parameters and responses, fixes #384 [#417](https://github.com/go-swagger/go-swagger/pull/417) ([casualjim](https://github.com/casualjim)) 50 - fix Panic expanding responses that are a schema ref with circular [#416](https://github.com/go-swagger/go-swagger/pull/416) ([pytlesk4](https://github.com/pytlesk4)) 51 - Don't panic when handling circular refs. [#414](https://github.com/go-swagger/go-swagger/pull/414) ([pytlesk4](https://github.com/pytlesk4)) 52 - Fix build on all build servers [#412](https://github.com/go-swagger/go-swagger/pull/412) ([casualjim](https://github.com/casualjim)) 53 - Remove dependency heavy goconvey [#411](https://github.com/go-swagger/go-swagger/pull/411) ([casualjim](https://github.com/casualjim)) 54 - refines omitempty and fixes basicauth [#410](https://github.com/go-swagger/go-swagger/pull/410) ([casualjim](https://github.com/casualjim)) 55 - Add *raw-stream mimetype mapping [#408](https://github.com/go-swagger/go-swagger/pull/408) ([sflxn](https://github.com/sflxn)) 56 - Add setter to generated response writer [#405](https://github.com/go-swagger/go-swagger/pull/405) ([anfernee](https://github.com/anfernee)) 57 - Allow empty content-type when allowed list is empty [#404](https://github.com/go-swagger/go-swagger/pull/404) ([anfernee](https://github.com/anfernee)) 58 - generate all models if name not specified [#401](https://github.com/go-swagger/go-swagger/pull/401) ([easeway](https://github.com/easeway)) 59 - Proper handle of array of pointers to struct [#396](https://github.com/go-swagger/go-swagger/pull/396) ([gaplyk](https://github.com/gaplyk)) 60 - 368 merge expand items [#394](https://github.com/go-swagger/go-swagger/pull/394) ([casualjim](https://github.com/casualjim)) 61 62 - expand schemas properly, with all tests passing. [#393](https://github.com/go-swagger/go-swagger/pull/393) ([pytlesk4](https://github.com/pytlesk4)) 63 64 - split restapi.NewServer [#392](https://github.com/go-swagger/go-swagger/pull/392) ([caglar10ur](https://github.com/caglar10ur)) 65 - Fix issue with unknown primitive. [#391](https://github.com/go-swagger/go-swagger/pull/391) ([gaplyk](https://github.com/gaplyk)) 66 - better validation for invalid refs [#387](https://github.com/go-swagger/go-swagger/pull/387) ([casualjim](https://github.com/casualjim)) 67 - deal with empty required bodies [#385](https://github.com/go-swagger/go-swagger/pull/385) ([casualjim](https://github.com/casualjim)) 68 - primitive aliases are not nullable [#383](https://github.com/go-swagger/go-swagger/pull/383) ([casualjim](https://github.com/casualjim)) 69 - fixes some golint warnings in generated client [#380](https://github.com/go-swagger/go-swagger/pull/380) ([casualjim](https://github.com/casualjim)) 70 - mangle type name for string alias [#379](https://github.com/go-swagger/go-swagger/pull/379) ([casualjim](https://github.com/casualjim)) 71 - fix argument passing for validation function [#378](https://github.com/go-swagger/go-swagger/pull/378) ([casualjim](https://github.com/casualjim)) 72 - better default handling in parameters [#377](https://github.com/go-swagger/go-swagger/pull/377) ([casualjim](https://github.com/casualjim)) 73 - Fixes compilation error for stream type [#376](https://github.com/go-swagger/go-swagger/pull/376) ([casualjim](https://github.com/casualjim)) 74 - specializes min/max validations for int [#374](https://github.com/go-swagger/go-swagger/pull/374) ([casualjim](https://github.com/casualjim)) 75 - Separates listen from serve in server [#373](https://github.com/go-swagger/go-swagger/pull/373) ([casualjim](https://github.com/casualjim)) 76 - Add plain text consumer and producer [#364](https://github.com/go-swagger/go-swagger/pull/364) ([stoyanr](https://github.com/stoyanr)) 77 - Add XML consumer and producer [#362](https://github.com/go-swagger/go-swagger/pull/362) ([stoyanr](https://github.com/stoyanr)) 78 - scan: treat error primitive as string [#349](https://github.com/go-swagger/go-swagger/pull/349) ([fsouza](https://github.com/fsouza)) 79 - Fix overriding consumes in spec for client [#348](https://github.com/go-swagger/go-swagger/pull/348) ([casualjim](https://github.com/casualjim)) 80 - fix missing httpkit import in models [#344](https://github.com/go-swagger/go-swagger/pull/344) ([easeway](https://github.com/easeway)) 81 - fixes #330 package for client is client package [#339](https://github.com/go-swagger/go-swagger/pull/339) ([casualjim](https://github.com/casualjim)) 82 - update vendored deps [#338](https://github.com/go-swagger/go-swagger/pull/338) ([casualjim](https://github.com/casualjim)) 83 - adds --with-context for a request scoped net/context [#337](https://github.com/go-swagger/go-swagger/pull/337) ([casualjim](https://github.com/casualjim)) 84 - add support for binary string format [#336](https://github.com/go-swagger/go-swagger/pull/336) ([casualjim](https://github.com/casualjim)) 85 - make enum names for property different from aliased types [#335](https://github.com/go-swagger/go-swagger/pull/335) ([casualjim](https://github.com/casualjim)) 86 - add --scan-models flag for generate spec command [#333](https://github.com/go-swagger/go-swagger/pull/333) ([casualjim](https://github.com/casualjim)) 87 - no pointer for base type in maps [#332](https://github.com/go-swagger/go-swagger/pull/332) ([casualjim](https://github.com/casualjim)) 88 - reinstate --skip-* arguments [#329](https://github.com/go-swagger/go-swagger/pull/329) ([casualjim](https://github.com/casualjim)) 89 - Add tar, gzip support [#327](https://github.com/go-swagger/go-swagger/pull/327) ([jzt](https://github.com/jzt)) 90 - full path for go imports run [#324](https://github.com/go-swagger/go-swagger/pull/324) ([casualjim](https://github.com/casualjim)) 91 - ensure file names don't end with _test [#318](https://github.com/go-swagger/go-swagger/pull/318) ([casualjim](https://github.com/casualjim)) 92 - fix #306 also recognize application/octet-stream in generator [#317](https://github.com/go-swagger/go-swagger/pull/317) ([casualjim](https://github.com/casualjim)) 93 - update changelog [#316](https://github.com/go-swagger/go-swagger/pull/316) ([casualjim](https://github.com/casualjim))