Skip to content

Commit

Permalink
update the changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
olafura committed Nov 30, 2022
1 parent 7faef2d commit 59b9d18
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# Changelog

## v3.0.0 (2022-11-29)

### Improvements

- 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](https://github.com/elixir-tesla/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
```elixir
# mix.exs
defp deps do
# Add the dependency
[
{:oauth2, "~> 2.0"},
{:hackney, "~> 1.18"} # This is the new line you need to add
]
end
```

In config:
```elixir
config :oauth2, adapter: Tesla.Adapter.Hackney
```

## v2.0.1 (2022-06-20)

### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ defp deps do
# Add the dependency
[
{:oauth2, "~> 2.0"},
{:hackney, "~> 2.0"} # depending on what tesla adapter you use
{:hackney, "~> 1.18"} # depending on what tesla adapter you use
]
end
```
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule OAuth2.Mixfile do
use Mix.Project

@source_url "https://github.com/scrogson/oauth2"
@version "2.0.1"
@version "3.0.0"

def project do
[
Expand Down

0 comments on commit 59b9d18

Please sign in to comment.