Releases: tscode/StructPack.jl
Releases · tscode/StructPack.jl
Release list
v0.3.1
StructPack v0.3.1
Bug fixes
- Fixed a minor issue with the type of the type parameter
IofExtensionFormat{I}. This must now always beInt8. - Fixed a bug that prevented unpacking in ExtensionFormat.
v0.3.0
StructPack v0.3.0
Breaking changes
SetContextFormathas been renamed toContextFormat.
New features
@packnow accepts the special syntaxF[C]for formats, which translates toContextFormat{C, F}.@packcan now be used to conveniently declare type parameter types and type parameter formats, which is necessary for packing and unpacking of types with type parameters.
Fixes
- Improved test coverage and documentation for the
@packmacro. - Fixed a bug by which core formats would ignore contexts for
destruct. - Export the symbol
FloatFormat, which was missed in version 0.2.
v0.2.0
StructPack v0.2.0
Breaking changes
- The interface and defaults for abstract unpacking have changed: Whitelists were removed, and generic abstract unpacking is not supported anymore.
- To pack a type with type parameters, it is now necessary to implement
typeparamtypesandtypeparamformats.
New Features
- Msgpack extensions are now supported via the new
ExtensionFormat. - The auxiliary format
FlexibleStructFormathas been added. - The special format
SetContextFormathas been added.