armeria-0.42.0
New features
-
#421 #424 Add
PathParamExtractorwhich extracts parameters from a URI path.PathParamExtractor e = new PathParamExtractor("/users/{userId}"); assert e.extract("/users/lespinside").get("userId").equals("lespinside");
-
(Potentially breaking) #461 #483 Support Tomcat 8.5
armeria-tomcatwill support the latest stable Tomcat release.- Use
armeria-tomcat8.0to use Tomcat 8.0.
Improvements
- #475 Reimplement or copy the internal implementations from GRPC
- (Potentially breaking) #486 Update the dependencies
- Dropwizard Metrics 3.2.2
- Kafka 0.10.2.0
- Netty 4.1.9
- Retrofit 2.2.0
Bug fixes
- #472 Fix a missing
returninarmeria.jsforDocService - #473 #474 Allow 'charset=utf-8' parameter in 'content-type' and 'accept' headers of Thrift requests
- #487 Fix
AssertionErrordue to brokenRequestLogAvailabilitySet.of(int flags)implementation
Known issues
- This release depends on Netty 4.1.9, which has a bug related with domain name resolution. If you are in an IPv4 environment, specify the
-Djava.net.preferIPv4Stack=trueoption to work around it. We will release a new version that depends on the Netty version with the fixes once it's available.