- Formatting, dead code and quick fixes (20)
- Use `stat.filemode()` in `getMode()` when using Python 3 (20)
- All compressors are now a subclass of `_Compressor` (21)
- Use struct (21)
- File names and paths are now instances of `str` (22)
- Replace `fill` by the `from_bytes` class method (22)
- Use `argparse` for command line parsing (22)
- New `pysquashfsimage` command (22)
- Python 2 fixes (23)
- Decompressors fixes (23)
- Change internal classes names to comply with PEP 8 (23)
API changes
- Move towards an API similar to [pathlib](https://docs.python.org/3/library/pathlib.html)'s (#23)
- Add `is_{file,socket,fifo,block_device,char_device}` properties to `SquashedFile` and `SquashInode` (23)
- `SquashedFile.hasAttribute()` and `SquashInode.hasAttribute()` have been removed, use the `is_*` properties instead (23)
- `SquashInode.xattr` is now a property, `SquashInode.getXattr()` is deprecated (23)
- `SquashInode.getContent()` is deprecated, use `SquashInode.read_bytes()` instead (23)
- `SquashedFile.name` is now a property, `SquashedFile.getName()` is deprecated (23)
- `SquashedFile.xattr` is now a property, `SquashedFile.getXattr()` is deprecated (23)
- Add `SquashedFile.path` property, `SquashedFile.getPath()` is deprecated (23)
- Add `SquashedFile.size` property, `SquashedFile.getLength()` is deprecated (23)
- Add `SquashedFile.filemode` property, `SquashedFile.getMode()` is deprecated (23)
- `SquashedFile.findAll()` is deprecated, use `SquashedFile.find_all()` instead (23)
- `SquashedFile.findAllPaths()` is deprecated, use `SquashedFile.find_all_paths()` instead (23)
- `SquashedFile.getContent()` is deprecated, use `SquashedFile.read_bytes()` instead (23)
- `SquashedFile.isFolder()` is deprecated, use the `SquashedFile.is_dir` property instead (23)
- `SquashedFile.isLink()` is deprecated, use the `SquashedFile.is_symlink` property instead (23)
- `SquashedFile.getLink()` is deprecated, use `SquashedFile.readlink()` instead (23)
- `SquashFsImage.root` is now a property, `SquashFsImage.getRoot()` is deprecated (23)
- `SquashFsImage.setFile()` is deprecated, use `SquashFsImage.set_file()` instead (23)
- `SquashFsImage.getFileContent()` is deprecated, use `SquashFsImage.read_file()` instead (23)
The deprecated methods will be removed in a future version.
New Contributors
* AT0myks made their first contribution in https://github.com/matteomattei/PySquashfsImage/pull/20
**Full Changelog**: https://github.com/matteomattei/PySquashfsImage/compare/v0.7...v0.8.0