Releases: RussellLuo/kun
Releases · RussellLuo/kun
v0.4.5
- generator: Fix returnErr() to handle interface types properly (#29)
- oas2: Parse httpcodec.FormFile fields correctly for file uploads (18ffa10)
- appx: Simplify cronapp/httpapp/mixedapp and add cronapp2 (47c69ba, 9783293)
- generator: Make ParseOptionPairs() a common utility function (0a0e000)
- generator: Add support for generating the Cron Job Handler (6cb4f49, 6df7791)
- docutil: Add Transport.Has() for inclusion judgements (c726dba)
- Use caseconv.UpperFirst instead of strings.Title (cc99725)
- Upgrade dependencies (274032a, 077ad3c, 3bebb28, 972e03d)
v0.4.4
- generator: Improve the endpoint generator (09c7c20)
- generator: Improve the HTTP-client generator (8bd4856)
- generator: Add support for generating Event Subscribers & Publishers (37b124c, 48f7911, d3832b6, 32404ef)
- generator: Remove the HTTP-test generator in favor of protogodev/httptest (36fbf97)
- pkgtool: Fix PkgPathFromDir and improve PkgNameFromDir (7e9b8d4, 8bf9f62)
- oas2: Add support for content negotiation (4dbf13c)
- Refactor appx (a434bc4)
- Minor improvements (207179d)
v0.4.3
- generator: Improve the OAS generator (f439675)
- generator: Improve the HTTP-server generator (0342697, ab5bada)
- annotation: Make
//kun:body -
actually work (0e5b68e, 2c3e439) - annotation: Make
//kun:alias
actually work (bd2148d) - Remove deprecated packages (c0874b3, c5cb089)
- Rename pkg/httpoption2 to pkg/httpoption (bda7f3a)
- annotation: Remove support for old annotation syntax (24baa63)
- annotation: Add support for using single quotes in
//kun:param
(7ebd937)
v0.4.2
v0.4.1
v0.4.0
v0.3.2
v0.3.1
v0.3.0
- Add an option "-snake" for
kokgen
- Fix the path parameter binding
- Improve generators
- Add an option "-flat" for
kokgen
- Add support for generating gRPC server (#14, 3c0e3ad, c15265c, c35bd68)
- Add gRPC examples (helloworldgrpc and profilesvcgrpc)
v0.2.10
- Remove deprecated functions
DecodeSliceToBasic()
/EncodeBasicToSlice()
andDecodeMapToStruct()
/EncodeStructToMap()
- Remove deprecated package pkg/codec/http
- Cleanup
werror.Error
- Improve the HTTP-test generator to handle variadic arguments properly
- Enhance
@kok(body)
to support optional tags "name" and "descr" - Add support for request validation (#10)
- Upgrade appx and improve httpapp and cronapp