v1.1.0
Version 1.1
New Functionality
-
GH-844: Add support for
&sizeattribute to unitswitch
statement. -
GH-26: Add
%skip,%skip-preand%skip-postproperties for
skipping input matching a regular expression before any further
input processing takes place. -
Extend library functionality provided by the
spicymodule:crc32_init()/crc32_add()compute CRC32 checksums.mktime()creates atimevalue from individual components.zlib_init()initializes aZlibStreamwith a given window
bits argument.Zlibnow accepts a window bits parameter.
-
Add a new
find()method to units for that searches for abytes
sequence inside their input data, forward or backward from a given
starting position. -
Add support for
&chunkedwhen parsing bytes data with&untilor
&until_including. -
Add
encode()method tostringfor conversion tobytes. -
Extend parsing of
voidfields:- Add support for
&eodto skip all data until the end of the
current input is encountered. - Add support for
&untilto skip all data until a deliminator
is encountered. The deliminator will be extracted from the
stream before continuing.
- Add support for
-
Port Spicy to Apple silicon.
-
Add Dockerfile for OpenSUSE 15.2.
Changed Functionality
- Reject
voidfields with names. - Lower minimum required Python version to 3.2.
- GH-882: Lower minimum required Bison version to 3.0.
Bug fixes
- GH-872: Fix missing normalization of enum label IDs.
- GH-878: Fix casting integers to enums.
- GH-889: Fix hook handling for anonymous void fields.
- GH-901: Fix type resolution bug in
&convert. - Fix handling of
&sizeattribute for anonymous void fields. - Fix missing update to input position before running
%donehook. - Add validation rejecting
$$in hooks not supporting it. - Make sure container sizes are runtime integers.
- Fix missing operator<< for enums when generating debug code.
- GH-917: Default-initialize forwarding fields without type arguments.
Documentation
- GH-37: Add documentation on how to skip data with
voidfields.