A boilerplate for Node.js web applications
Security: Renamed the cookie and set secure attribute for cookie transmission when https is present
Security: Migrated off known deprecated, vulnerable or unmaintained dependencies
Security: Added express rate limiter
Added additional sanitization and validation for external inputs. Lusca provides input protection. The additional sanitization and validation are to add another layer of protection.
Added patch-package for temporary patching dependencies
Temporary patch for passportjs to handle logout failures
Temporary patch for passport-oauth2: better auth failure reporting
Removed broken Instagram oauth support as Meta no longer supports it
Added handler for 404(page not found) to avoid 500 errors when a route is not found
Fixed unhandled error during logout
Fixed pug tags with multiple attributes (thanks to @soundz77)
Added Lint-stage and Husky to lint all commits
Fix req.logout for passport 0.6
Fix broken unit test
Update default gravatar
Visual UI improvements
Added Github Actions: NodeJS CI check unit test and lint
Upgrade nodejs for docker
Removed express-handlebars npm package as it was not used and is not that popular compared to pug (breaking change)
Removed chalk npm package as it was not used (breaking change)
Updated documentation
Upgraded to mongoose 7 (breaking change)
Upgraded to popper2
Migrated from googleapis npm package to @googleapis/drive and @googleapis/sheets to reduce size and improve performance (breaking change)
Migrated from passport-twitch-new to twitch-passport (breaking change)
Migrated from lob to @lob/lob-typescript-sdk (breaking change)
Migrated from deprecated node-sass to Dart Sass
Migrated off passport-openid (breaking change)
Migrated off nodemailer-sendgrid (breaking change)
Migrated off passport-twitter and twitter-lite (breaking change)
Migrated off node-quickbooks (breaking change)
Updated dependencies
Removed travis.yml
API example changes:
Re-release of 5.1.4 since the original released missed to include "Adding Node.js 12 to the Travis build"
mongoose global.Promise
as it is no longer needed (@nacimgoura)