chore(deps): update dependency req to v0.5.16 #522
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.5.10->0.5.160.5.10->0.5.16Release Notes
wojtekmach/req (req)
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 bodyv0.5.15Compare Source
Req.Response]: Add [Req.Response.to_map/1].v0.5.14Compare Source
[
run_plug]: Remove warning aboutinto: funwith{:halt, acc}result.The warning never been particularly useful because it's not like users
can do anything about it.
v0.5.13Compare Source
[
run_plug]: Ease transition to automatically parsing request body.Since v0.5.11, this code:
Needed to be updated to:
This change makes it so both work. The latter will be required, however.
v0.5.12Compare Source
[
run_plug]: Do not raise on unknown content types.Req.Test]: ImproveReq.Test.transport_error/2error message.v0.5.11Compare Source
[
encode_body]: Fix leading newline before multipart body.[
run_finch]: Handle initial transport errors oninto: :self.[
run_plug]: Automatically parse request body.Prior to this change, users would typically write:
Now, it can be:
This is a breaking change as
Plug.Conn.read_bodywill now return"".It can be easily fixed by using [
Req.Test.raw_body/1] which returns copy ofthe request raw body:
Furthermore, prior to this change
conn.body_paramswas unfetched:Now it is:
If in your
:plugusage you look atconn.params, it willnow include
conn.body_paramsas Plug always merges them.[
retry]: Use jitter by default[
Req.Request]: Add [Req.Request.put_option/3].[
Req.Request]: Add [Req.Request.put_new_option/3].[
Req.Request]: Add [Req.Request.merge_new_options/2].[
Req.Test]: Add [Req.Test.redirect/2].Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.