square/wire — pull request #153 by danrice-square (2014-08-13 22:18:28+00:00)
Title: Place the __UNDEFINED__ enum value at the end so it does not affect ordinal()

@loganj

Previously the __UNDEFINED__ value appeared at the beginning of the list of enum values. However, it's not uncommon for client code to call ordinal() on an enum and serialize/deserialize the resulting value. That means that the previous addition of __UNDEFINED__ could amount to a breaking change for such code.