Skip to content

Releases: glossd/fetch

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

Go 1.22, Upgrade ToHandlerFunc

01 Dec 20:54
5a35435
Compare
Choose a tag to compare
Release v0.5, Go 1.22, Upgrade ToHandlerFunc (#28)

* Go 1.22, Upgrade ToHandlerFunc

fetch.ToHandlerFunc

30 Nov 21:36
26023e6
Compare
Choose a tag to compare
Add ToHandlerFunc (#27)

* Add ToHandlerFunc

* fetch.Empty

Marshal, omitEmpty by default

28 Nov 23:36
3bac7eb
Compare
Choose a tag to compare
Marshal, omit empty fields by default (#25)

* Marshal, omit empty fields by default

* update readme

* update readme