Releases: dansalvato/build-a-file
Releases · dansalvato/build-a-file
v1.0.0
Breaking Changes
This is a brief overview; see the readme for thorough examples on revised syntax and usage.
- Block attributes are now defined using object definitions instead of data annotations. The object definitions follow somewhat different conventions and enable more features and reliability, while reducing complexity.
- U8/U16/U32 datatypes now enforce unsigned integers. S8/S16/S32 datatypes for signed integers, and I8/I16/I32 for integers that can ambiguously be signed or unsigned (former behavior of U8/U16/U32), have been added.
- BAF is somewhat stricter about typing, both in static type checking and in error handling to ensure data is in the expected type/format.
- Primitive types (U8, etc.) no longer inherit
int
. Useint(self.some_object)
to get the integer value of the built object. - Array no longer inherits
list
. Usearray.get_items()
to get a list of items in the built array. - Some methods have been renamed for better consistency and clarity.