# python-cstruct changelog

## 1.0

2013-08-19

### Added

- initial version

## 1.2

2017-05-18

### Improved

- initialize all values to 0 by default
- new data types

### Added

- who.py example
- a changelog :)

## 1.3

2017-05-21

### Fix

- default value fix

## 1.4

2017-06-02

### Fix

- default value fix

## 1.5

2017-07-22

### Fix

- compatibiliy fix

## 1.6

2017-12-12

### Fix

- fixed size of 64-bit integers, they now have 64 bits, not 32

## 1.7

2018-03-14

### Improved

- add support for // comments

## 1.8

2018-10-30

### Improved

- add *_t types

### Fix

- fix Python 2.5 support in main module
- examples fix

## 1.9

2019-07-09

### Improved

- drop Python < 2.6 support

### Added

- flexible array parsing
- union initial support

## 2.0

2020-04-11

### Improved

- drop Python 2 support

## 2.1

2020-10-09

### Improved

- refactoring
- Python 3.9 support
- Github workfows

## 2.2

2022-08-23

### Fix

- Fix empty MemCStruct size

### Improved

- Python 3.10 support
- pytest
- black code style

## 2.3

2022-09-01

### Fix

- Fix compare with None

## 3.0

2022-09-05

### Added

- Flexible array support

## 3.1

2022-09-13

### Added

- Make CStruct/MemCStruct Pickle Friendly

## 3.2

2022-10-23

### Fix

- Fix padding tests on 32bit architectures

## 3.3

2022-10-24

### Added

- Add 32bit test environment

### Fix

- Fix padding tests on 32bit architectures

## 4.0

2022-11-01

### Added

- Add support for nameless inline struct

### Improved

- Python 3.11 support

## 5.0

2022-11-12

### Added

- Add support for enums
- Add support for multiple definition to cstruct.parse
- Add inspect method

### Improved

- Documentation and examples
- Restructure setup

## 5.1

2022-11-20

### Improved

- Support unpack from ctype pointers

### Added

- Add support for char constants
- Add native type test
- dir.py example

## 5.2

2022-11-23

### Fix

- nested struct unpack fix
- nested anonymous union offset fix
- inspect offset for nested struct/union fix
