Skip to content

Releases: fox-it/dissect.cstruct

4.0

25 Jun 08:45
7f6a584
Compare
Choose a tag to compare

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

07 May 13:14
ca4b29a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.13...3.14

3.13

07 Mar 14:59
92875c1
Compare
Choose a tag to compare

What's Changed

  • Only run CI on PR and main branch pushes by @Schamper in #68

Full Changelog: 3.12...3.13

3.12

26 Jan 09:45
95f319f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.11...3.12

3.11

18 Dec 10:04
ffbf4f8
Compare
Choose a tag to compare

What's Changed

  • Fix dumpstruct for anonymous structures by @Schamper in #50
  • Add __u8, __u16, __u32 and __u64 convenience types by @Schamper in #51
  • Return self on load for chaining by @Schamper in #53

Full Changelog: 3.10...3.11

3.10

26 Sep 13:23
a9374ed
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.9...3.10

3.9

10 Aug 09:25
f9a9f86
Compare
Choose a tag to compare
3.9

What's Changed

New Contributors

Full Changelog: 3.8...3.9

3.8

05 Jul 14:03
3bf3c74
Compare
Choose a tag to compare
3.8

What's Changed

  • Add useful trove classifiers to pyproject.toml by @pyrco in #38
  • Add OIDC publish step to workflow by @Miauwkeru in #40

Full Changelog: 3.7...3.8

3.7

25 May 07:55
feb6476
Compare
Choose a tag to compare
3.7

What's Changed

New Contributors

Full Changelog: 3.6...3.7

3.6

24 Mar 14:32
5b4e10a
Compare
Choose a tag to compare
3.6

What's Changed

  • Pass context when reading a compiled Structure or Array by @MrYoranimo in #27
  • Move to tox4 and pure pyproject packaging by @pyrco in #28

Full Changelog: 3.5...3.6