Skip to content

v0.4.0

Choose a tag to compare

@TethysSvensson TethysSvensson released this 03 Jun 12:49
· 126 commits to main since this release

[0.4.0] - 2023-06-03

Added

  • [Rust]: Added more impls for union and struct references
  • [Rust]: Add an ENUM_VALUES const to enums
  • [Rust]: Make Vector more similar to rust slices by adding more methods
  • [Rust]: Vectors of uint8/int8 now deserialize directly to rust slices
  • [Rust]: Implement caching of vtables, byte-slices and strings, hidden
    behind the vtable-cache, bytes-cache and string-cache feature flags
    (they are enabled by default)
  • [Rust]: Bump the Minimum Support Rust Version (MSRV) to 1.64.0.
  • [Rust]: Add license files to crates
  • [Rust]: Implement a builder pattern for serializing tables and unions
  • Add support for docstrings, and add them to the Rust output. #152
  • Update the README with information about our Discord server #138
  • Split up planus-cli into multiple crates #161
  • Add view command to planus-cli (though it is still somewhat experimental)

Fixed

  • Fix planus failing with "Unexpected token" on CLRF #166
  • [Rust]: rustfmt runs twice on generated code to ensure it is formatted correctly #168
  • [Rust]: Fix an issue with using structs across different flatbuffer namespaces #172
  • [Rust]: Fix bad error reporting when rustfmt was not installed #173

Removed

  • [Rust]: The old ways of serializing tables and unions using create-functions have been removed.