Skip to content

Releases: lejard-h/chopper

chopper_built_value-v2.0.1+2

07 Oct 09:36
ce0836d
Compare
Choose a tag to compare

chopper-v7.0.7+1

07 Oct 09:34
ce0836d
Compare
Choose a tag to compare

7.0.7+1

  • Fix Github release workflow permissions (#512)

https://pub.dev/packages/chopper/versions/7.0.7+1

v4.0.6

22 Jun 19:10
f672b10
Compare
Choose a tag to compare
  • Dependencies upgrade.
  • Example is now null safety.
  • FieldMap support
  • Authenticator fixes

v4.0.0

17 May 14:30
Compare
Choose a tag to compare
  • Null safety support
  • Fix infinite loop when using Authenticators
  • Remove deprecated FileField, use PartFile instead
  • Remove deprecated Request.replace, use Request.copyWith instead
  • Remove deprecated PartValue.replace, use PartValue.copyWith instead
  • Remove deprecated Response.replace, use Response.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)

13 Apr 08:34
370251a
Compare
Choose a tag to compare

chopper

  • Fix infinite loop when using Authenticators
  • Remove deprecated FileField, use PartFile instead
  • Remove deprecated Request.replace, use Request.copyWith instead
  • Remove deprecated PartValue.replace, use PartValue.copyWith instead
  • Remove deprecated Response.replace, use Response.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)

27 Mar 09:23
480e0c2
Compare
Choose a tag to compare
  • 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

17 Nov 17:47
Compare
Choose a tag to compare

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

17 Nov 17:46
Compare
Choose a tag to compare
  • 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