diff --git a/changelog/CHANGELOG.md b/changelog/CHANGELOG.md index b257ea0..ff2e4cc 100644 --- a/changelog/CHANGELOG.md +++ b/changelog/CHANGELOG.md @@ -1,5 +1,9 @@ # @goodware/mysql Release History +## 5.1.2 2024-08-21 + +SSL Object support. + ## 5.1.1 2023-05-16 Update documentation diff --git a/index.js b/index.js index 9bc85b8..183dd30 100755 --- a/index.js +++ b/index.js @@ -70,7 +70,7 @@ connection`), is: true, then: Joi.string().required(), }).description('Used when useIAM is true. The AWS region name.'), - ssl: Joi.string().description(`Typically 'Amazon RDS'`), + ssl: Joi.alternatives(Joi.string(), Joi.object()).description(`Typically 'Amazon RDS'`), useIAM: Joi.boolean().description('true to use AWS RDS IAM passwordless security'), user: Joi.string().default('root').allow('').description('The database user name'), usePool: Joi.boolean().description('true enables connection pooling'), diff --git a/package.json b/package.json index dbd8cdc..e9fe286 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@goodware/mysql", - "version": "5.1.1", + "version": "5.1.2", "description": "A mysql2-based connection helper", "author": "devguy@devguy.com", "engines": {