Skip to content

Releases: glossd/fetch

Aliases: ResponseEmpty RequestEmpty

13 Mar 10:01
e5cfd7c
Compare
Choose a tag to compare

fetch.Get[fetch.ResponseEmpty]("url") small improvement from fetch.Get[fetch.Response[fetch.Empty]]("url")

v1.0.1 ToHandlerFuncEmpty

05 Jan 22:15
0f405a2
Compare
Choose a tag to compare

What's Changed

Added two functions: ToHandlerFuncEmptyIn and ToHandlerFuncEmptyOut

Full Changelog: v1.0.0...v1.0.1

Stable version

05 Jan 21:09
590af63
Compare
Choose a tag to compare

Removed deprecated functions and structs
Removed JQErr
Helper functions for Request
J.Raw - J.Elem
SetDefaultHandlerConfig -> SetHandlerConfig
SetRespondErrorFormat -> SetHandlerErrorFormat

What's Changed

  • Prepare for the stable version by @glossd in #39

Full Changelog: v0.7.2...v1.0.0

Config Timeout

16 Dec 23:33
11292b1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.1...v0.7.2

Request parameters

10 Dec 23:49
cb9b50c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.0...v0.7.1

update Request wrapper

08 Dec 18:10
beea01b
Compare
Choose a tag to compare

What's Changed

  • Request wrapper remove http.Request by @glossd in #36

Full Changelog: v0.6.0...v0.7.0

Request wrapper

08 Dec 00:39
8735d26
Compare
Choose a tag to compare

Migration guide

If you have ever discovered fetch.Request function before, replace it with fetch.Do
If you used json tags in the input of ToHandlerFunc, wrap the input with fetch.Request and access the needed data.
I removed DuplicateHeaders field from everywhere, just rely on Headers

What's Changed

  • Downgrade to go1.21, Request wrapper by @glossd in #34

Full Changelog: v0.5.3...v0.6.0

ToHanlderFunc, context to input

02 Dec 16:45
37195c4
Compare
Choose a tag to compare

What's Changed

  • Feature to add context to input entity in ToHandlerFunc by @glossd in #32

Full Changelog: v0.5.2...v0.5.3

improve fetch.Empty recognition

01 Dec 23:26
Compare
Choose a tag to compare
v0.5.2

improve fetch.Empty recognition

Handler, fix request body validation

01 Dec 22:43
a84b279
Compare
Choose a tag to compare

What's Changed

  • Fix empty request body validation by @glossd in #30

Full Changelog: v0.5.0...v0.5.1