Is link text and partial link text also been depreciated?

The latest version of appium has removed the name locator. Did they removed the link text and partial link text locator ?
This is because I’m getting the following error.
Exception in thread “main” org.openqa.selenium.InvalidSelectorException: Locator Strategy ‘link text’ is not supported for this session (WARNING: The server did not provide any stacktrace information)

As per readme provided for appium-java api version4, they have removed linkText,partiallinktex and many other. also they have deprecated many class also. check java api readme file.