- Change: Hapi is now using the internal
config
object directly through the middleware instance - Fix: Dynamic overrides support for Hapi >= 12.x
- New: Hapi middleware configuration can be passed in the constructor
- New: First class support for Koa >= 2.x using
async
/await
Node 8.0.0 required!- Koa 1.x and 0.x are still supported for Node 4, 6 and 8
- Change: Removed 2 discontinued providers:
beatsmusic
andcopy
- New: Official support for 5 new providers:
ebay
,genius
,jamendo
,pinterest
andunsplash
- New: Official support for 2 new providers:
discord
andmedium
- Change: Dropped node
0.10
and0.12
as built targets in TravisCI - Change: Added the advisory engines key in package.json for node
>=4.0.0
- New: Official support for 6 new providers:
baidu
,docusign
,iconfinder
,idme
,mydigipass
,venmo
- Fix: Added the required
user-agent
header fordiscogs
- New: Official support for 1 new provider:
homeaway
- New: Support for Koa 2.x
- Fix: Expect oauth version to be string when passed as querystring
- New: Official support for 1 new provider:
lyft
- New: Added
scope_data
custom parameter foramazon
- New: Official support for 2 new providers:
idonthis
,smugmug
- New: Path Prefix configuration option
- New: Official support for 2 new providers:
microsoft
,visualstudio
- Fix: Fix for
[email protected]
- New: Official support for 2 new providers:
gitbook
,optimizely
- New: Official support for 11 new providers
- New: Official support for 8 new providers
- New: OAuth2 support for
fitbit2
- New: Official support for 6 new providers
- New: Docs about the Alternative Require
- New: Official support for 6 new providers
- Change: Improved OAuth2 random state string
- New: Ability to override the redirect_uri
- New: Ability to configure Grant without having a
server
configuration key - New: Generic error handler for missing or misconfigured provider
- New: Introduced
custom_params
option for safer way to configure Custom Authorization Parameters - New: Improved documentation about all configuration Quirks
- New: Official support for 5 new providers
- Change: Improved configuration initialization
- Change: Migrated
rdio
to OAuth2 - Change: Updated
trakt
OAuth URLs - New: Added
device_id
anddevice_name
custom authorization parameters foryandex
- New: Docs about the Programmatic Access
- New: Official support for 3 new providers
- New: Official support for 9 new providers
- New: Official support for 2 new providers
- New: Official support for 10 new providers
- Change: The Express middleware is no longer using the express-session middleware internally
- Change: The Express and Koa middlewares are no longer using their body-parser middleware internally
- Change: Express is set as
peerDependency
ingrant-express
- Change: Koa is set as
peerDependency
ingrant-koa
- Change: Yar is no longer set as
peerDependency
ingrant-hapi
, though using session is still required
- Change: Any of the reserved keys can be overriden for a provider
- Change: Allow Custom Provider configuration
- New:
transport
option that allows the response data to be returned in the final callback either as querystring or in the session - New:
state: true
option that enables auto generated random state string on each authorization attempt (OAuth2 only)
- Change: Allow any session store to be used with the Koa middleware
- Change: Using
koa-route
instead ofkoa-router
internally in the Koa middleware - Change:
grant-hapi
now usespeerDependencies
- Fix: Removed default Express require left over in index.js
- Fix: Examples
- Change: Each consumer middleware now have its own module:
grant-express
,grant-koa
andgrant-hapi
- New: Hapi middleware
- New: Docs about Dynamic Overrides via
GET
request - New: A bunch of Examples
- Change: Complete rewrite of the module using request
- New: Koa middleware
- Change: The Response Data now contains a
raw
key in it - Change: Custom Authorization Parameters regarding token expiration are no longer part of the scope array
- Version
1.x
is no longer supported, though most of the configuration data structure remains intact, so migration should be easy
- Initial Release