Skip to content

PyIMG4 0.8

Pre-release
Pre-release
Compare
Choose a tag to compare
@m1stadev m1stadev released this 22 Aug 20:29
· 78 commits to master since this release
1f6fc6b

Major Changes

  • The minimum required Python version is now 3.8.
  • The compresison libraries are now an optional install for those who wish to install PyIMG4 without a build system.
    • A RuntimeError will be raised if you attempt to use any compression functionality without the required libraries installed.
    • To install these dependencies, you can use the compression extra: python3 -m pip install pyimg4[compression]
  • The pyimg4.IM4M class is now much less restrictive, to aid in IM4M fuzzing (more on the changes below).
  • pyimg4.IM4R.boot_nonce now prints the boot nonce in the correct endianness.
  • Other miscellaneous fixes.

API Changes

  • pyimg4.ManifestProperty

    • Can now be called with a fourcc/value pair.
  • pyimg4.ManifestImageProperties

    • Can now be called without any data.
  • pyimg4.IM4M

    • Can now be called without any data.
    • Added IM4M.output()
    • Added IM4M.add_image_properties()/IM4M.remove_image_properties()
    • Added IM4M.add_property()/IM4M.remove_property()
  • pyimg4.Keybag

    • A KeybagType is now only required when calling with a key/IV pair.

Full Changelog: v0.7...v0.8