Version history

Releases

Unreleased

v0.2.0 (2019-03-23)

This release adds more field types and further improves on existing code. It also extends the documentation significantly.

v0.1.0 (2019-02-17)

This release features several new field types, and bugfixes from the previous release. Also some backwards-incompatible changes were made.

  • Added StructureOptions.byte_order
  • Added Structure.as_cstruct()
  • Added Structure.__len__()
  • Added Structure.full_name()
  • FieldContext is now ParsingContext
  • New field: ConditionalField
  • New field: EnumField
  • New field: BitField
  • New field: IntegerField, renamed struct-based field to IntField
  • New field: FixedLengthStringField
  • New field: TerminatedStringField
  • Support strict, negative lengths and padding in structify.fields.FixedLengthField
  • Support length in structify.fields.ArrayField, renamed ArrayField.size to ArrayField.count
  • Support step structify.fields.TerminatedField
  • Fixed structify.fields.StructureField to use structify.Substream
  • Fixed double-closing a structify.Substream

v0.0.1 (2018-04-07)

Initial release.