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 of io.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 in StubRpcOverloadGenerator

    ๐Ÿ”Œ 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