# Deprecated API

## Contents

- Interfaces
- Classes
- Fields
- Methods
- Constructors

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

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

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

- Deprecated Methods
  Method
  Description
  com.isomorphic.datasource.DataSource.getRelatedDisplayRecord(String, Object)
  com.isomorphic.datasource.DataSource.transformImportValue(String, Object, String)
  com.isomorphic.datasource.DataSource.validate(Map, ErrorReport)
  Please use `DataSource.validateRecord(Map, ErrorReport, ValidationContext)` instead.
  com.isomorphic.datasource.DSRequest.getRequestContext()
  Please use `BaseRequest.getContext()` instead.
  com.isomorphic.datasource.DSRequest.setRequestContext(RequestContext)
  Please use `BaseRequest.setContext(RequestContext)` instead.
  com.isomorphic.hibernate.HibernateDataSource.commitTransaction(Transaction)
  As of SmartClient 8.0. Use `HibernateTransaction.commitTransaction(com.isomorphic.datasource.DSTransaction)` instead
  com.isomorphic.hibernate.HibernateDataSource.rollbackTransaction(Transaction)
  As of SmartClient 8.0. Use `HibernateTransaction.rollbackTransaction(com.isomorphic.datasource.DSTransaction)` instead
  com.isomorphic.hibernate.HibernateDataSource.startTransaction()
  As of SmartClient 8.0. Use `HibernateTransaction.startTransaction(com.isomorphic.datasource.DSTransaction)` instead
  com.isomorphic.util.DataTools.getLoggerRepository()
  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.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.webdriver.SmartClientWebDriver.dragAndDrop(By, String)
  use the variant that takes separate coordinate offsets
  com.isomorphic.webdriver.SmartClientWebDriver.setAllowCoordClickOnOccludingElement(boolean)
  in favor of `SmartClientWebDriver.setOccludedElementApproach(com.isomorphic.webdriver.SmartClientWebDriver.OccludedElementApproach)`

- Deprecated Constructors
  Constructor
  Description
  com.isomorphic.webdriver.SmartClientChromeDriver(Capabilities)
  use `SmartClientChromeDriver(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(InternetExplorerDriverService, Capabilities)
  use `SmartClientIEDriver(InternetExplorerDriverService,InternetExplorerOptions)` instead