FlatSharp 7.8.0 contains a small number of new features and bugfixes thanks to @sssooonnnggg and @trumully! Thank you for the contributions!
Features
- Unions can how have manually set discriminator values, ie
union MyUnion { str : string = 3, MyTable = 6 }
- Using the
<FlatSharpGenerateMethods>true</FlatSharpGenerateMethods>
in your .csproj file now allows generating.ToString()
methods on certain FlatSharp objects. More in the future! - Builds targeting .NET 9 (no .NET 9 features used yet)
Fixes
- Fix an issue where
\
and"
characters were not escaped when present in a FlatBuffer attribute value.
Other Changes
- Removal of the FlatSharp object pooling experimental feature.
What's Changed
- Fix pipelines by @jamescourtney in #446
- chore: create output directory if not exists by @sssooonnnggg in #444
- fix: emit attribute with escaped quote and backslash by @sssooonnnggg in #445
- fix: fixed union generator when processing union with custom enum value by @sssooonnnggg in #447
- Add net 9 by @jamescourtney in #449
- Remove Object Pooling by @jamescourtney in #450
- Add ToString methods by @trumully in #437
New Contributors
- @sssooonnnggg made their first contribution in #444
Full Changelog: 7.7.0...7.8.0