Skip to content

Commit f0fe2bf

Browse files
committed
Update CHANGES for v0.5.0
1 parent 5a3892b commit f0fe2bf

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

CHANGES.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
# OAuth1 Changelog
22

3-
## v0.4.0 (2016-04-20)
3+
Notable changes between releases.
4+
5+
## Latest
6+
7+
## v0.5.0
8+
9+
* Use standard library `context` ([c0a405](https://github.com/dghubble/oauth1/commit/c0a405baf29f5ed2616bc1ef6b778532c960aa5b))
10+
* Requires Go 1.7+
11+
* Add `xing` package with a provider `Endpoint` ([#10](https://github.com/dghubble/oauth1/pull/10))
12+
* Add status code checks so server errors are clearer ([09fded](https://github.com/dghubble/oauth1/commit/b0d5c93a5292844f3fd568893ce4e12bdcdb79ae))
13+
* Move confirmed check after token check so errors are clearer ([#8](https://github.com/dghubble/oauth1/pull/8))
14+
15+
## v0.4.0
416

517
* Add a Signer field to the Config to allow custom Signer implementations.
618
* Use the HMACSigner by default. This provides the same signing behavior as in previous versions (HMAC-SHA1).
@@ -9,14 +21,14 @@
921
* Change `Signer` to be a signer interface.
1022
* Remove the old Signer methods `SetAccessTokenAuthHeader`, `SetRequestAuthHeader`, and `SetRequestTokenAuthHeader`.
1123

12-
## v0.3.0 (2015-09-13)
24+
## v0.3.0
1325

1426
* Added `NoContext` which may be used in most cases.
1527
* Allowed Transport Base http.RoundTripper to be set through a ctx.
1628
* Changed `NewClient` to require a context.Context.
1729
* Changed `Config.Client` to require a context.Context.
1830

19-
## v.0.2.0 (2015-08-30)
31+
## v.0.2.0
2032

2133
* Improved OAuth 1 spec compliance and test coverage.
2234
* Added `func StaticTokenSource(*Token) TokenSource`
@@ -25,6 +37,6 @@
2537
* Removed `RequestToken` in favor of passing token and secret value strings.
2638
* Removed `ReuseTokenSource` struct, it was effectively a static source. Replaced by `StaticTokenSource`.
2739

28-
## v0.1.0 (2015-04-26)
40+
## v0.1.0
2941

30-
* Initial OAuth1 support for obtaining authorization and making authorized requests.
42+
* Initial OAuth1 support for obtaining authorization and making authorized requests.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ An `Endpoint` groups an OAuth provider's token and authorization URL endpoints.E
111111

112112
A `Config` stores a consumer application's consumer key and secret, the registered callback URL, and the `Endpoint` to which the consumer is registered. It provides OAuth1 authorization flow methods.
113113

114-
An OAuth1 `Token` is an access token which can be used to make signed requests on behalf of a user. See [Authorized Requests](#Authorized Requests) for details.
114+
An OAuth1 `Token` is an access token which can be used to make signed requests on behalf of a user. See [Authorized Requests](#authorized-requests) for details.
115115

116116
If you've used the [golang.org/x/oauth2](https://godoc.org/golang.org/x/oauth2) package for OAuth2 before, this organization should be familiar.
117117

0 commit comments

Comments
 (0)