feat!: remove deprecated Connection and ConnectionOptions#12022
feat!: remove deprecated Connection and ConnectionOptions#12022alumni merged 5 commits intotypeorm:masterfrom
Connection and ConnectionOptions#12022Conversation
… remove all `ConnectionOptions` aliases
User descriptionDescription of change
TODO: add mention in the "migration to v1" doc. Fixes #12020 Pull-Request Checklist
PR TypeEnhancement, Bug fix, Tests Description
Diagram Walkthroughflowchart LR
A["Deprecated APIs<br/>Connection<br/>ConnectionOptions<br/>*ConnectionOptions"] -->|"Remove"| B["Removed from codebase"]
C["DataSource<br/>DataSourceOptions<br/>*DataSourceOptions"] -->|"Rename & Update"| D["New standard APIs"]
E["Deprecated Methods<br/>isConnected<br/>connect<br/>close"] -->|"Remove"| F["Use replacements<br/>isInitialized<br/>initialize<br/>destroy"]
G["Test Suite"] -->|"Migrate"| H["Updated to use<br/>DataSource API"]
|
| Relevant files | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Tests | 21 files
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Enhancement | 40 files
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Formatting | 2 files
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bug fix | 1 files
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional files |
PR Code Suggestions ✨Latest suggestions up to a6db51f
Previous suggestionsSuggestions up to commit 70d5968
Suggestions up to commit 2ef1e59
|
|||||||||||||||||||||||||||||||||||||||||||||
Code Review by Qodo
1. Docs missing for API removal
|
…oot-exported classes
commit: |
Code Review by Qodo
1. Docs missing for API removal
|
70d5968 to
a6db51f
Compare
Code Review by Qodo
1. Empty JSDoc for run()
|
Description of change
Connection/ConnectionOptionswhich were deprecated in 0.3 in favor ofDataSource/DataSourceOptions.PostgresConnectionOptionstoPostgresDataSourceOptionswhich was omitted in 0.3 - these interfaces are not directly exported in the root of the package.DataSource.Fixes #12020
Pull-Request Checklist
masterbranchFixes #00000tests/**.test.ts)docs/docs/**.md)