Skip to content

Releases: tperale/binspector

v2.0.0

03 Apr 20:59
Compare
Choose a tag to compare

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 a BinaryWriter 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

13 Mar 19:22
Compare
Choose a tag to compare

1.1.1 (2025-03-13)

Bug Fixes

v1.1.0

07 Mar 19:08
Compare
Choose a tag to compare

1.1.0 (2025-03-07)

Bug Fixes

  • Condition: @Select support no primitive (5a7e5c6)

Features

  • Helper: support @NullTerminated decorator (cc764fc)
  • PrePost: support @{Big,Little}Endian decorator (417a40d)

v1.0.0

28 Feb 19:46
Compare
Choose a tag to compare

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 on Char or Ascii decorator instead.

v0.5.3

16 Feb 15:21
Compare
Choose a tag to compare

0.5.3 (2025-02-16)

Bug Fixes

  • Cursor: support read/write endian for bigint (72ac686)

v0.5.2

11 Jan 14:42
Compare
Choose a tag to compare

0.5.2 (2025-01-11)

Bug Fixes

v0.5.1

21 Dec 11:07
Compare
Choose a tag to compare

0.5.1 (2024-12-21)

Bug Fixes

  • drop support for context class (cfaaa80)
  • support CtxAppend to work with array in context (80d6030)
  • support default value in context (f3dbb7b)

v0.5.0

13 Dec 17:30
Compare
Choose a tag to compare

0.5.0 (2024-12-13)

Features

  • PrePost: new EnsureSize decorator (f416c1d)

v0.4.0

12 Dec 21:05
Compare
Choose a tag to compare

0.4.0 (2024-12-12)

Bug Fixes

  • better type checking for strings arguments of decorators (f1c14e7)
  • example: drop support for older header format (ea685d6)
  • include get/set/accessor as well (8a768e0)

Features

  • add ValueSet to PrePost decorators (b11957d)
  • basic support for Ctx{Get,Set} decorators (bfba83b)

v0.3.0

09 Dec 07:45
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.1...v0.3.0