flatbuffers v0.3.0.0 Release Notes

Release Date: 2020-11-14 // about 1 year ago
    • FlatBuffers.Vector.toByteString renamed to FlatBuffers.Vector.toLazyByteString
    • 👍 Allow trailing comma after the last enum/union field for compatibility with flatc.
    • If a Haskell keyword is used as the name of a table or struct, then suffix the name of the generated constructor with an underscore.

Previous changes from v0.2.0.0

    • ➕ Add support for bitmasks, i.e. enums with the bit_flags attribute.
    • FlatBuffers.Vector.length changed from Either ReadError Int32 to Int32.
      • Vector length is now read once upfront, rather than on every access.
    • ➕ Added to FlatBuffers.Vector:
      • fromByteString
      • fromLazyByteString
      • fromMonoFoldable (supports Data.Vector.Unboxed and Data.Vector.Storable)
      • take
      • drop
      • toByteString
    • TemplateHaskell:
      • Added colorName for enums.
      • Fixed error messages when running ghcid (they used to be truncated).