logoalt Hacker News

wazzapstoday at 9:26 PM3 repliesview on HN

Actually renaming and reordering fields is completely fine, as long as the field ID and type stay the same


Replies

ventanatoday at 11:25 PM

Considered breaking change because JSON serialization will change, and JSON is used quite often.

Reordering fields without changing their ID is indeed a non-breaking change from what I understand, albeit quite a useless one :)

show 1 reply
dieortintoday at 9:41 PM

Depends, if you use textproto then renaming is problematic too

etermtoday at 9:40 PM

Shit, you're right, I'm trying to remember the one that used to trip us up all the time, maybe it was removing fields?

There was definitely one that kept tripping up the checks and it was something people like to do.