protostuff

Java serialization library, proto compiler, code generator

APACHE-2.0 License

Stars
2K
Committers
38
protostuff - 1.5.0 Latest Release

Published by kshchepanovskyi about 8 years ago

Restore compatibility with Java 6.

protostuff - 1.4.3

Published by kshchepanovskyi over 8 years ago

Fixes

#176, #177: Solve problem with serializing custom Collections - allow registering a schema/delegate for collection classes.

#181, #183: Fix problem with GraphIOUtil and unknown fields.

#174, #178: Fix serialization of null in Enumeration ArrayList

Enhancements

#182: Use flags in IdStrategy for customizing RuntimeSchema behavior in addition to system properties

protostuff - 1.4.4

Published by kshchepanovskyi over 8 years ago

Fixes

#187: JSON deserialization fails for unknown fields of type array of objects

protostuff - 1.4.2

Published by kshchepanovskyi over 8 years ago

Enhancements

#175: Add ListAdapter for new java genetated code (protostuff-compiler 2.0.0-alpha19)

protostuff - 1.4.1

Published by kshchepanovskyi over 8 years ago

Fixes

#173: Add support for private constructors in DefaultIdStrategy

protostuff - 1.4.0

Published by kshchepanovskyi over 8 years ago

Enhancements

https://github.com/protostuff/protostuff/pull/166: Upgrade Jackson to 2.7.1
https://github.com/protostuff/protostuff/issues/148: JSON serialization of unsigned numbers (uint32, uint64, fixed32, fixed64)
https://github.com/protostuff/protostuff/issues/156: Add field name to Exception message if @Tag is missing on a field in a class hierarchy

Fixes

https://github.com/protostuff/protostuff/pull/167: Fix ByteSting#toString() implementation
https://github.com/protostuff/protostuff/issues/154: XmlIOUtil method fix (args was not used)

protostuff - 1.3.8

Published by kshchepanovskyi almost 9 years ago

Fixes

https://github.com/protostuff/protostuff/issues/149: [core] JSON deserialization fails for unknown message fields

protostuff - 1.3.7

Published by kshchepanovskyi about 9 years ago

Improvements

https://github.com/protostuff/protostuff/pull/140: [compiler] Package compiler jar with dependencies

protostuff - 1.3.6

Published by kshchepanovskyi about 9 years ago

Improvements

Fixes

protostuff - 1.3.5

Published by kshchepanovskyi over 9 years ago

Fixes

https://github.com/protostuff/protostuff/pull/124: [parser] package should be optional

protostuff - 1.3.4

Published by kshchepanovskyi over 9 years ago

Improvements

Fixes

protostuff - 1.3.3

Published by kshchepanovskyi over 9 years ago

Improvements

Fixes

Compatibility notes

  • 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 for null and treat null as a default value. For example, you can use Guava's utility method: MoreObjects.firstNonNull(message.getNullableFieldValue(), DEFAULT_FIELD_VALUE).
protostuff - 1.3.2

Published by kshchepanovskyi over 9 years ago

Improvements

protostuff - 1.3.1

Published by kshchepanovskyi over 9 years ago

Improvements

https://github.com/protostuff/protostuff/issues/86: Configure system properties for maven plugin in the POM

Now it is possible to specify proto-compiler options directly in pom.xml

<plugin>
        <groupId>io.protostuff</groupId>
        <artifactId>protostuff-maven-plugin</artifactId>
        <version>${protostuff.version}</version>
        <configuration>
          <properties>
            <property>
              <name>ppc.check_filename_placeholder</name>
              <value>true</value>
            </property>
          </properties>
          <protoModules>
...

Fixes

https://github.com/protostuff/protostuff/issues/84: Value of @Generated annotation is not valid string [code generator]
https://github.com/protostuff/protostuff/pull/90:

protostuff - 1.3.0

Published by kshchepanovskyi almost 10 years ago

Improvements

Fixes

protostuff - 1.2.0

Published by kshchepanovskyi almost 10 years ago

Improvements

Fixes

Compatibility

protostuff - 1.1.0

Published by kshchepanovskyi almost 10 years ago

Compatibility

The 1.1.0 release is the last release that supports Java 5.

The 1.1+ versions will not be wire-compatible with the ff:

  • protostuff-runtime 1.0.x
  • protostuff-xml 1.0.x

Fixes

  • Issue 161: Optimize ProtobufOutput for small nested messages (max size of 127)
  • Issue 157: ConcurrentLinkedDeque support
  • Issue 156: Support for newing object instances on Android 4.3+ devices
    • thanks to eedzjee
  • Issue 153: YamlOutput bug on repeated message fields
  • Issue 151: optimize xml format
  • Issue 141: protostuff ser/der can not keep order of elements in an array which contain null value
    • thanks to lzh0379
  • Issue 119: Reflection-based array operations are rather expensive