cinch_gen 6.2.0 copy "cinch_gen: ^6.2.0" to clipboard
cinch_gen: ^6.2.0 copied to clipboard

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

cinch_gen changelog #

6.2.0 #

  • Migrate to analyzer 9.0 and source_gen 4.x APIs.
  • Fix FormatterException when using @multipart or @formUrlEncoded annotations.
  • Updated package versions:
    • analyzer: ">=9.0.0 <11.0.0"
    • build: ^4.0.4
    • source_gen: ^4.2.1

6.1.0 #

  • Updated package versions:
    • build: ^3.0.0
    • source_gen: ^3.0.0

6.0.0 #

  • BREAKING CHANGE: The code generator has been completely rewritten to support the genericArgumentFactories pattern for deserializing generic types.
  • REMOVED: The generator no longer produces code that relies on fromNestedGenericJson.
  • FEATURE: Generated code now calls .fromJson(jsonData, fromJsonT) for generic types, allowing seamless integration with data classes generated by freezed and json_serializable.
  • FIX: Corrected an issue where the generator produced invalid code for primitive types (like String, int) within generics.
  • FIX: Resolved a bug that caused incorrect method name generation (e.g., _${element.name} instead of _$methodName).

5.0.0 #

  • Updated package versions:
    • analyzer: ">=6.9.0 <8.0.0"
    • build: ^2.4.2
    • cinch: ^5.0.0
    • source_gen: ^2.0.0
    • dio: ^5.8.0+1

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, use dart 3 pattern。

3.0.0 #

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

2.2.0 #

  • update plugin

2.1.2 #

  • update plugin

2.1.1 #

  • Fix List Type not gen.

2.1.0 #

  • Support List Type

2.0.0 #

  • Support Nullsafety
  • Update analyzer to 2.0.0

1.0.2 #

  • update analyzer version to 1.0.0

1.0.1 #

  • update cinch version

1.0.0 #

  • fix gen * issue
0
likes
150
points
280
downloads

Documentation

API reference

Publisher

verified publishertatsuyuki25.com

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

analyzer, build, cinch, dio, path, source_gen

More

Packages that depend on cinch_gen