Download Latest Version 3.0.0 source code.tar.gz (908.8 kB)
Email in envelope

Get an email when there's a new version of Retrofit

Home / 2.12.0
Name Modified Size InfoDownloads / Week
Parent folder
2.12.0 source code.tar.gz 2025-05-15 470.1 kB
2.12.0 source code.zip 2025-05-15 1.2 MB
README.md 2025-05-15 666 Bytes
Totals: 3 Items   1.7 MB 0

New

  • First-party converters now support deferring serialization to happen when the request body is written (i.e., during HTTP execution) rather than when the HTTP request is created. In some cases this moves conversion from a calling thread to a background thread, such as in the case when using Call.enqueue directly.

The following converters support this feature through a new withStreaming() factory method: - Gson - Jackson - Moshi - Protobuf - Wire

Fixed

  • Primitive types used with @Tag now work by storing the value boxed with the boxed class as the key.
Source: README.md, updated 2025-05-15