Skip to content

7.7.0

Compare
Choose a tag to compare
@jamescourtney jamescourtney released this 03 Jun 08:32
· 7 commits to main since this release
cc0659d

FlatSharp 7.7.0 is a small feature release. Thanks to @trumully and @parched, unions now have implicit operators for assignment:

SomeUnion union = "hello";

Thanks for the contribution!

Additionally, a bug has been fixed relating to use of the required modifier with various setter options. Previous versions of FlatSharp would generate invalid C# if using required with a non-public setter. The new behavior is to always enforce the concept of required when serializing/parsing, but to only add the C# required keyword to a property when the setter's visibility is public.

What's Changed

New Contributors

Full Changelog: 7.6.0...7.7.0