Releases: earthboundkid/requests
v0.24.2
What's Changed
- Add ErrorTransport by @earthboundkid in #114
- Add reqtest, reqhtml subpackages; deprecate requests.ToHTML and testing transports in #115
This is the final planned release of v0 of github.com/carlmjohnson/requests. Look forward to github.com/earthboundkid/requests/v2 coming soon!
Full Changelog: v0.24.1...v0.24.2
v0.24.1
What's Changed
- Bump golang.org/x/net from 0.15.0 to 0.17.0 by @dependabot in #96
- fix: typo by @testwill in #97
- README: Update on project URL by @earthboundkid in #104
- Bump golang.org/x/net from 0.17.0 to 0.23.0 by @dependabot in #109
- Add OptionalHeader, OptionalParam by @earthboundkid in #105. See #99
- Upgrade to Go 1.22; replace minitrue.Or with cmp.Or by @earthboundkid in #111
- Docs: Deprecate ToHeaders by @earthboundkid in #112
New Contributors
Full Changelog: v0.23.5...v0.24.1
v0.23.5
What's Changed
-
README changes by @carlmjohnson in #84
-
go.mod: Upgrade x/net past GO-2023-1988 by @carlmjohnson in #92
-
Add ability to change default JSON serializer/deserializer and use BodySerializer/ToDeserializer by @carlmjohnson with @EvilBorsch in #91
Now you can choose globally or on a per request basis how to convert to/from JSON. For example, you can opt in to using the new experimental https://github.com/go-json-experiment/json library planned for a future version of the Go standard library.
Full Changelog: v0.23.4...v0.23.5
v0.23.4
What's Changed
-
Added support for setting multiple Params and Headers at once #23
You could just call .Param or .Header multiple times, but sometimes you need to set a parameter conditionally, and this lets you take it out of the main builder chain. See example Params and example Headers.
-
Restored .Post for those times when you need an empty request body #77
-
Added support for XML bodies, responses, and errors #78
This was done by @tmm1. To keep tools that don't need it from having to include encoding/xml, it was put into a sub-package called reqxml. Read the docs for reqxml.
-
CI: Use coverall by @carlmjohnson in #80
This restores the coverage badge which went away when gocover.io shut down.
New Contributors
Full Changelog: v0.23.3...v0.23.4
v0.23.3
What's Changed
-
Bump golang.org/x/net from 0.5.0 to 0.7.0 by @dependabot in #67
-
Change examples order (causing more impact) and remove gocover.io badge by @mauricioabreu in #68
-
README: Update URL example in #69
-
Reorganize; add New, TestServerConfig, DoerTransport by @carlmjohnson in #72
- DoerTransport is based on discussion with @francescomari in #70
New Contributors
- @dependabot made their first contribution in #67
- @mauricioabreu made their first contribution in #68
Full Changelog: v0.23.2...v0.23.3