cinch 6.0.1 copy "cinch: ^6.0.1" to clipboard
cinch: ^6.0.1 copied to clipboard

cinch is powerful http client for dart, support native and js, http client using dio.

Cinch changelog #

6.0.1 #

  • Remove meta dependencies.
  • Fix documentation.

6.0.0 #

  • BREAKING CHANGE: The deserialization of generic types has been completely revamped to align with the genericArgumentFactories pattern, standard in packages like freezed and json_serializable.
  • REMOVED: The fromNestedGenericJson approach for deserialization is no longer supported.
  • FEATURE: The code generator now produces calls to .fromJson(jsonData, fromJsonT) for generic types, enabling seamless integration with freezed.
  • ACTION REQUIRED: Users must update their custom generic response models to provide a fromJson factory that accepts a type converter function (e.g., T Function(Object?) fromJsonT). See the migration guide in the README for detailed instructions.

5.0.3 #

  • Optimize comments.

5.0.2 #

  • remove @visibleForTesting on dio.

5.0.1 #

  • Add Default content-type: application/json.

5.0.0 #

  • Add Body annotation to allow API body to accept JSON objects.
  • Update dependencies:
    • dio: ^5.8.0+1
    • meta: ^1.16.0

4.1.1 #

  • Updated package versions.

4.1.0 #

  • Add Header annotation

4.0.0 #

  • Update Dart SDK to 3.0.0
  • BREAK CHANGE:
    • Remove PairTriple

3.0.0 #

  • Update dio to 5.0.0
  • Http method add validateStatus.
  • Service Add params sendTimeout and validateStatus.

2.2.2 #

  • Add Super Class with param.

2.2.1 #

  • Fix List type Field & Query.

2.2.0 #

  • update dio
  • remove check Field and FormUrlEncoded

2.1.1 #

  • dio with test public

2.1.0 #

  • Query and Field support List data and keepNull

2.0.1 #

  • remove char

2.0.0 #

  • Support Nullsafety
  • Update Dio version

1.4.1 #

  • Fix return type to Response

1.4.0 #

  • Separate generate pub cinch_gen

1.3.8 #

  • fix analysis issue

1.3.7 #

  • support js

1.3.6 #

  • 擴大支援範圍

1.3.5 #

  • 修正錯誤

1.3.4 #

  • 修正錯誤

1.3.3 #

  • 更新library
  • 修正錯誤

1.3.2 #

  • 增加ApiService.uncheckUrl() 忽略Url檢查

1.3.1 #

  • Service 繼承 ApiUrlMixin

1.3.0 #

  • 增加ApiUrlMixin

1.2.0 #

  • 更新dio

1.1.4+1 #

  • 更新dio

1.1.4 #

  • 修復未加上<dynamic>問題

1.1.3 #

  • 增加transformer功能

1.1.2 #

  • 修改程式碼符合code style及lint

1.1.1 #

  • 增加設置httpClientAdapter功能

1.1.0 #

Fix #

  • 修正拼音錯誤formUrlEncoded

Feature #

  • 支援Multipart,並可上傳檔案

1.0.9 #

  • 更新pub

1.0.8 #

  • 增加支援 httpClientAdapter

1.0.7 #

  • 更新版本^0.34.0

1.0.6 #

  • 增加修改URL功能
4
likes
160
points
706
downloads

Publisher

verified publishertatsuyuki25.com

Weekly Downloads

cinch is powerful http client for dart, support native and js, http client using dio.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

dio

More

Packages that depend on cinch