# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

- Deprecated Interfaces
  Interface and Description
  com.isomorphic.js.IToJavaScript use IToJSON instead

- Deprecated Classes
  Class and Description
  com.isomorphic.base.Init Please use `InitListener` instead.
  com.isomorphic.datasource.RESTDataSource

- Deprecated Fields
  Field and Description
  com.isomorphic.servlet.HttpProxyServlet.acceptInvalidAndExpiredSSLCertificates As of release 12, replaced by `HttpProxyServlet.sslTrustStrategy`
  com.isomorphic.rpc.BaseResponse.UPDATE_WITHOUT_PK Use `BaseResponse.STATUS_UPDATE_WITHOUT_PK` instead for naming consistency.

- Deprecated Methods
  Method and Description
  com.isomorphic.hibernate.HibernateDataSource.commitTransaction(Transaction) As of SmartClient 8.0. Use `HibernateTransaction.commitTransaction(com.isomorphic.datasource.DSTransaction)` instead
  com.isomorphic.webdriver.SmartClientWebDriver.dragAndDrop(By, String) use the variant that takes separate coordinate offsets
  com.isomorphic.util.DataTools.getLoggerRepository()
  com.isomorphic.datasource.DataSource.getRelatedDisplayRecord(String, Object)
  com.isomorphic.datasource.DSRequest.getRequestContext() Please use `BaseRequest.getContext()` instead.
  com.isomorphic.util.DataTools.md5(String) Please use `DataTools.sha256(java.lang.String)` or `DataTools.sha512(java.lang.String)` instead to generate a secure hash, as MD5 is vulnerable to attackers creating collisions with current technology.
  com.isomorphic.hibernate.HibernateDataSource.rollbackTransaction(Transaction) As of SmartClient 8.0. Use `HibernateTransaction.rollbackTransaction(com.isomorphic.datasource.DSTransaction)` instead
  com.isomorphic.webdriver.SmartClientWebDriver.setAllowCoordClickOnOccludingElement(boolean) in favor of `SmartClientWebDriver.setOccludedElementApproach(com.isomorphic.webdriver.SmartClientWebDriver.OccludedElementApproach)`
  com.isomorphic.datasource.DSRequest.setRequestContext(RequestContext) Please use `BaseRequest.setContext(RequestContext)` instead.
  com.isomorphic.util.DataTools.sha(String) Please use `DataTools.sha256(java.lang.String)` or `DataTools.sha512(java.lang.String)` instead to generate a secure hash, as SHA-1 is vulnerable to attackers creating collisions with current technology.
  com.isomorphic.hibernate.HibernateDataSource.startTransaction() As of SmartClient 8.0. Use `HibernateTransaction.startTransaction(com.isomorphic.datasource.DSTransaction)` instead
  com.isomorphic.datasource.DataSource.transformImportValue(String, Object, String)
  com.isomorphic.datasource.DataSource.validate(Map, ErrorReport) Please use `DataSource.validateRecord(Map, ErrorReport, ValidationContext)` instead.

- Deprecated Constructors
  Constructor and Description
  com.isomorphic.webdriver.SmartClientChromeDriver(Capabilities) use `SmartClientChromeDriver(ChromeOptions)` instead
  com.isomorphic.webdriver.SmartClientChromeDriver(ChromeDriverService, Capabilities) use `SmartClientChromeDriver(ChromeDriverService,ChromeOptions)` instead
  com.isomorphic.webdriver.SmartClientFirefoxDriver(Capabilities) use `SmartClientFirefoxDriver(FirefoxOptions)` instead
  com.isomorphic.webdriver.SmartClientFirefoxDriver(FirefoxBinary) use `SmartClientFirefoxDriver(FirefoxOptions)` instead
  com.isomorphic.webdriver.SmartClientFirefoxDriver(FirefoxBinary, FirefoxProfile) use `SmartClientFirefoxDriver(FirefoxOptions)` instead
  com.isomorphic.webdriver.SmartClientFirefoxDriver(FirefoxProfile) use `SmartClientFirefoxDriver(FirefoxOptions)` instead
  com.isomorphic.webdriver.SmartClientIEDriver(Capabilities) use `SmartClientIEDriver(InternetExplorerOptions)` instead
  com.isomorphic.webdriver.SmartClientIEDriver(int) use `SmartClientIEDriver(InternetExplorerOptions)` instead
  com.isomorphic.webdriver.SmartClientIEDriver(InternetExplorerDriverService, Capabilities) use `SmartClientIEDriver(InternetExplorerDriverService,InternetExplorerOptions)` instead
  com.isomorphic.webdriver.SmartClientIEDriver(InternetExplorerDriverService, Capabilities, int) use `SmartClientIEDriver(InternetExplorerDriverService,InternetExplorerOptions)` instead