0.42.47
版本发布时间: 2024-07-26 05:05:49
apple/servicetalk最新发布版本:0.42.47(2024-07-26 05:05:49)
This is a minor maintenance release appropriate for all ServiceTalk users that contains several useful improvements and bug fixes. This release is expected to be a "drop-in" replacement for all prior 0.42.X releases.
Changes
New Features
-
https://github.com/apple/servicetalk/commit/434da832118f72b4ea8869dd6704a6a186d33090 - Add
Publisher.fromInputStream(InputStream, ByteArrayMapper)
(#2989)- Deprecated pre-existing
Publisher.fromInputStream(InputStream)
andPublisher.fromInputStream(InputStream, int)
overloads.
- Deprecated pre-existing
Bug Fixes
-
https://github.com/apple/servicetalk/commit/821619a7309095f9dffdb9cef72e62707402288a - Fix discovery flow for
PartitionedHttpClient
(#3001) - https://github.com/apple/servicetalk/commit/e3759e8b155ce78e52d35c935635becf37278db1 - LoadBalancer should always consider the first events as initial state (#3004)
-
https://github.com/apple/servicetalk/commit/3897efbc089db88e94aeab4b719f3c7c0e8363f9 - Avoid race b/w
ServiceDiscoverer
events after cancel and re-subscribe (#3005) -
https://github.com/apple/servicetalk/commit/b58d0b520004d860c9f31f93fd1efcdf1affa057 - Incorrect state possible after retrying
ServiceDiscoverer
events (#3006)
Improvements
-
https://github.com/apple/servicetalk/commit/4ce7d2c1abb9f289f813c9731a05f43a3b99701a -
StreamingConnectionFactory
should set hostnameVerificationAlgorithm to an empty string (#2988) - https://github.com/apple/servicetalk/commit/efb24b35c69ae11500f03d97ecc91182035b1c67 - Align Set-Cookie attribute names with RFC6265 syntax (#2995)
Experimental loadbalancer changes
- https://github.com/apple/servicetalk/commit/c4198c296696617b1d93926876cdbcc710b232cc - loadbalancer-experimental: allow configuring the pending request penalty (#2991)
- https://github.com/apple/servicetalk/commit/d78f85a65aeed83dd7fbdcb6b46a232f0bc1a0b2 - loadbalancer-experimental: Narrow ewma config params from long to int (#2994)
-
https://github.com/apple/servicetalk/commit/72e9511700e1a3ead3c1d7ddf38bbc64071550ad - loadbalancer-experimental:
DefaultLoadBalancer
logs settings on startup (#3000) - https://github.com/apple/servicetalk/commit/e1d0ba20245632370b11c92dd416be8f1138a75f - loadbalancer-experimental: remove deprecated APIs (#2998)
- https://github.com/apple/servicetalk/commit/dafeeb078bccbc020f457dff31a5376d726126a4 - loadbalancer-experimental: subscribe is the last thing we do in DefaultLB constructor (#3007)
- https://github.com/apple/servicetalk/commit/0a7f539041e6d357e30aaa94c4a9652222c16719 - loadbalancer-experimental: add LB observer method for when the host set changes (#3003)
Dependencies
- https://github.com/apple/servicetalk/commit/807c92c72c05c86f990526cd63d52dc8d881b559 - Update Netty 4.110 -> 4.1.112 (#2992, #3017)
- https://github.com/apple/servicetalk/commit/a98f1aefaf55f691268b0a7cc9937bbd3fbef4b8 - Update protobuf 3.25.1 -> 3.25.3
- https://github.com/apple/servicetalk/commit/cc511403fe06c8ccb0658b05e58bddded2653b7a - Revert "Update com.sun.xml.bind:jaxb-impl 2.3.3 -> 2.3.9" (#3019)
Documentation
-
https://github.com/apple/servicetalk/commit/b700ef4a95f22227c1564df39bbc28a7536899a1 - Enhance clarifications for
ServiceDiscoverer
contract (#3002) - https://github.com/apple/servicetalk/commit/5cd901d7741ce77909eeadb23e34dd0ca97736c2 - Add HTTP file serving examples (#3010, #3016)
Thank you
Every idea, review, and bug-report counts and so we thought it is worth mentioning those who helped in this area. Please report any unintended omission.
@bryce-anderson @chrisvest @daschl @idelpivnitskiy @mgodave @Scottmitch @tkountis