Skip to content

Commit bef2840

Browse files
committed
Prep for 2.0
1 parent f13aaf9 commit bef2840

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

CHANGELOG.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Changelog
22

3-
## Unreleased
3+
## v2.0.0 (2019-07-15)
44

5-
### Bug Fixes
5+
### Bug fixes (possibly backwards incompatible)
66

77
- Ensure that the OAuth client is authenticated via Authorization header as
8-
described in the spec (#131)
8+
described in the spec (#131).
99

1010
## v1.0.1 (2019-04-12)
1111

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ end
1818

1919
defp deps do
2020
# Add the dependency
21-
[{:oauth2, "~> 1.0"}]
21+
[{:oauth2, "~> 2.0"}]
2222
end
2323
```
2424

@@ -170,7 +170,6 @@ defmodule GitHub do
170170

171171
def get_token(client, params, headers) do
172172
client
173-
|> put_param(:client_secret, client.client_secret)
174173
|> put_header("accept", "application/json")
175174
|> OAuth2.Strategy.AuthCode.get_token(params, headers)
176175
end

mix.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule OAuth2.Mixfile do
22
use Mix.Project
33

4-
@version "1.0.1"
4+
@version "2.0.0"
55

66
def project do
77
[

0 commit comments

Comments
 (0)