Skip to content

Latest commit

 

History

History
67 lines (52 loc) · 2.63 KB

CHANGELOG.md

File metadata and controls

67 lines (52 loc) · 2.63 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

2.0.0 - 2020-03-25

Breaking

  • Drop support for node < 10.

1.1.0 - 2018-06-06

Added

  • Support using a strategy which overrides the getOAuthAccessToken function, for example the Reddit or Spotify strategy. #10

1.0.0 - 2015-12-17

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.

0.4.0 - 2015-04-01

Added

  • Allow strategy to be added with an explicit name: refresh.use(name, strategy).

0.3.1 - 2015-03-06

Changed

  • Removed peer dependency on passport-oauth2, to fix npm 3 warning.

0.3.0 - 2015-01-27

Added

  • Support strategies which use separate URLs for generating and refreshing tokens (e.g. passport-echosign).

0.2.1 - 2014-11-16

Fixed

  • Fixed passport-oauth2 peer dependency link.

0.2.0 - 2014-11-16

Changed

  • Added passport-oauth2 as a peer dependency.

0.1.2 - 2014-11-16

Changed

  • Fixed git url.

0.1.1 - 2014-11-16

Changed

  • Fixed README typo.

0.1.0 - 2014-11-16

Added

  • Initial release.