Skip to content

Releases: dxx/feignhttp

v0.5.2

25 May 02:42
@dxx dxx
Compare
Choose a tag to compare

Features

  • Support use structure in parameter of header and query (b4e51b3)

v0.5.1

04 Jun 14:11
@dxx dxx
Compare
Choose a tag to compare

Features

  • Support implementation of traits (5c993fd)

v0.5.0

01 Jan 13:40
@dxx dxx
Compare
Choose a tag to compare

Features

  • Support shared data in structure (6cf8a8d). Using the following attributes to share data:

    url_path
    query
    header
    param

Changes

  • Only support method with self param when use structure

v0.4.5

14 Sep 16:03
@dxx dxx
Compare
Choose a tag to compare

Fixes

  • Fix error when use Vec as the first parameter (#5)

v0.4.4

14 Sep 15:10
@dxx dxx
Compare
Choose a tag to compare

Fixes

  • Fix query parameters do not take effect

v0.4.3

10 Sep 02:06
@dxx dxx
Compare
Choose a tag to compare

Fixes

  • Fix error when use &Vec in query parameter

v0.4.2

28 Aug 07:37
@dxx dxx
Compare
Choose a tag to compare

Fixes

  • Add new query parameter type like &[] or Vec

v0.4.1

09 Aug 15:28
@dxx dxx
Compare
Choose a tag to compare

Fixes

  • Fix error when use Vec<String>

v0.4.0

05 Jun 02:47
@dxx dxx
Compare
Choose a tag to compare

Features

  • Add json feature: Enable json serialization and deserialization
  • Add log feature: Enable request and response logs
  • Add param attribute that can dynamic replace placeholder
  • A new way to specity the request header with headers metadate in attribute macros
  • Support use Vec<u8> to get or submit byte data
  • Enhanced error handling

Changes

  • Change HttpClient to builder mode. Now use RequestBuilder to create RequestWrapper
  • JSON serialization and deserialization are disabled by default

Fixes

  • Fix error when function return feignhttp::Result<()>

v0.3.3

01 Jun 02:20
@dxx dxx
Compare
Choose a tag to compare
  • Optimized code
  • Update to 2021 edition
  • Update docs