Now you can have a lot more control over your http client, including
selecting what client you are using from the adapters available for
Tesla.
You can also easily add logging and tracing with middleware.
Backward Incompatible Changes
No longer directly using hackney it's still possible to use it through a
Tesla adapter. To keep all your tweaks working correctly you'll need to
add these settings:
In mix.exs
# mix.exs
defp deps do
# Add the dependency
[
{:oauth2, "~> 2.0"},
{:hackney, "~> 1.18"} # This is the new line you need to add
]
end
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 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 oauth2 from 2.0.1 to 2.1.0.
Release notes
Sourced from oauth2's releases.
Changelog
Sourced from oauth2's changelog.
Commits
c4dede7
chore: upgrade release ci workflowc3879b6
Merge pull request #170 from olafura/olafura/tesla9de3eda
change version number0d7e671
update tesla to fix httpc59b9d18
update the changelog7faef2d
Initial support for tesla to replace hackneybd43487
Merge pull request #171 from ueberauth/upgrade-workflow0a02bb5
chore: upgrade workflow setupDependabot 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 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)