Releases: tperale/binspector
Releases · tperale/binspector
v2.0.0
2.0.0 (2025-04-03)
Bug Fixes
- bindump: various bug fixes (c836366)
- Controller: uncomplete relations should throw (98a3331)
- Cursor: no longer returns EOF (4f2cd2c)
- Cursor: turn Binary{Reader,Writer} into DataView children (57426c0)
chore
- writer: improve api for binwrite (471becb)
Features
- bindump: create metadata while reading binary definition (fefe1e8)
- bindump: support dumping binary objects (27bd65b)
- Primitive: add support for {un}signed 24 bits integer (d34d57f)
- reader: bindump on error (7788deb)
BREAKING CHANGES
- writer:
binwrite
call arguments changed.
No longer needs to pass aBinaryWriter
to the function - reader: The API of the binread slightly changed.
- If you need to pass arguments to the topmost definition. Create an object
instance instead. - The context is now passed through an option object instead of an
argument.
- Cursor: The BinaryReader will no longer returns an EOF symbol
when reading outside of the buffer range.
v1.1.1
v1.1.0
v1.0.0
1.0.0 (2025-02-28)
- feat!: drop support for
PrimitiveSymbol.char
(bd26841) - feat!: remove alignment option for controllers (d9a6282)
Bug Fixes
- Cursor: support endianness for float{32,64} number (97c9e57)
- endianness of bmp example (dbb430a)
- Example: bitmap color table uses 4 bytes RGBQ (261d388)
Features
- Helper: new
Flatten
decorator (c4c1e7f) - PrePost:
SharePropertiesWithRelation
decorator (6b36000) - PrePost: support
Padding
decorator (b7e7c1d) - Primitive: introduce decorator for each primitive types (f3b23bd)
- support ascii encoding as a decorator (13a389c)
- support string encoding (89a3987)
- Transformer: add
deepTransform
option (217b106) - Transformer: add
level
option (f85a86d)
BREAKING CHANGES
alignment
are no longer supported in the controllers
use@Padding
decorator instead.PrimitiveSymbol.char
is no longer supported user
should rely onChar
orAscii
decorator instead.