0.39.0
Changes
This patch release contains the following significant changes:
New features
- 7aa4751 - Add client and server support for gRPC deadlines (#1462)
- 808b31c - Add TCP Fast Open support (#1375)
- 1fc3b68 - Allow overriding key/trust managers on
SslConfig
builders (#1476) - cf51335 -
H1SpecExceptions
add option to allow LF without proceeding CR (#1475) - 6df4265 - Add
Publisher.scanWithLifetime(ScanWithLifetimeMapper)
operator (#1450) - c63d265 - Add
Publisher.timeoutTerminal(Duration)
operator (#1445) - 9fd0add - Publisher, Single, Completable
onError*
operators (#1435) - 786eed8 - Add
Single.zipWith
andSingle.zip
operators (#1431) - fc33ee5 - Implement
CharSequences#parseLong(CharSequence)
(#1469) - a953261 - Improve timeout support for HTTP (#1456)
- d7ecc59 - Add a ServiceTalk debugging utilities example (#1459)
- 59c5411 - Enable SHA256 and SHA512 checksums for published artifacts (#1485)
API or Behavior changes
- 58aa4da -
CharSequences.newAsciiString
acceptCharSequence
(#1470) - dab5c28 - Deprecate
CharSequences.isAsciiString
and replace its internal usages (#1451) - dcdf1d5 - Remove deprecated
io.servicetalk.http.api.CharSequences
(#1368) - da2b605 - Publisher, Single, Completable rename
idleTimeout
->timeout
(#1446)idleTimeout
operators are deprecated now, migrate to the new operator nametimeout
- 1306f84 - Deprecate
ContentCodec
API withoffest
&length
(#1440)
Bug fixes
- dd4dc47 - Fix unsubscribed message-body when
PayloadInfo#isEmpty
returnstrue
(#1495) - 5b0100b - Fix duration comparison bug in timeout filters and reduce code duplication (#1491)
- 75a546f - Use only monotonic clock in deadline calculations (#1481)
- 0372955 - FlakyTest: CancellationTest - Improve close handling (#1404)
- 8f3db89 -
Publisher#scanWith(ScanWithMapper)
incorrect/missing terminal after cancel (#1458) - 35b4293 - Smaller max delays and retry/repeat strategies with delta jitter (#1447)
- 57c7e74 - gRPC deserializer, multiple nio buffers with multiple messages (#1449)
Improvements
- 97b45c6 - Optimize HTTP messages with empty payload body (#1479)
- 82f2dd3 - Do not concatenate
Publisher.empty()
message body (#1497) - fb8af44 -
HttpTimeoutFilter
include original timeout on message body timeout (#1494) - 925142b - Add
DurationUtils#isInfinite
utility (#1496) - ee527ec - Move
Publisher#toNanos
toDurationUtils
(#1493) - c3ece23 -
H2PriorKnowledgeFeatureParityTest
remove exception verification workaround (#1477) - 097ea26 - Verify that
HttpHeaders
impl for HTTP/2 does not throwNullPointerException
(#1425) - 5ee8446 - Reduce initial size of listeners queue in
WriteStreamSubscriber
(#1465) - 3a253fb -
Publisher.toNanos(Duration)
should be static (#1454) - 0a154c2 - Run JUnit 4 based tests using
junit-vintage-engine
(#1452) - d5cdaac - Migrate tests in
servicetalk-concurrent-api
module from junit4 to junit5 (#1415) - bf7b3a2 - Remove obsolete and unproductive JVM options (#1437)
- ecb85bd -
RangeIntPublisher
add explicit cast toint
(#1443) - 58dcb6f - Skip
grpc-accept-encoding
when the only option isidentity
(#1433) - 0585f9f - Add
Publisher.from(..)
2 and 3 arity overloads (#1432)
Documentation
- dc35df8 - Update
MAINTAINERS.adoc
(#1448) - 4d60e67 - Fix typo in
Publisher.from(T, T, T)
javadoc (#1439)
Github actions
- bc810aa - Github Actions Remove
--max-workers
gradle param (#1444) - c26cac6 - Github Actions Add CodeQL Analysis (#1442)
- 627c354 - Github Actions dawidd6/action-download-artifact set workflow_conclusion (#1441)
Dependency upgrades
- 376282b - Remove jcenter dependencies from build (#1436)
- d4037d3 - Update netty 4.1.60 -> 4.1.63, netty-tcnative 2.0.36 -> 2.0.38 (#1466)
- 8366265 - Update log4j 2.14.0 -> 2.14.1 (#1483)
- 31a86f5 - Update grpc-java 1.36.0 -> 1.36.1 (#1460)
- 5c39d13 - Update grpc-java 1.36.1 -> 1.37.0 (#1482)
- 5683e5b - Update checkstyle to 8.41.1, pmd to 6.33.0, spotbugs-plugin to 4.7.0 (#1484)
- ff0ec96 - Update JMH 1.28 -> 1.29 and me.champeau.jmh plugin 0.5.3 -> 0.6.3 (#1468)
- 14de7f9 - Bump me.champeau.jmh from 0.6.3 to 0.6.4 (#1480)
- 1c6d167 - Bump actions/cache from v2.1.4 to v2.1.5 (#1478)
- 12ddffe - Bump actions/setup-java from v1 to v2 (#1471)
- 92b55e3 - Bump scacap/action-surefire-report (#1457)
- ec26d27 - Bump dawidd6/action-download-artifact (#1434)
- 4946440 - Update dependencies for site documentation (#1461)
Thank you
Every idea and bug report counts and so we thought it is worth mentioning those who helped in this area. Please report an unintended omission.