Feign v3.0 Release Notes
-
- ➕ Added support for asynchronous callbacks via
IncrementalCallback<T>
andIncrementalDecoder.TextStream<T>
. - 🔧 Wire is now Logger, with configurable Logger.Level.
- ➕ Added
feign-gson
codec, used vianew GsonModule()
- 🔄 changed codec to be similar to WebSocket JSR 356
- Decoder is now
Decoder.TextStream<T>
- BodyEncoder is now
Encoder.Text<T>
- FormEncoder is now
Encoder.Text<Map<String, ?>>
- Decoder is now
- Encoder and Decoders are specified via
Provides.Type.SET
binding. - 0️⃣ Default Encoder and Form Encoder is
Encoder.Text<Object>
- 0️⃣ Default Decoder is
Decoder.TextStream<Object>
- 👻 ErrorDecoder now returns Exception, not fallback.
- There can only be one
ErrorDecoder
andRequest.Options
binding now.
- ➕ Added support for asynchronous callbacks via