Releases: interlockledger/go-iltags
Releases · interlockledger/go-iltags
v0.2.2
v0.2.1
Changelog:
TimestampTagSize()
added;WrappedValueTag
concept added. Now, it is possible to use tag implementations to wrap existing values, making it easier to manipulate those values. It uses generics to reduce the amount of code needed to perform this task without reflection;- Adding new macro functions to serialize/deserialize multiple tags at once;
- Unit-tests for
ComputeagHeaderSize()
added; ILTagSeralizeWithNull()
andILTagSequenceSize()
modified to deal with interfaces with nil values;
Full Changelog: v0.2.0...v0.2.1
v0.2.0
This is the release v0.2.0 of this library. It introduces the following new features:
- A new set of functions to serialize/deserialize primitive tags directly (see
tags/direct
); - TimestampTag now have direct serialize/deserialize functions;
- Support for the IL2 versioned tag;
- The package tagtest has been added with utilities to test tag implementations;
- A generics based stable map implementation
BaseStableMap
has been added to replace the older implementation; - Functions ILTagSeralizeWithNull() and ILTagDeserializeIntoOrNull() added to deal with values that may be mapped to NullTags;
- All . imports have been removed;
- Error message formats changed to match the Go convetions;
- RawTag moved from impl to tags;
Breaking changes:
- For clarity, some existing functions and structures were moved to other packages.
- Direct string tag serialization functions moved to the package
tags/direct
; StableStringMap
andStableILTagMap
are now based on theBaseStableMap
. Both types kept the same code interface but are not type compatible with previous versions.
Full Changelog: v0.1.1...v0.2.0