2.10.0
New
-
Support using
Unitas a response type. This can be used for non-body HTTP methods likeHEADor body-containing HTTP methods likeGETwhere the body will be discarded without deserialization. -
kotlinx.serialization converter!
This was imported from github.com/JakeWharton/retrofit2-kotlinx-serialization-converter/ and remains unchanged from its 1.0.0 release.
The Maven coordinates are
com.squareup.retrofit2:converter-kotlinx-serialization. -
JAXB 3 converter!
The Maven coordinates are
com.squareup.retrofit2:converter-jaxb3. -
@Header,@Headers, and can now set non-ASCII values through the annotation property. These are not technically compliant with the HTTP specification, but are often supported or required by services.