github.com/go-swagger/go-swagger@v0.31.0/notes/v0.5.9.md (about) 1 # Change Log 2 3 ## [0.6.0](https://github.com/go-swagger/go-swagger/tree/0.6.0) (2016-05-23) 4 [Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.5.0...0.6.0) 5 6 **Implemented enhancements:** 7 8 - x-nullable: false doesn't affect required values [\#458](https://github.com/go-swagger/go-swagger/issues/458) 9 - Refactor package structures [\#420](https://github.com/go-swagger/go-swagger/issues/420) 10 11 12 **Fixed bugs:** 13 14 - No validator code call for array items if they are other models. [\#524](https://github.com/go-swagger/go-swagger/issues/524) 15 - escaped slashes in path ids are incorrectly decoded [\#522](https://github.com/go-swagger/go-swagger/issues/522) 16 - Multipart form generates unnecessary variable that lead to compile error [\#511](https://github.com/go-swagger/go-swagger/issues/511) 17 - Negotiated content type producer uses DefaultProduces even when matched route does not have a "produces" for that type. [\#499](https://github.com/go-swagger/go-swagger/issues/499) 18 - Recursive definition causes stack overflow [\#483](https://github.com/go-swagger/go-swagger/issues/483) 19 - Fail and log on errors adding user-defined CLI flags [\#470](https://github.com/go-swagger/go-swagger/issues/470) 20 - Specification basePath is not respected [\#465](https://github.com/go-swagger/go-swagger/issues/465) 21 - Incorrect case in generated model code referencing model name [\#460](https://github.com/go-swagger/go-swagger/issues/460) 22 - Presence of required nested object is not validated [\#455](https://github.com/go-swagger/go-swagger/issues/455) 23 - Incorrectly generated Marshaller causes unlimited recursive Marshal calls [\#454](https://github.com/go-swagger/go-swagger/issues/454) 24 - Optional nested objects are not validated [\#453](https://github.com/go-swagger/go-swagger/issues/453) 25 - Swagger generate oauth2 scope [\#449](https://github.com/go-swagger/go-swagger/issues/449) 26 - Panic on form validation for mutlipart upload [\#438](https://github.com/go-swagger/go-swagger/issues/438) 27 - x-www-form-urlencoded cannot be consumed in go-swagger 0.5.x [\#433](https://github.com/go-swagger/go-swagger/issues/433) 28 - Incorrect unmarshal code generated for polymorphic object parent [\#423](https://github.com/go-swagger/go-swagger/issues/423) 29 30 31 **Closed issues:** 32 33 - Using user defined logger instead of fmt.Printf [\#528](https://github.com/go-swagger/go-swagger/issues/528) 34 - where is the spec validator tested [\#525](https://github.com/go-swagger/go-swagger/issues/525) 35 - Integer enum validation always fail [\#523](https://github.com/go-swagger/go-swagger/issues/523) 36 - Skip parameter fields with json tag `json:"-"` [\#520](https://github.com/go-swagger/go-swagger/issues/520) 37 - Typo multipart/form-data as "Mulitpart" [\#518](https://github.com/go-swagger/go-swagger/issues/518) 38 - Generate models for internal use only [\#516](https://github.com/go-swagger/go-swagger/issues/516) 39 - Parameters template bug leads to errors in header validation [\#494](https://github.com/go-swagger/go-swagger/issues/494) 40 - types don't match: expect map key string or int get: bool [\#490](https://github.com/go-swagger/go-swagger/issues/490) 41 - go swagger generated code is not fully golint-able [\#487](https://github.com/go-swagger/go-swagger/issues/487) 42 - Validator treats array in example as invalid data [\#478](https://github.com/go-swagger/go-swagger/issues/478) 43 - Unnecessary "required" validation for array items [\#472](https://github.com/go-swagger/go-swagger/issues/472) 44 - Add hints for the type names generated by swagger [\#471](https://github.com/go-swagger/go-swagger/issues/471) 45 - go-swagger v0.5.0 - cannot find package "golang.org/x/tools/go/buildutil" [\#434](https://github.com/go-swagger/go-swagger/issues/434) 46 - Add a configuration layer for TLS. [\#430](https://github.com/go-swagger/go-swagger/issues/430) 47 48 49 **Merged pull requests:** 50 51 - Added possibility for users to defined their custom logger. [\#529](https://github.com/go-swagger/go-swagger/pull/529) ([vburenin](https://github.com/vburenin)) 52 - update vendored packages [\#527](https://github.com/go-swagger/go-swagger/pull/527) ([casualjim](https://github.com/casualjim)) 53 - Fixed bug for not generated validator call if there is an array of complex objects. [\#526](https://github.com/go-swagger/go-swagger/pull/526) ([vburenin](https://github.com/vburenin)) 54 - skip fields in parameter structs with struct tag `json:"-"` [\#521](https://github.com/go-swagger/go-swagger/pull/521) ([jlburkhead](https://github.com/jlburkhead)) 55 - Fix typo mulit vs multi [\#519](https://github.com/go-swagger/go-swagger/pull/519) ([fiorix](https://github.com/fiorix)) 56 - add support for oauth2 to generator [\#517](https://github.com/go-swagger/go-swagger/pull/517) ([casualjim](https://github.com/casualjim)) 57 - fail on invalid command line definition [\#514](https://github.com/go-swagger/go-swagger/pull/514) ([casualjim](https://github.com/casualjim)) 58 - remove unused param var [\#513](https://github.com/go-swagger/go-swagger/pull/513) ([casualjim](https://github.com/casualjim)) 59 - update context, imports, swag, runtime, loads and govalidator [\#512](https://github.com/go-swagger/go-swagger/pull/512) ([casualjim](https://github.com/casualjim)) 60 - Add support for strfmt.MAC [\#509](https://github.com/go-swagger/go-swagger/pull/509) ([tzneal](https://github.com/tzneal)) 61 - Put params fix [\#508](https://github.com/go-swagger/go-swagger/pull/508) ([ivan1993spb](https://github.com/ivan1993spb)) 62 - Added missing wait for the client generator. [\#507](https://github.com/go-swagger/go-swagger/pull/507) ([casualjim](https://github.com/casualjim)) 63 - Leveraging Go goroutings to speed up generation process in multicore environment. [\#504](https://github.com/go-swagger/go-swagger/pull/504) ([vburenin](https://github.com/vburenin)) 64 - Removed redundant code. Less JSON parsing. Speedups on many things in… [\#503](https://github.com/go-swagger/go-swagger/pull/503) ([vburenin](https://github.com/vburenin)) 65 - Combined fix of 453 and 455 bugs. [\#502](https://github.com/go-swagger/go-swagger/pull/502) ([vburenin](https://github.com/vburenin)) 66 - Prevents parsing structs that are needed when parsing dicovered schemas [\#498](https://github.com/go-swagger/go-swagger/pull/498) ([seanbrant](https://github.com/seanbrant)) 67 - Add missed go code generation for \#494 [\#497](https://github.com/go-swagger/go-swagger/pull/497) ([galaxie](https://github.com/galaxie)) 68 - Use canonicalized keys to retrieve values from http.Request.Header [\#495](https://github.com/go-swagger/go-swagger/pull/495) ([galaxie](https://github.com/galaxie)) 69 - Pascalize method arguments in client operations - fixes \#487 [\#488](https://github.com/go-swagger/go-swagger/pull/488) ([MStoykov](https://github.com/MStoykov)) 70 - 420 package refactor [\#486](https://github.com/go-swagger/go-swagger/pull/486) ([casualjim](https://github.com/casualjim)) 71 - move analysis out of spec package [\#485](https://github.com/go-swagger/go-swagger/pull/485) ([casualjim](https://github.com/casualjim)) 72 - generator: Use a JSON decoder with UseNumber enabled for unmarshaling [\#482](https://github.com/go-swagger/go-swagger/pull/482) ([chancez](https://github.com/chancez)) 73 - updates unmarshal for discriminated types as property [\#480](https://github.com/go-swagger/go-swagger/pull/480) ([casualjim](https://github.com/casualjim)) 74 - second part of bugfix [\#479](https://github.com/go-swagger/go-swagger/pull/479) ([casualjim](https://github.com/casualjim)) 75 - validate items more often [\#475](https://github.com/go-swagger/go-swagger/pull/475) ([casualjim](https://github.com/casualjim)) 76 - Use cache as it is designed to be used, not as it is actually used. [\#474](https://github.com/go-swagger/go-swagger/pull/474) ([vburenin](https://github.com/vburenin)) 77 - Required flag is reset for array items. [\#473](https://github.com/go-swagger/go-swagger/pull/473) ([vburenin](https://github.com/vburenin)) 78 - fix appveyor builds [\#468](https://github.com/go-swagger/go-swagger/pull/468) ([casualjim](https://github.com/casualjim)) 79 - generator: fix package assumption on server generation [\#467](https://github.com/go-swagger/go-swagger/pull/467) ([jwmaag](https://github.com/jwmaag)) 80 - Use spec BasePath when it is non-empty. [\#466](https://github.com/go-swagger/go-swagger/pull/466) ([nikhilm](https://github.com/nikhilm)) 81 - fix some issues with additional properties generation [\#461](https://github.com/go-swagger/go-swagger/pull/461) ([casualjim](https://github.com/casualjim)) 82 - X nullable first [\#459](https://github.com/go-swagger/go-swagger/pull/459) ([vburenin](https://github.com/vburenin)) 83 - Fix https://github.com/go-swagger/go-swagger/issues/449 [\#451](https://github.com/go-swagger/go-swagger/pull/451) ([galeone](https://github.com/galeone)) 84 - Add validation required fix and corresponding package tests [\#450](https://github.com/go-swagger/go-swagger/pull/450) ([galaxie](https://github.com/galaxie)) 85 - Fixed bug in httpkit/client/runtime.go Submit\(\) [\#448](https://github.com/go-swagger/go-swagger/pull/448) ([ritchida](https://github.com/ritchida)) 86 - also exclude models/handlers in the client [\#447](https://github.com/go-swagger/go-swagger/pull/447) ([casualjim](https://github.com/casualjim)) 87 - add discard consumer/producer for http mimes [\#443](https://github.com/go-swagger/go-swagger/pull/443) ([casualjim](https://github.com/casualjim)) 88 - add note to readme about homebrew package [\#441](https://github.com/go-swagger/go-swagger/pull/441) ([casualjim](https://github.com/casualjim)) 89 - Fix typo \(defintion -\> definition\) [\#440](https://github.com/go-swagger/go-swagger/pull/440) ([flavioribeiro](https://github.com/flavioribeiro)) 90 - Improve error message [\#437](https://github.com/go-swagger/go-swagger/pull/437) ([abclogin](https://github.com/abclogin)) 91 - Bring back build util [\#435](https://github.com/go-swagger/go-swagger/pull/435) ([casualjim](https://github.com/casualjim)) 92 - Added user hook to config TLS layer. [\#432](https://github.com/go-swagger/go-swagger/pull/432) ([vburenin](https://github.com/vburenin)) 93 - \[wip\] once and for all work out the rules for pointing to things [\#431](https://github.com/go-swagger/go-swagger/pull/431) ([casualjim](https://github.com/casualjim)) 94 - disables code coverage for automated builds for a while [\#429](https://github.com/go-swagger/go-swagger/pull/429) ([casualjim](https://github.com/casualjim)) 95 - Fixes some issues with empty bodies [\#428](https://github.com/go-swagger/go-swagger/pull/428) ([casualjim](https://github.com/casualjim)) 96 - Improve error message [\#427](https://github.com/go-swagger/go-swagger/pull/427) ([abclogin](https://github.com/abclogin)) 97 - fix default produces [\#424](https://github.com/go-swagger/go-swagger/pull/424) ([casualjim](https://github.com/casualjim)) 98 - increase circle ci default timeout [\#419](https://github.com/go-swagger/go-swagger/pull/419) ([pytlesk4](https://github.com/pytlesk4))