Database API changes (#866)

Introduced RawDataSource to prohibit passing DbDataSource to some APIs
This commit is contained in:
Alexander Kass 2022-10-17 12:15:15 +03:00 committed by GitHub
parent 7fde480c16
commit d107e79db3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,6 +92,12 @@ _Early Access Program_ (EAP) releases of upcoming versions are available [here](
`com.intellij.database.dataSource.url.TypesRegistry.BaseTypeDescriptor.createFieldImpl(String caption, String configuration, DataInterchange interchange)` abstract method added `com.intellij.database.dataSource.url.TypesRegistry.BaseTypeDescriptor.createFieldImpl(String caption, String configuration, DataInterchange interchange)` abstract method added
: Must be implemented. : Must be implemented.
`com.intellij.database.psi.DbDataSourceImpl.getDelegate()` method return type changed from DatabaseSystem to RawDataSource
: Prefer `com.intellij.database.psi.DbDataSource.getDelegateDataSource()`
`com.intellij.database.psi.DbPsiFacadeImpl.createDataSourceWrapperElement(DasDataSource, DataSourceManager)` method parameter type changed from DasDataSource to RawDataSource
: Avoid manually wrapping data sources
### TextMate Plugin 2022.3 ### TextMate Plugin 2022.3
`org.jetbrains.plugins.textmate.language.preferences.PreferencesRegistry` class now interface `org.jetbrains.plugins.textmate.language.preferences.PreferencesRegistry` class now interface