Skip to content

Latest commit

 

History

History
232 lines (186 loc) · 10.6 KB

CHANGELOG.md

File metadata and controls

232 lines (186 loc) · 10.6 KB

Change Log

[3.0.0] - 2021-07-08

  • API Renamed const function to constant.
  • Migrate to TypeScript and make type definitions available from npm.

[2.0.0] - 2021-07-08

  • Improve [browser compatibility][pr#28] by adding a browser polyfill for the Node browser module and loosening types from Buffer to Uint8Array.

1.2.2 - 2021-07-05

  • Improve [browser compatibility][pr#27] by eliminating a dependence on the Node assert module.

1.2.1 - 2021-04-29

1.2.0 - 2018-03-14

  • API Add UTF8 to encode UTF strings in a possibly bounded buffer, resolving issue #21.
  • API Allow the layout parameter of a VariantLayout to be omitted in cases where no data beyond the discriminator is required, resolving issue #20.

1.1.0 - 2018-01-06

  • API Add a third parameter to Structure specifying it should decode short buffers as prefixes, resolving issue #19.
  • API Interpret string argument to BitStructure msb parameter as a property parameter, resolving issue #17.

1.0.0 - 2017-12-17

  • Minimum Node version increased to 4.5 to support dependency on Buffer.alloc().
  • Removed patch for ancient buffer bug
  • Update to ES6 classes and other features
  • Documentation clarifications.
  • Update dependent packages.
  • Switch to npm:eslint and deal with fallout.

0.13.0 - 2016-03-27

0.12.1 - 2016-03-08

  • Disable coverage testing for patchIssue3992 to avoid taking a penalty on node versions that have been updated.

0.12.0 - 2016-03-08

0.11.0 - 2016-02-10

  • API Provide prototypes to use for decoded objects, resolving issue #15.

0.10.0 - 2016-01-23

  • API Change some exceptions (especially integer value spans) to throw RangeError instead of TypeError, resolving issue #12.
  • API Add boolean-valued bit fields.
  • Increase coverage of primary module to 100%.
  • Update dev dependency modules.
  • Fix always-false pre-convert type check.

0.9.0 - 2015-12-22

  • API Support inferring Sequence and Blob spans from available data.
  • API Define return value for Layout.encode so we know how much was written.
  • API Change name of Sequence property elementLayout (from element_layout) and Union property defaultLayout (from (default layout) for coding standard conformance.
  • Convert to Google coding style.

0.8.0 - 2015-11-29

0.7.1 - 2015-11-23

  • Stop publishing emacs backup files to npm.

0.7.0 - 2015-11-23

0.6.0 - 2015-11-21

0.5.0 - 2015-11-20

0.4.0 - 2015-11-19

0.3.0 - 2015-11-07

0.2.0 - 2015-10-25

0.1.0 - 2015-10-25

  • Initial release.