[Req]: Deprecate setting :headers to values other than string/integer/DateTime.
This is to potentially allow special handling of atom values in the future.
[Req]: Add Req.run/2 and Req.run!/2.
[Req]: into: :self now sets response.body as Req.Response.Async which implements
enumerable.
[Req.Request]: Deprecate setting :redact_auth. It now has no effect. Instead of allowing
to opt out of, we give an idea what the secret was without revealing it fully:
[Req.Request]: Deprecate halt/1 in favour of Req.Request.halt/2.
[Req.Test]: Add [Req.Test.transport_error/2] to simulate transport errors.
[Req.Test]: Add [Req.Test.expect/3].
[Req.Test]: Add functions for setting ownership mode: [Req.Test.set_req_test_from_context/1], [Req.Test.set_req_test_to_private/1],
[Req.Test.set_req_test_to_shared/1] and for verifying expectations: [Req.Test.verify!/0], [Req.Test.verify!/1], and [Req.Test.verify_on_exit!/1].
[Req.Test]: Add [Req.Test.html/2].
[Req.Test]: Add [Req.Test.text/2].
[Req.Test]: Drop :nimble_ownership dependency.
[Req.Test]: Deprecate Req.Test.stub/1, i.e. the intended use case is to only work
with plug stubs/mocks.
[decode_body]: Return Jason.DecodeError on JSON errors instead of raising it.
[decode_body]: Return [Req.ArchiveError] on tar/zip errors.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps req from 0.4.14 to 0.5.0.
Changelog
Sourced from req's changelog.
... (truncated)
Commits
85bd743
Release v0.5.016991cd
Update docs4cf866e
More AWS refactoringe19ee81
Update testa6d3fc6
More aws sigv4 improvementscb4df2c
Support x-amz-expiresde68a00
Bring back gzip supportd347563
Update CHANGELOG.md5e7b0e7
Make async more reliable19d7660
Fix Req.Test.expect/3 return valueDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show