Skip to content

Releases: tscode/StructPack.jl

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 25 Apr 10:14

StructPack v0.3.1

Diff since v0.3.0

Bug fixes

  • Fixed a minor issue with the type of the type parameter I of ExtensionFormat{I}. This must now always be Int8.
  • Fixed a bug that prevented unpacking in ExtensionFormat.

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 23 Apr 11:25

StructPack v0.3.0

Diff since v0.2.0

Breaking changes

  • SetContextFormat has been renamed to ContextFormat.

New features

  • @pack now accepts the special syntax F[C] for formats, which translates to ContextFormat{C, F}.
  • @pack can 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 @pack macro.
  • 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

Choose a tag to compare

@github-actions github-actions released this 22 Jan 14:03

StructPack v0.2.0

Diff since v0.1.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 typeparamtypes and typeparamformats.

New Features

  • Msgpack extensions are now supported via the new ExtensionFormat.
  • The auxiliary format FlexibleStructFormat has been added.
  • The special format SetContextFormat has been added.

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 15 Jan 12:17

StructPack v0.1.0