Releases: lejard-h/chopper
Releases · lejard-h/chopper
chopper_built_value-v2.0.1+2
2.0.1+2
- Fix Github release workflow permissions (#512)
https://pub.dev/packages/chopper_built_value/versions/2.0.1+2
chopper-v7.0.7+1
7.0.7+1
- Fix Github release workflow permissions (#512)
v4.0.6
v4.0.0
- Null safety support
- Fix infinite loop when using Authenticators
- Remove deprecated
FileField
, usePartFile
instead - Remove deprecated
Request.replace
, useRequest.copyWith
instead - Remove deprecated
PartValue.replace
, usePartValue.copyWith
instead - Remove deprecated
Response.replace
, useResponse.copyWith
instead - Support for OPTIONS requests
- Support for passing data in the body of GET requests (anti-pattern, but requested)
- Support for OkHttp-like Authenticator implementation
- Support for generic API methods
- Updated public API documentation and how-tos
v4.0.0-nullsafety.1: 4.0.0-nullsafety.1 (#243)
chopper
- Fix infinite loop when using Authenticators
- Remove deprecated
FileField
, usePartFile
instead - Remove deprecated
Request.replace
, useRequest.copyWith
instead - Remove deprecated
PartValue.replace
, usePartValue.copyWith
instead - Remove deprecated
Response.replace
, useResponse.copyWith
instead
chopper_generator
- Fix
@Header
annotation not generating null safe code - Respect
required
keyword in functions
v4.0.0-nullsafety.0: Null safety (non stable version) (#219)
- Null safety support
- Support for OPTIONS requests
- Support for passing data in the body of GET requests (anti-pattern, but requested)
- Support for OkHttp-like Authenticator implementation
- Support for generic API methods
- Updated public API documentation and how-tos
Removed name parameter on ChopperApi
Breaking: Removed name parameter on ChopperApi
New way to instanciate a service.
@ChopperApi()
abstract class MyService extends ChopperService {
static MyService create([ChopperClient client]) => _$MyService(client);
}
First stable release
- Multipart request
- Support form url encoded
- Add jsonAPI and formUrlEncodedApi boolean to ChopperClient
- Json and formUrlEncoding are now builtin
onError
,onResponse
,onRequest
stream- Add error converter
- Add withClient constructor