Update dependency req to ~> 0.6 #43
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
renovate
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ludonauts/jupiter!43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/req-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
~> 0.5→~> 0.6Release Notes
wojtekmach/req (req)
v0.6.1Compare Source
[
compressed], [decompress_body]: Disable automatic decompressionDecompression is now opt-in by setting
compressed: true.v0.6.0Compare Source
[
encode_body]: Security fix for:form_multipartheader injection(GHSA-px9f-whj3-246m).
The multipart encoder interpolated the per-part
name,filename, andcontent_typeinto the part headers without escaping, so anattacker-controlled value could inject extra headers or smuggle additional
parts into the request. These values are now escaped per RFC 7578 / WHATWG
form-data (
", CR, and LF are percent-encoded).Thanks to @PJUllrich for reporting it.
[
decode_body]: Drop automatic zip/tar/tgz/gz/zst/csv decoding,(GHSA-655f-mp8p-96gv).
Req previously auto-decoded archive and compressed response bodies (
zip,tar,tgz,gz,zst, andcsv) based on the server-suppliedcontent-type, materialising the full decompressed contents in memory withno size cap. An attacker-controlled (or redirect-reachable) endpoint could
return a tiny "decompression bomb" that expanded to gigabytes and exhausted
the node's memory.
Now only JSON is decoded by default. Other formats are opt-in via the new
:decodersoption, which defaults to[:json, :json_api]. Setting itreplaces the default (include
:jsonto keep JSON decoding), andfalsedisables all decoding:
opt into archives (only for endpoints you trust):
v0.5.18Compare Source
[
run_finch]: Allow :finch option with IPv6 URLs.[
run_finch]: NormalizeFinch.TransportErrorandFinch.HTTPError(introduced in Finch v0.22.0) into
Req.TransportErrorandReq.HTTPError.[
retry]: Automatically retry on:pool_not_available.Require Finch ~> 0.21.0 or ~> 0.22.0.
v0.5.17Compare Source
[
retry]: Use default delay ifretry-afteris "negative"Previously, we were only handling "negative" retry-after in "http date"
format and slept for zero seconds. We were crashing on retry-after with
negative seconds.
Now, we're using the default delay (1s, 2s, 4s, ...) in either format.
v0.5.16Compare Source
Req.Test]: Fixverify_on_exit!accidentally using Mox nameauth]: Support MFArgsauth]: Support digest authput_aws_sigv4]: Support MFArgsput_path_params]: Encode:path_paramseven with reserved charactersput_path_params]: Set:path_params_templateon empty paramsrun_plug]: Handle compressed request bodyConfiguration
📅 Schedule: (in timezone UTC)
* 10 * * *)🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: mix.lock
8a51e7b082b4c11f7008