Skip to content

Releases: algorand/msgp

Add unmarshal callback directive

19 Oct 07:49
9359fd1
Compare
Choose a tag to compare

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

20 Jul 21:19
a756cc9
Compare
Choose a tag to compare

Add partitioning to auto-generated tests.

error-free MarshalMsg

02 Feb 14:41
31becba
Compare
Choose a tag to compare

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

22 Jan 14:52
d1d96a9
Compare
Choose a tag to compare

properly handle embedded structs from another package

cast allocbound to int64 to allow be used as a ErrOverflow argument

11 Jun 16:25
6c5e28f
Compare
Choose a tag to compare
Merge pull request #7 from algorand/tsachi/byteslicelencheck

Improve non-int bound checks

Add support for byte slices allocbound checking

11 Jun 14:40
516d169
Compare
Choose a tag to compare
Merge pull request #6 from algorand/tsachi/byteslicelencheck

Add byte slice length check to the decoder

Ensure topics are ordered

03 Jun 12:48
7380d40
Compare
Choose a tag to compare

(this is a placeholder for the same tag as v1.1.42)

Ensure topics are ordered

03 Jun 12:39
7380d40
Compare
Choose a tag to compare
Merge pull request #5 from algorand/tsachi/ordertopics

Ensure topics are ordered

Add summary, unit test build tag and avoid interface warnings

03 Jun 01:59
ea7c8bf
Compare
Choose a tag to compare
  1. On the header of the generate files, there is a summary of which objects and function are implemented.
  2. 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 )
  3. Interfaces are now correctly detected, and would not generate warning during msgp execution.

Add support for Raw structure

23 May 15:57
058212f
Compare
Choose a tag to compare
Merge pull request #3 from algorand/tsachi/altrawsupport

Restore raw support from upstream