Skip to content

Releases: noahm/struct-buffer

v6.0.1

13 Dec 23:35
f7bcc0f

Choose a tag to compare

A new major version! This is based on published changes from the original upstream project which included a lot of refactoring and cleanup work. (note there is no 6.0.0 due to a mistake in publishing)

BREAKING CHANGES

  • 📦 Package is now published as ESM only. UMD build has been removed.
  • 💥 remove sizeof, display, c-struct, windows type
  • 🔨 remove StructBuffer.structName attribute
  • 🔨 remove StructType.names attribute

Other changes

  • ✨ add LittleEndian and RelativeOffset. See unit tests for example usage
  • ✅ ✔️ add test
  • 🎨 improve code

v6.0.0 Beta 1

14 Oct 19:22
59c91c1

Choose a tag to compare

v6.0.0 Beta 1 Pre-release
Pre-release

A new major version! This is based on published changes from the original upstream project which included a lot of refactoring and cleanup work.

BREAKING CHANGES

  • 📦 Package is now published as ESM only. UMD build has been removed.
  • 💥 remove sizeof, display, c-struct, windows type
  • 🔨 remove StructBuffer.structName attribute
  • 🔨 remove StructType.names attribute

Other changes

  • ✨ add LittleEndian and RelativeOffset. See unit tests for example usage
  • ✅ ✔️ add test
  • 🎨 improve code

v5.4.1

11 Apr 04:41
1903f70

Choose a tag to compare

  • Fixed decoded types when using sequences of nested structs

v5.4.0

01 Apr 19:01
ae3d87c

Choose a tag to compare

  • bits structures now decode into boolean type instead of 0 | 1
  • char[n] fields are now typed as regular strings instead of string arrays

v5.3.0

29 Mar 01:51
d768a37

Choose a tag to compare

First release of forked package. See original changelog for previous releases

  • ✨ Updated types of StructBuffer class and bits and bitFields functions to have fully typed returns from the .decode() method