Skip to content
Merged
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
12 changes: 0 additions & 12 deletions .changeset/sequelize-keeps-its-ssl-options.md

This file was deleted.

13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# seamless-auth-api

## 0.13.2

### Patch Changes

- 528f627: Keep the TLS options when `DATABASE_URL` carries `sslmode`. `resolveSslOptions` turns `DB_SSL`,
or an `sslmode` on the connection string, into Sequelize's `dialectOptions.ssl`, but Sequelize
then read the same `sslmode` for itself and let pg-connection-string's reading of it replace
those options. A URL carrying the parameter had its certificate verified whatever `DB_SSL` or
`DB_SSL_REJECT_UNAUTHORIZED` said, which against Amazon RDS is a boot failure, and `DB_SSL=false`
could not turn TLS off for it. Sequelize is now constructed with `sslmode` taken out of the URL,
once `resolveSslOptions` has read it. Nothing changes on the discrete `DB_*` path, whose URL
never carries the parameter.

## 0.13.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "seamless-auth-api",
"version": "0.13.1",
"version": "0.13.2",
"description": "Seamless Auth API - A web application server for supporting a Seamless Auth server instance.",
"main": "index.js",
"type": "module",
Expand Down