Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ dist
*.idea
.DS_Store
.vscode/*
package-lock.json
require-trace.trace
require-trace.trace
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@

## [v5.0.0]
> June 23rd, 2018

- Add `options.enableSocketIO` to webserver. If it isn't specified, Distraught won't require socket.io
- Fix bug referencing `process.env.enableExpressValidator`, this should have been `options.enableExpressValidator`
- Move `process.env` checks to `cfg` so it's called all in one place. All `process.env` vars can be referenced through `cfg.env.<VAR>`
- Upgrade Express Status Monitor to the latest version
- Update Sendgrid to the latest versions
- Pretty Error, Sendgrid, and all webserver modules aren't required until the first time those libs are needed.

### Breaking Changes

- sgHelper is no longer importable
- Previously a socket.io instance was always created on the webserver. Now in the webconfig you must specify `enableSocketIO: true` to maintain backwards compatibility with the previous behavior

## [v4.1.0]
> June 23rd, 2018

Expand Down
1 change: 1 addition & 0 deletions examples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock.json
1 change: 1 addition & 0 deletions flow/declarations/process.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ declare var process: { // eslint-disable-line
TWILIO_AUTH_TOKEN?: string,

SESSION_SECRET: string,
TTL_IN_SECONDS?: string,

SENTRY_DSN?: string,
},
Expand Down
Loading