Repository navigation
Releases
Releases · ondewo/ondewo-s2t-client-java
Release 7.6.0
Release ONDEWO S2T Java Client 7.6.0
Improvements
- Tracking API Version 7.6.0 ( Documentation )
- Generated with ondewo-proto-compiler 5.17.0 (protoc 35.1). New runtime floors: protobuf-java 4.35.1, grpc-java 1.85.1 and proto-google-common-protos 2.82.0.
Release 7.5.1
Release ONDEWO S2T Java Client 7.5.1
New Features
- TLS and mutual TLS helper in the hand-written package
com.ondewo.s2t.channel(kept by a
regeneration):ClientConfig(host,port,grpcCert,grpcClientCert,grpcClientKey,
useSecureChannel, defaulttrue) andGrpcChannels.newChannel(config)/
GrpcChannels.newChannelBuilder(config). One channel serves every stub of the client.- The certificate fields take PEM content, not file paths. Non-PEM material (typically a path) or an
encrypted / non-PKCS#8 key is refused withIllegalArgumentExceptionbefore any connection is
attempted. An emptygrpcCertmeans the JVM trust store. grpcClientCertandgrpcClientKeyare both-or-neither: setting only one makes
ClientConfig.Builder.build()throw. Both empty means plain server-authenticated TLS.useSecureChannel(false)with a client identity throws instead of silently dropping it. A plaintext
channel logs aWARNINGnaminghost:portthroughjava.util.logging; the logging configuration of
the application is never touched.ClientConfig.toString()showsgrpcClientKeyas***REDACTED***(empty when unset) and the
certificates only as their length; no error message renders a PEM, the key or a whole config.- A bare IPv6 literal host is bracketed (
::1->[::1]:50051); PEMs with CRLF line endings work.
- The certificate fields take PEM content, not file paths. Non-PEM material (typically a path) or an
- Channel defaults aligned with the ONDEWO Python clients where grpc-java exposes them: keepalive timeout
20 s,keepAliveWithoutCalls(false),maxInboundMessageSize(Integer.MAX_VALUE).- Keepalive time is 5 minutes, not the Python clients' 30 s: grpc-java has no
http2.max_pings_without_data, so a 30 s ping on a silent stream is answered by a default grpc-core
server with atoo_many_pingsGOAWAY (measured against a grpcio 1.81 server). Pair a server that
permits faster pings with a shorterkeepAliveTimeon the builder. - Not available in grpc-java and documented as gaps:
http2.max_pings_without_data,
max_reconnect_backoff_ms(grpc-java's backoff caps at 120 s), and no retry policy is configured
(only gRPC's transparent retries).
- Keepalive time is 5 minutes, not the Python clients' 30 s: grpc-java has no
Improvements
- Still tracking API Version 7.5.0
- The stubs are generated by the ONDEWO proto compiler
5.15.2(was5.15.1). - README section "TLS, mutual TLS and certificates": modes, loading PEMs from files, a test PKI with openssl,
channel defaults, security notes and troubleshooting.
Tests
ClientConfigTestandGrpcChannelsTest: real TLS handshakes against a loopback Netty server with a PKI
generated at test time (BouncyCastle, test scope only; no key is committed) - TLS with a custom CA, mutual
TLS, CRLF PEMs, IPv6[::1], empty identity = plain TLS; missing client certificate, client from an
unrelated CA and wrong CA end inUNAVAILABLE; half pair, plaintext with identity, insecure warning and
redaction edge cases. The 100 % JaCoCo gate now also coverscom/ondewo/s2t/channel/**.ReleaseNotesTestpins theRELEASE.mdheading spelling and the*****separator the GitHub release
body is sliced by, and that the current version has non-empty notes.
Release 7.5.0
Release ONDEWO S2T Java Client 7.5.0
New Features
- Initial release of the ONDEWO S2T (Speech-to-Text) gRPC client for Java. The library
is generated from the protobuf definitions of ondewo-s2t-api
by theondewo-java-proto-compilerimage of the
ONDEWO proto compiler release
5.15.1:protoc --java_outfor the message classes,protoc-gen-grpc-javafor the
service stubs, and a renderedpom.xmlthat pins the gRPC, protobuf and
proto-google-common-protosversions the stubs were generated against. The packaged artifact is
com.ondewo:ondewo-s2t-client-java, compiled withmaven.compiler.release=11, and ships a
sources jar alongside the binary jar. - The generated stubs (
src/main/java) and the renderedpom.xmlare committed, so the
library is consumable, IDE-openable and buildable without docker. - A JUnit 5 suite (19 tests) exercises the committed stubs for real: message round trips through
the binary marshallers, enum zero values, descriptor package names, the generated
Speech2TextGrpcservice descriptor, and one unary call end to end over the gRPC in-process
transport.com.ondewo.s2t.auth.BearerTokenis the one hand-written class - the authorization
helper - and JaCoCo enforces 100 % instruction, branch and method coverage over it, bound
to theverifyphase. make buildregenerates the whole client from the pinned submodules - api protos and proto
compiler - andmake testverifies that every.protoproduced java code before running
mvn verify(suite + coverage gate). Both run in CI on JDK 11 and JDK 21; no CI step is
conditional, so a missing or truncated client turns the run red instead of skipping.