Skip to content

Releases: utrack/clay

v3.2.0

27 May 08:13
Compare
Choose a tag to compare
integration: mod bumps

v3.1.0

23 Mar 07:50
6429581
Compare
Choose a tag to compare

Now supporting optional proto3 fields (#105)

v3.0.1

15 Jan 10:44
6a5a819
Compare
Choose a tag to compare

#103 - Fix for AST checks for source relative implementation path

v3.0.0

01 Sep 16:15
Compare
Choose a tag to compare

Now compatible with the new generator google.golang.org/protobuf.

Read more about this migration here: https://blog.golang.org/protobuf-apiv2.

v2.4.9

17 Jun 06:59
69d768e
Compare
Choose a tag to compare

Changelog

69d768e Merge pull request #90 from bullgare/swagger-as-separate-file
a9b4604 Optional generation of separate swagger

v2.4.7

06 Apr 14:57
Compare
Choose a tag to compare

This release adds automatic test file generation for generated implementation stubs.
Enabled by default; you can disable it via plugin flag tests=false.

Changelog

c0216bd #85: use upside deferring after template generation
93af5eb Merge pull request #82 from wish-master/to_merge
d57b4ad Merge pull request #86 from wish-master/85
2e2f12c Merge remote-tracking branch 'upstream/master' into to_merge
ab3b393 PR-82: add flag to make unit test generation optional
41e07dc PR-82: getImplTemplate refactoring
329f0a9 PR-82: missing required package issue fix
e617103 add unit test files generation support
08d054b cleaned up generated tests in /integration
85d135b fixed goPkg restoration for getServiceImpl
ee1a3dc fixed implementation generation for imported RequestTypes
1dcfad2 handler: varName escapes '!'

v2.4.6

10 Mar 14:31
Compare
Choose a tag to compare

Changelog

753a886 Merge remote-tracking branch 'origin/develop'
3293577 Merge remote-tracking branch 'origin/master' into develop
915222f go mod tidy
a84ed07 goreleaser: fixed path manifest to main
b71f9ec [email protected]
0bca175 integration: removed test for [email protected]
2c9a7e3 swagger: temporarily disabled grpc-gateway DefaultErrors

v2.4.4

17 Feb 13:34
Compare
Choose a tag to compare

Changelog

3a6dd15 Merge pull request #77 from bullgare/removed-dependency-from-logrus
abed201 Removed dependency from logrus library
8116ed6 gen templates: now initializing vars for nested body bindings
6885a58 generator: allowed substruct binding in path, fixes #79

v2.2.0

05 Jul 13:38
Compare
Choose a tag to compare
  • Generated ServiceDesc now supports options passed via desc.Apply(opts) and implements transport.ConfigurableServiceDesc

  • Now executing gRPC middlewares for HTTP calls
    For execution, pass your interceptor via desc.Apply(transport.WithUnaryInterceptor(ic))
    clay/server does that automatically when using WithGRPCUnaryMiddlewares() option.

v2.1.1

29 Jun 13:07
Compare
Choose a tag to compare
  • Integration tests do not depend on local protoc-gen-goclay anymore
    (#28)
  • Server can send custom response headers and HTTPClient users can read them (#27)
    • Clients can use grpc.Header() option to retrieve response headers when
      using generated HTTP client.
    • Server can use grpc.SetHeader/grpc.SetTrailer in handlers to add custom
      response headers and trailers.
    • Headers added via metadata.AppendToOutgoingContext() are passed
      through as well.
  • Generated HTTPClient actually uses a given context now.