kroto-plus v0.2.2-RC3 Release Notes

Release Date: 2019-03-14 // over 2 years ago

    This will be the last RC before the gRPC Coroutines API is finalized. Any feedback or questions is encouraged. Support for the legacy coroutine stub extension APIs will be removed in the next release. This release refactors generated stub extensions to use the new gRPC Coroutines API.

    ๐Ÿ”– Version 0.2.2-RC3


    • ๐Ÿ†• New: Update Kotlin Poet to 1.0.1 (#30)


    • ๐Ÿ†• New: Propagate client scope cancellation to server using ClientCall.cancel (#34)
    • ๐Ÿ†• New: Server rpc scope is now bound to cancellation notifications from the client (#23)
    • ๐Ÿ›  Fix: Race condition between StreamObserver.onNext and StreamObserver.onCompleted when target channel is full
    • ๐Ÿ›  Fix: Reduce @KrotoPlusInternalApi experimental level to Experimental.Level.ERROR to prevent external usage
    • ๐Ÿ›  Fix: Remove redundant usages of @ObsoleteCoroutinesApi in call builders
    • ๐Ÿ›  Fix: Remove unused experimental class CompletableDeferredObserver
    • ๐Ÿ›  Fix: Annotate SuspendingUnaryObserver as an internal API
    • ๐Ÿ›  Fix: Remove unnecessary creation of CoroutineScope in newSendChannelFromObserver
    • ๐Ÿ†• New: Introduce ServiceScope interface and remove CoroutineScope from generated service classes (#35)
    • ๐Ÿ†• New: Use Message.getDefaultInstance() as default value of stub request parameters
    • ๐Ÿ†• New: Increased code coverage across the board
    • ๐Ÿ— Deprecated: Legacy service stub rpc builders in favor of new back-pressure supporting stub APIs

    gRPC Stub Extension

    • ๐Ÿ†• New: Refactored code gen to support new coroutines APIs (#31)
    • ๐Ÿ†• New: Generate no-arg extensions for all rpc methods with non streaming request parameters. Default request is now set to Message.getDefaultInstance()

    ๐Ÿ— Proto Builders (DSL)

    • ๐Ÿ›  Fix: Resolve @DslMarker insertion regression introduced in 0.2.2-RC1 (#32)