Skip to content

Releases: grisp/grisp_updater

2.3.0

Choose a tag to compare

@ziopio ziopio released this 08 Jun 08:28
2.3.0
6bc37df

Added

  • Add systems metadata to local update info when provided by the system callback

Changed

  • Allow system_get_systems/1 to return a map with boot, valid, next,
    and optional systems entries while keeping tuple return values backward
    compatible

Full Changelog: 2.2.0...2.3.0

2.2.0

Choose a tag to compare

@ziopio ziopio released this 06 Feb 16:53
2.2.0
ef3155d

Added

  • Add reserved partition role support
  • Add support for extra manifest metadata
  • Add optional system_update_init/2 cleanup callback for releasing resources
  • Add optional system callback to receive firmware info during updates

Changed

  • Make system_get_global_target/1 optional in the system behaviour

Fixed

  • Reset update status correctly when canceling an update

Full Changelog: 2.1.1...2.2.0

2.1.1

Choose a tag to compare

@ziopio ziopio released this 25 Feb 11:10
2.1.1
99dabd7

Changed

  • Upgraded gun to version "2.1.0"

New Contributors

Full Changelog: 2.1.0...2.1.1

2.1.0

Choose a tag to compare

@sylane sylane released this 12 Oct 15:27
2.1.0
3097353

Added

  • Add support for update cancellation

Changed

  • Allow get_info during an update

Fixed

  • Fix bad logging format specification

Full Changelog: 2.0.0...2.1.0

2.0.0

Choose a tag to compare

@sylane sylane released this 05 Sep 19:58
2.0.0
879f253

Fixed

  • Fix file truncating causing image file in dummy system to be badly
    truncated grisp/#10
  • Fix comments and type spec typos grisp/#10

Changed

  • Changed the grisp_updater_system behaviour's system_get_active/1 callback to
    system_get_systems/1 to add support for software updates from removable
    media grisp/#10
  • Pass the target record to grisp_updater_storage behaviour's storage_prepare
    callback so it can use the target size and total size for boundary checks
    and file truncating grisp/#10

Added

  • Add grisp_updater:info/0 to get context-free update information grisp/#10
  • Add grisp_updater:info/1 to get update information in the context
    of a specific software update package grisp/#10
  • Add optional total size field to target record to allow boundary checks and
    fix file truncating grisp/#10
  • Add development-time macro USE_UNSEALED_MANIFEST. It makes the update manager
    retrieve the unsealed MANIFEST file instead of the sealed version
    MANIFEST.sealed, and do not perform any verification. Used for testing the
    manifest at development time without having to seal it every time grisp/#10

New Contributors

Full Changelog: 1.0.0...2.0.0