-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Closed
Description
Issue description
Some SSL properties in mongoDB connection are deprecated
Expected Behavior
No deprecation messages when the application starts.
Actual Behavior
The latest version of typeORM requires a mongoDB version 5.8.0 or higher. The following properties have been deprecated (and replaced) in the mongoDB connection interface:
sslValidate => tlsAllowInvalidCertificates
sslCA => tlsCAFile
Steps to reproduce
update using nmp i the typeORM to the latest version and use ssl options in the connection object.
My Environment
| Dependency | Version |
|---|---|
| Operating System | |
| Node.js version | 16.14.0 |
| Typescript version | 5.1.6 |
| TypeORM version | 0.3.19 |
Additional Context
Relevant Database Driver(s)
- aurora-mysql
- aurora-postgres
- better-sqlite3
- cockroachdb
- cordova
- expo
- mongodb
- mysql
- nativescript
- oracle
- postgres
- react-native
- sap
- spanner
- sqlite
- sqlite-abstract
- sqljs
- sqlserver
Are you willing to resolve this issue by submitting a Pull Request?
Yes, I have the time, and I know how to start.
