Releases: algorand/msgp
Releases · algorand/msgp
Add unmarshal callback directive
msgp has the ability to call functions specified as directives for a certain type.
the function would be called at the end of unmarshaling.
Add partitioning to generated tests
Add partitioning to auto-generated tests.
error-free MarshalMsg
The only possible case that could have generated an error during encoding
was from encoding an interface, which we never used (and thus we were
already strongly assuming no error would be returned). This change
removes the ability to encode interfaces, which means MarshalMsg()
will never return an error.
properly handle embedded structs from another package
properly handle embedded structs from another package
cast allocbound to int64 to allow be used as a ErrOverflow argument
Merge pull request #7 from algorand/tsachi/byteslicelencheck Improve non-int bound checks
Add support for byte slices allocbound checking
Merge pull request #6 from algorand/tsachi/byteslicelencheck Add byte slice length check to the decoder
Ensure topics are ordered
(this is a placeholder for the same tag as v1.1.42)
Ensure topics are ordered
Merge pull request #5 from algorand/tsachi/ordertopics Ensure topics are ordered
Add summary, unit test build tag and avoid interface warnings
- On the header of the generate files, there is a summary of which objects and function are implemented.
- On each of the generated test file, a build tag was added. This buildtag could be used to exclude the build of the unit tests.
( needed for testing of encoding using non-test code ) - Interfaces are now correctly detected, and would not generate warning during msgp execution.
Add support for Raw structure
Merge pull request #3 from algorand/tsachi/altrawsupport Restore raw support from upstream