Java serialization library, proto compiler, code generator
APACHE-2.0 License
Restore compatibility with Java 6.
Published by kshchepanovskyi over 8 years ago
#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
#182: Use flags in IdStrategy for customizing RuntimeSchema behavior in addition to system properties
Published by kshchepanovskyi over 8 years ago
#187: JSON deserialization fails for unknown fields of type array of objects
Published by kshchepanovskyi over 8 years ago
#175: Add ListAdapter for new java genetated code (protostuff-compiler 2.0.0-alpha19)
Published by kshchepanovskyi over 8 years ago
#173: Add support for private constructors in DefaultIdStrategy
Published by kshchepanovskyi over 8 years ago
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
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)
Published by kshchepanovskyi almost 9 years ago
https://github.com/protostuff/protostuff/issues/149: [core]
JSON deserialization fails for unknown message fields
Published by kshchepanovskyi about 9 years ago
https://github.com/protostuff/protostuff/pull/140: [compiler]
Package compiler jar with dependencies
Published by kshchepanovskyi about 9 years ago
[protostuff-api]
Add service annotations.[code generator]
Add two new filters - trim + cut spaces.[code generator]
Fix proto_path
warning on Windows.Published by kshchepanovskyi over 9 years ago
https://github.com/protostuff/protostuff/pull/124: [parser] package should be optional
Published by kshchepanovskyi over 9 years ago
[parser]
.PLURAL
and SINGULAR
[code generator]
LinkBuffer#getBuffers
should include the current buffer [core]
[protostuff-maven-plugin]
: protoModule without output definition gives NPE[protostuff-maven-plugin]
Add output dir to test compile sources if phase=generate-test-sourcesPublished by kshchepanovskyi over 9 years ago
[generated code]
@Tag
values [runtime schemas]
java_bean_model
[generated code]
null
if not set [generated code]
java_bean
. Now default values are not applied automatically for all field types, unless default value is specified explicitly.null
and treat null
as a default value. For example, you can use Guava's utility method: MoreObjects.firstNonNull(message.getNullableFieldValue(), DEFAULT_FIELD_VALUE)
.Published by kshchepanovskyi over 9 years ago
getProtoType
for Field
[code generator]equals()
and hashCode()
for generated messages [code generator]Published by kshchepanovskyi over 9 years ago
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>
...
https://github.com/protostuff/protostuff/issues/84: Value of @Generated
annotation is not valid string [code generator]
https://github.com/protostuff/protostuff/pull/90:
<output>
maven plugin option) in multi-module projectsPluginProtoCompiler
behavior when ppc.check_filename_placeholder
is enabled, https://code.google.com/p/protostuff/issues/detail?id=166
Published by kshchepanovskyi almost 10 years ago
Collections.unmodifiableList(source)
(code generated by java_bean
template)Published by kshchepanovskyi almost 10 years ago
@Tag
support for enums in protostuff-runtime
protostuff-me
to separate project.Published by kshchepanovskyi almost 10 years ago
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.xprotostuff-xml
1.0.x