Releases: earthboundkid/requests
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