All Versions
10
Latest Version
Avg Release Cycle
1 days
Latest Release
598 days ago

Changelog History

  • v0.7.5 Changes

    December 14, 2019

    ๐Ÿš€ Release Notes

    ๐Ÿ‘Œ Improvements

    • Response_Versose api now will output tips if the HTTP request body is a stream

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fixed retry not work with request body
    • ๐Ÿ›  Fixed sreq.SetMultipart api not check if form is nil or not
  • v0.7.0 Changes

    December 13, 2019

    ๐Ÿš€ Release Notes

    โœจ Enhancements

    • โž• Added sreq.H data type and Response_H api, make it easy to access JSON response

    ๐Ÿ‘Œ Improvements

    • โšก๏ธ Optimize request retry logic
    • โšก๏ธ Update godoc

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fixed sreq.Values and sreq.Headers not ignore unspported data type
  • v0.6.0 Changes

    December 11, 2019

    ๐Ÿš€ Release Notes

    โœจ Enhancements

    • โž• Added sreq.KV interface to replace sreq.Params , sreq.Form , sreq.Headers , simplify codes
    • Response_Text api now can specify an optional charset encoding
    • โž• Added sreq.WithXML and Response_XML APIs
    • Cancel request when SetMultipart meets an error and raise it

    ๐Ÿ‘Œ Improvements

    • โšก๏ธ Optimize request retry logic
    • โšก๏ธ Update godoc

    ๐Ÿ”„ Changes

    • ๐Ÿ“‡ Rename sreq.FileForm to sreq.File
    • โœ‚ Remove sreq.JSON data type, not required
  • v0.5.0 Changes

    December 09, 2019

    ๐Ÿš€ Release Notes

    โœจ Enhancements

    • Pretty Headers_String output
    • ๐Ÿ‘‰ Make sreq.FileForm as a io.ReadCloser
    • โž• Added sreq.Open API
    • sreq.WithMultipart now only set content type if is a file form

    ๐Ÿ”„ Changes

    • โšก๏ธ Update sreq.NewFileForm API, filename required
    • โฑ Make Request timeout field unexported, not required

    ๐Ÿ‘Œ Improvements

    • โšก๏ธ Optimize some code logic
    • โšก๏ธ Update godoc
  • v0.3.7 Changes

    December 08, 2019

    ๐Ÿš€ Release Notes

    โœจ Enhancements

    • sreq.WithMultipart will auto detect file content type if you do not specify MIME field of sreq.FileForm
    • Code improvements
  • v0.3.6 Changes

    December 08, 2019

    ๐Ÿš€ Release Notes

    ๐Ÿ‘Œ Improvements

    • Simplify sreq.WithMultipart API
  • v0.3.2 Changes

    December 08, 2019

    ๐Ÿš€ Release Notes

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fixed sreq.Params , sreq.Form url encode error while given unspported data type
  • v0.3.0 Changes

    December 07, 2019

    ๐Ÿš€ Release Notes

    โœจ Enhancements

    • โž• Added upload files with other form suppot #1
    • ๐Ÿ‘ sreq.Params ๏ผŒsreq.Form , sreq.Headers now support more data type.
    • Auto decompress gzip response even if you specify the Accept-Encoding header value.

    ๐Ÿ”„ Changes

    • โœ‚ Remove client level options, you can use request interceptors.
    • sreq.WithFiles API now is changed to sreq.WithMultipart.

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fixed sreq.Form can't set multiple parameters for the same key.
  • v0.2.0 Changes

    December 06, 2019

    ๐Ÿš€ Release Notes

    ๐Ÿ”‹ Features

    Reuse HTTP response body in some case.

    โž• Added request and response interceptors.

    ๐Ÿ‘Œ Improvement

    • ๐Ÿ‘Œ Support multiple parameters in a querystring or form.
  • v0.1.2

    December 05, 2019