NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #596 most downloaded on pub.dev
retrofit generator is an dio client generator using source_gen and inspired by Chopper and Retrofit.
Last release 28 days ago
04 Sep 2026
Ships fairly regularly
a new release about every 4 weeks
Most releases are documented
notes for 41 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
7 years old
168 releases · first in 2019
Nothing published for this version
Nothing published for this version
Nothing published for this version
- add workaround for [#143]
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Bumped retrofit_generator's SDK requirement to >=2.6.0
Add support to post file as request body
remove query parameter which is null
stringify models in FormData #111
Nothing published for this version
- Add List support
List<File> supportNothing published for this version
Add HttpResponse to handle the original response
HttpResponse to handle the original response- fix FormUrlEncoded issue
FormUrlEncoded issueNothing published for this version
Add baseUrl as a parameter of RestClient's conductor
baseUrl as a parameter of RestClient's conductorNothing published for this version
Nothing published for this version
- Add dio response type support
Nothing published for this version
Nothing published for this version
- Support dio 3.0
Nothing published for this version
[BREAKING CHANGE] Requires retrofit: ^0.6.3
retrofit: ^0.6.3autoCastResponse (this will skip .fromJson).toJson method (generator will throw warning)Fix #53, Pin version of dio to 2.1.16
dio to 2.1.16add CancelToken, SendProgress, and ReceiveProgress
Nothing published for this version
- Fixed inner type parsing #44
[BREAKING CHANGE] only works dart 2.2.2 and above
Nothing published for this version
- Minor fix
Added support to generate strong mode compatible source code
Added generic auto casting for Map > or Map
Map<String, List<Model>> or Map<String, Model>Added bean class support for @Body() annotation.
Added bean class support for @Body() annotation.
Here's the example.
Future<String> createUser(@Body() User user);
class User {
Map<String, dynamic> toJson() => {};
}
please notice that: You have to provide a
toJson()method to the bean classes to return aMap<String, dynamic>.
Added support for generic serialization.
Added support for generic serialization.
Please note:
It doesn't support nested generics.
Nothing published for this version
Added support for File form fields. See example in retrofit.dart readme.
File form fields. See example in retrofit.dart readme.- bump to 0.2.2
- Fixed pub upload issue
Added @Extra to pass extra options to dio requests, response, transformer and interceptors.
Added @Extra to pass extra options to dio requests, response, transformer and interceptors.
Example :
@http.POST('/path/')
@dio.Extra({'my_key':'my_value'})
Future<String> myMethod();
Fixed general dart style and code conventions
Automatically null check with ArgumentError.checkNotNull for required parameters
Now SuperClasses can use forwarding/redirecting constructors instead of static instance() method
Example :
@RestApi(baseUrl: "https://httpbin.org/")
abstract class RestClient {
/// Forwarding constructor
factory RestClient([Dio dio]) = _RestClient;
}
Nothing published for this version
Nothing published for this version
- fix health issues
- init
Your coding agent can read these notes before it upgrades. Set up the MCP server →