Releases: fox-it/dissect.cstruct
Releases · fox-it/dissect.cstruct
4.3
4.2
4.1
4.0
Version 4.0 is a complete rewrite of how structures are handled as Python classes and instances. Structures and structure members are now proper Python class(instances) and can be used for e.g. typing purposes.
There is a good chance that your code that depends on dissect.csturct needs at least some slight modifications to work with version 4.0. You can look at the other dissect projects to get a feel on what these changes may be; look for the commits titled: "Compatibility with cstruct v4".
What's Changed
- Rewrite type system and compiler (v4) by @Schamper in #35
- Fix expression parser on empty expressions by @Schamper in #90
- Fix enum membership checks by @Schamper in #91
- Use align instead of align in StructureMetaType.init by @Miauwkeru in #92
- fix offsets in generate fields by @Miauwkeru in #93
- Update descriptions and examples by @Miauwkeru in #94
- Bump the version of virtualenv in tox.ini to pull in the correct version of pip by @pyrco in #95
- Add hash function to make StructureMetaType classes hashable by @Miauwkeru in #97
Full Changelog: 3.14...4.0
3.14
What's Changed
- Run CI on pushed tags by @Schamper in #74
- Bump minimal tox version by @Schamper in #75
- Add support for array and pointer typedefs by @Schamper in #70
- Add LEB128 variable-lengh integer support to cstruct v3 by @joost-j in #73
- Update github action versions by @Miauwkeru in #81
- Add a pull request template by @Miauwkeru in #82
- Fix colored hexdumps for zero-length field values by @MaxGroot in #84
- Ignore tabs in expression by @d3dave in #88
New Contributors
Full Changelog: 3.13...3.14
3.13
3.12
3.11
3.10
3.9
What's Changed
- Anonymous enums by @sMezaOrellana in #39
- Allow enums to reference their own members by @Schamper in #42
- Preserve newlines when removing comments by @Schamper in #43
New Contributors
- @sMezaOrellana made their first contribution in #39
Full Changelog: 3.8...3.9