Why is tap() deprecated?

I’ve searched, but not found the answer.

Why is the AppiumDriver class’ tap() method deprecated?
What should I use instead?(This is in Java).

choose any:

 new TouchAction((MobileDriver) driver).tap(element or x,y or element+offset x,y).perform();
 new TouchAction((MobileDriver) driver).press(element or x,y or element+offset x,y).waitAction(50).release().perform();

Hi Aleksei,
Can you please share your solution for previously raised issue?
Since now tap() is deprecated, I should use TouchAction() but I can’t make it work.

Thank you very much!