Is displaying the message of a new version available a good practice?

Today a developer mentioned that we should display a message to the users saying "A new version of the XX app is available, please refresh de browser". Like what Inbox did once.

Is displaying this message a good practice or an anti pattern as they mention in this tweet? Are there other better ways to solve this?

enter image description here

Thank you in advance!