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

Changelog History

  • v0.7.5

    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

    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

    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

    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

    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

    December 08, 2019

    🚀 Release Notes

    👌 Improvements

    • Simplify sreq.WithMultipart API
  • v0.3.2

    December 08, 2019

    🚀 Release Notes

    🐛 Bug Fixes

    • 🛠 Fixed sreq.Params , sreq.Form url encode error while given unspported data type
  • v0.3.0

    December 07, 2019

    🚀 Release Notes

    ✨ Enhancements

    • ➕ Added upload files with other form suppot #1
    • 👍 sreq.Paramssreq.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

    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