Maybe in java world it was different but when i wrote c++ and go code there breaking existing apis was extremely frowned upon and if they had to do it people usually sent you automated code edit PRs for this
Some companies may have a consistent policy about this, in other companies it may depend on which team happens to have more political power.