kroto-plus v0.1.3 Release Notes
Release Date: 2018-08-13 // over 5 years ago-
๐ Version 0.1.3
- 0.1.3 is a complete rewrite.
- Most notable changes
- Code compiler has been refactored into a protoc plugin.
- User defined code generator scripts are now supported.
- Previous cli compiler has been deprecated in favor of its protoc implementation
๐ CHANGELOG
- ๐ New: Updated Kotlin runtime to
1.2.60
- ๐ New: Updated Coroutine version to
0.24.0
- ๐ New: Updated Protobuf version to
3.6.1
- ๐ New: Updated gRPC version to
1.14.0
๐ Protoc Plugin
- ๐ New: Converted Kroto+ to protoc plugin and implemented default generators
๐ User Defined Code Generation Scripts
- ๐ New: Allow users to define scripts to be used for adding content to Protoc insertion points
- ๐ New: Allow users to define scripts for arbitrary code generation.
- ๐ New: Support precompiled script jars as well as dynamic script compilation.
๐ Proto Builders
- ๐ New: Added unwrap option to declare builder extensions as top level members.
- ๐ New: Builder generator now supports creating builders for nested message types
- ๐ New: Builder generator now creates extensions for nested message field builders.
- ๐ New: Added plus operator extensions for messages
- ๐ Fix: Builder generator now explicitly sets the result type as non null.
Coroutines
- ๐ New: Added
GrpcContextContinuationInterceptor
making the grpc context available during suspending service calls in coroutines
๐คก Mock Services
- โ
Deprecated: The
ServiceBindingServerRule
has been deprecated due to a change in the latest version ofio.grpc:grpc-testing
- ๐ New: Helper methods generated for clearing the response queue start in between tests.
- ๐ New: Option added for creating and naming a collection of mock services for easier usage.
- ๐ Fix: Moved generated response queue builders into Mock service file.
Extendable Messages (Experimental)
- ๐ New: Generator added for creating extendable messages and inserting pseudo companion objects into java message classes.
Legacy Compiler
- ๐ Fix: Changed visibility of cli arguments to internal
- ๐ Fix: Removed usage of deprecated
RpcBidiChannel
inStubRpcOverloadGenerator
๐ Gradle Plugin
- ๐ Fix: Added missing dsl configuration builder for
ProtoTypeBuildersGeneratorConfig
- ๐ Fix: Configuration is no longer overridden when used in a multi project build
- ๐ Fix: Gradle Kotlin DSL support added for generator configuration