Skip to content

Commit 4d20421

Browse files
committed
v1.0.0
1 parent a4607c2 commit 4d20421

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

CHANGELOG.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [1.0.0] - 2015-12-17
6+
### Added
7+
- Allow extra params to be sent when requesting access token.
8+
- Use embedded `_oauth2` constructor to create new OAuth2 instance, to support instances where the `_oauth2` object is using a custom implementation.
9+
10+
### Removed
11+
- Dropped peerDependency on `oauth2` library, in favour of using the `_oauth2` object exposed by passport.
12+
- Dropped support for node.js 0.6 and 0.8, lowest supported version is now 0.10. _If you still need support for 0.6 or 0.8, please continue to use v0.4.0 of this module._
13+
14+
### Upgrading from 0.4
15+
16+
The move from 0.4 to 1.0 is non-breaking, _unless_ you are using a version of node.js lower than 0.10. In this case, you should stick to using 0.4. Otherwise, you can safely upgrade with no code changes required.
17+
518
## [0.4.0] - 2015-04-01
619
### Added
720
- Allow strategy to be added with an explicit name: `refresh.use(name, strategy)`.
@@ -30,6 +43,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
3043
### Changed
3144
- Fixed README typo.
3245

33-
## [0.1.0] - 2014-11-16
46+
## 0.1.0 - 2014-11-16
3447
### Added
3548
- Initial release.
49+
50+
[1.0.0]: https://github.com/fiznool/passport-oauth2-refresh/compare/v0.4.0...v1.0.0
51+
[0.4.0]: https://github.com/fiznool/passport-oauth2-refresh/compare/v0.3.1...v0.4.0
52+
[0.3.1]: https://github.com/fiznool/passport-oauth2-refresh/compare/v0.3.0...v0.3.1
53+
[0.3.0]: https://github.com/fiznool/passport-oauth2-refresh/compare/v0.2.1...v0.3.0
54+
[0.2.1]: https://github.com/fiznool/passport-oauth2-refresh/compare/v0.2.0...v0.2.1
55+
[0.2.0]: https://github.com/fiznool/passport-oauth2-refresh/compare/v0.1.2...v0.2.0
56+
[0.1.2]: https://github.com/fiznool/passport-oauth2-refresh/compare/v0.1.1...v0.1.2
57+
[0.1.1]: https://github.com/fiznool/passport-oauth2-refresh/compare/v0.1.0...v0.1.1

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "passport-oauth2-refresh",
3-
"version": "0.4.0",
3+
"version": "1.0.0",
44
"description": "A passport.js add-on to provide automatic OAuth 2.0 token refreshing.",
55
"main": "lib/refresh.js",
66
"directories": {

0 commit comments

Comments
 (0)