chore(backend): update dependency req to v0.5.15 #2048
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.9->0.5.15Release Notes
wojtekmach/req (req)
v0.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].v0.5.10Compare Source
Req]: Add [Req.get_headers_list/1].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 this update again.
This PR has been generated by Renovate Bot.