Skip to content

v2.0.0

Compare
Choose a tag to compare
@ToxicFrog ToxicFrog released this 27 Jan 20:45
· 36 commits to master since this release

This is an enhancement release.

THIS RELEASE BREAKS BACKWARDS COMPATIBILITY. See README.md for details. In most cases migrating existing code to 2.0 should be trivial.

New in 2.0:

  • Major internal redesign and refactoring.
  • API uses read/write instead of pack/unpack.
  • Compiled format strings behave slightly differently.
  • Added vstruct.records() iterator.
  • Added vstruct.register() and format string splicing.
  • Improved test coverage.
  • Improved error reporting for invalid arguments to API functions.