protostuff v1.3.3 Release Notes
Release Date: 2015-03-23 // about 9 years ago-
๐ Improvements
- #105: Add option for generating field maps with original field names
[generated code]
๐ Fixes
- ๐ #98: Fix for messages with sparse/big
@Tag
values[runtime schemas]
- #108: Fix for default values in
java_bean_model
[generated code]
- #107: Getter of optional enum should return
null
if not set[generated code]
Compatibility notes
- 0๏ธโฃ Please check https://github.com/protostuff/protostuff/issues/107 as it changes structure of the schema, generated by
java_bean
. Now default values are not applied automatically for all field types, unless default value is specified explicitly. If you use protobuf as a serialization format, you should always do check fornull
and treatnull
as a default value. For example, you can use Guava's utility method:MoreObjects.firstNonNull(message.getNullableFieldValue(), DEFAULT_FIELD_VALUE)
.
- #105: Add option for generating field maps with original field names