Skip to content

Commit

Permalink
Release 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcanhelp committed Feb 18, 2020
1 parent 00458e3 commit dbe4570
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 47 deletions.
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
# CHANGELOG

## [v0.7.0](https://github.com/auth0/express-openid-connect/tree/v0.7.0) (2020-02-18)
[Full Changelog](https://github.com/auth0/express-openid-connect/compare/v0.6.0...v0.7.0)

**Added**
- Update TS defs for config functions [\#65](https://github.com/auth0/express-openid-connect/pull/65) ([joshcanhelp](https://github.com/joshcanhelp))
- Register Express as a peer dependency [\#63](https://github.com/auth0/express-openid-connect/pull/63) ([stevehobbsdev](https://github.com/stevehobbsdev))
- Add custom state handling [\#60](https://github.com/auth0/express-openid-connect/pull/60) ([joshcanhelp](https://github.com/joshcanhelp))

**Changed**
- Merge seperate config schemas [\#57](https://github.com/auth0/express-openid-connect/pull/57) ([joshcanhelp](https://github.com/joshcanhelp))
- Update hapi to v16 and fix breaking changes [\#56](https://github.com/auth0/express-openid-connect/pull/56) ([joshcanhelp](https://github.com/joshcanhelp))
- Update hapi/joi to 15.x; update other deps to minor/patch [\#51](https://github.com/auth0/express-openid-connect/pull/51) ([joshcanhelp](https://github.com/joshcanhelp))

**Fixed**
- Additional allowed cookieOptions [\#53](https://github.com/auth0/express-openid-connect/pull/53) ([joshcanhelp](https://github.com/joshcanhelp))
- Fix TS definition for appSessionSecret [\#52](https://github.com/auth0/express-openid-connect/pull/52) ([joshcanhelp](https://github.com/joshcanhelp))
- Fix post logout redirect, add config for default [\#40](https://github.com/auth0/express-openid-connect/pull/40) ([balazsorban44](https://github.com/balazsorban44))

## [v0.6.0](https://github.com/auth0/express-openid-connect/tree/v0.6.0) (2020-01-14)
[Full Changelog](https://github.com/auth0/express-openid-connect/compare/v0.5.0...v0.6.0)

**Breaking changes in this release:**

This release includes important changes to user session and token handling which will require an update for all applications.
This release includes important changes to user session and token handling which will require an update for all applications.

First, a new, required configuration key - `appSessionSecret`- has been added. The value here will be used to generate keys which are in turn used to encrypt the user identity returned from the identity provider. This encrypted and signed identity is stored in a cookie and used to populate the `req.openid.user` property, as before. This key should be set to either a secure, random value to use this built-in session or `false` to provide [your own custom application session handling](https://github.com/auth0/express-openid-connect/blob/master/EXAMPLES.md#4-custom-user-session-handling). A value for this can be generated with `openssl` like so:

Expand Down
109 changes: 69 additions & 40 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "express-openid-connect",
"version": "0.6.0",
"version": "0.7.0",
"description": "Express middleware to protect web applications using OpenID Connect.",
"homepage": "https://github.com/auth0/express-openid-connect",
"license": "MIT",
Expand All @@ -22,22 +22,22 @@
"cookie-parser": "^1.4.4",
"futoin-hkdf": "^1.3.1",
"http-errors": "^1.7.3",
"jose": "^1.19.0",
"jose": "^1.22.2",
"on-headers": "^1.0.2",
"openid-client": "^3.11.0",
"openid-client": "^3.12.2",
"p-memoize": "^3.1.0",
"url-join": "^4.0.1"
},
"devDependencies": {
"@types/express": "^4.17.2",
"chai": "^4.2.0",
"cookie-session": "^2.0.0-beta.3",
"cookie-session": "^2.0.0-rc.1",
"eslint": "^5.16.0",
"express": "^4.17.1",
"jsdom": "^13.2.0",
"jsonwebtoken": "^8.5.1",
"mocha": "^6.2.2",
"nock": "^11.7.2",
"nock": "^11.8.2",
"nyc": "^15.0.0",
"pem-jwk": "^2.0.0",
"proxyquire": "^2.1.3",
Expand All @@ -48,4 +48,4 @@
"engines": {
"node": "^10.13.0 || >=12.0.0"
}
}
}

0 comments on commit dbe4570

Please sign in to comment.