Skip to content

Comments

Bump req from 0.4.14 to 0.5.0#4

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/hex/req-0.5.0
Closed

Bump req from 0.4.14 to 0.5.0#4
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/hex/req-0.5.0

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jun 3, 2024

Bumps req from 0.4.14 to 0.5.0.

Changelog

Sourced from req's changelog.

Full v0.5.0 CHANGELOG

  • [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:

    iex> Req.new(auth: {:basic, "foobar:baz"})
    %Req.Request{
      options: %{auth: {:basic, "foo*******"}},
      ...
    }
    iex> Req.new(headers: [authorization: "bearer foobarbaz"])
    %Req.Request{
    headers: %{"authorization" => ["bearer foo******"]},
    ...
    }

  • [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.

  • [decompress_body]: Return [Req.DecompressError].

... (truncated)

Commits

Dependabot compatibility score

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 <dependency name> 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](https://github.com/wojtekmach/req) from 0.4.14 to 0.5.0.
- [Release notes](https://github.com/wojtekmach/req/releases)
- [Changelog](https://github.com/wojtekmach/req/blob/main/CHANGELOG.md)
- [Commits](wojtekmach/req@v0.4.14...v0.5.0)

---
updated-dependencies:
- dependency-name: req
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 3, 2024
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jun 24, 2024

Superseded by #7.

@dependabot dependabot bot closed this Jun 24, 2024
@dependabot dependabot bot deleted the dependabot/hex/req-0.5.0 branch June 24, 2024 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants