Skip to content

v1.0.0

Compare
Choose a tag to compare
@fiznool fiznool released this 17 Dec 12:58
· 36 commits to master since this release

Added

  • Allow extra params to be sent when requesting access token.
  • Use embedded _oauth2 constructor to create new OAuth2 instance, to support instances where the _oauth2 object is using a custom implementation.

Removed

  • Dropped peerDependency on oauth2 library, in favour of using the _oauth2 object exposed by passport.
  • 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.

Upgrading from 0.4

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.