Finatra v19.11.0 Release Notes
Release Date: 2019-11-06 // over 4 years ago-
๐ Fixed
- ๐ finatra-http: Better handling of URI decoding issues when extracting path parameters for
๐ป routing. If we cannot extract a path pattern, and the exception is not intercepted by a
๐ป user-defined Exception Mapper, we will now explicitly return a 400 - BAD REQUEST.
๐ Fixes #507. 5f293844
โ Added
- ๐ finatra: Add initial support for JDK 11 compatibility. dfc521c9
- ๐ inject-core: Add support for optional binding in c.t.inject.TwitterModule.
285da3bb
๐ Changed
- finatra-http: (BREAKING API CHANGE) AsyncStream[Buf] => AsyncStream[String] and
Reader[Buf] => Reader[String] handlers will always be tread the output as a JSON arrays of
Strings. Whereas, before, the incoming bytes would have been converted to String and
returned as-is. 43eaa555 - ๐ finatra: Deprecate c.t.finatra.http.modules.DocRootModule. Introduce FileResolverModule.
๐ง The DocRootModule defines configuration flags for the FileResolver which was moved from
๐ง finatra/http to a more correctly generic location in finatra/utils. However, configuration for
๐ง injection of a properly configured FileResolver is still incorrectly tied to HTTP because of the
๐ DocRootModule. Thus, we deprecate the DocRootModule and introduce the
c.t.finatra.modules.FileResolverModule which is defined closer to the
c.t.finatra.utils.FileResolver in finatra/utils. This allows the FileResolver to be properly
๐ง configured outside of HTTP concerns. 5a97b2aa - โก๏ธ finatra-thrift: Updated BUILD files for Pants 1:1:1 layout. c46209fd
- inject-ports: Add finatra/inject/inject-ports which has c.t.inject.server.Ports and
c.t.inject.server.PortUtils. 5676d038 - ๐ inject-utils: Move AnnotationUtils to c.t.inject.utils.AnnotationUtils and make public
for use. 0ac7af99 - โก๏ธ finatra-http: Updated package structure for Pants 1:1:1 layout. Moved META-INF/mime.types file
to finatra/utils which is where the FileResolver is located for proper resolution of mime types
from file extension. 57555f80
- ๐ finatra-http: Better handling of URI decoding issues when extracting path parameters for