Skip to content

Releases: clearlinux/swupd-client

v3.6.0

27 Jun 23:05
Compare
Choose a tag to compare

This release enables support for verification of signed MoM manifests,
with the MoM being the root of trust for any swupd-client action that
references update content (i.e. 'update', 'verify', etc.). Also, to
complete the chain of trust rooted at the MoM, integrity checks have
been enabled for bundle manifests.

To enable this feature, pass the --enable-signature-verification option
to the configure script.

v3.5.7

21 Jun 22:40
Compare
Choose a tag to compare

This release incorporates a couple of bug fixes.

  • Fixes the bash completion script to support calling 'swupd' with an
    absolute path (e.g. /usr/bin/swupd).
  • Improve behavior of 'update' when crossing a minversion, when
    potentially many update artifacts only have their "last update" field
    modified. For these artifacts, 'update' will now avoid downloading
    fresh copies, thus improving performance times for an update.

v3.5.6

31 May 19:44
Compare
Choose a tag to compare

This release includes a few bug fixes:

  • Improves 'bundle-add' reliability by falling back to downloading full
    files in case packs contain incomplete or corrupt content.
  • Addresses a memory leak in bundle includes processing.
  • Improves error handling in out-of-memory conditions.
  • Fixes an issue with libcurl writing to invalid memory when downloading
    version info.

v3.5.5

20 May 19:50
Compare
Choose a tag to compare

This release includes one bug fix:

  • Adds appropriate hash checks for full files after they have been
    extracted. This better ensures that corrupt data will never be staged.

v3.5.4

13 May 18:28
Compare
Choose a tag to compare

This release fixes several bugs:

  • Disallows 'bundle-remove' from removing non-leaf bundles (bundles that
    are included by other installed bundles).
  • Enforces the limitation of 'bundle-remove' to only accept one bundle
    argument.
  • Avoids resuming interrupted downloads if the server does not support
    range requests.
  • Fixes error handling of 'verify -i -m latest' in case of network
    connectivity issues.
  • Fixes verify_fix_path functionality to work with 'bundle-add'.
  • Fixes 'check-update -v' if the swupd config files for URLs do not
    exist.
  • Fixes error handling for invalid arguments passed to the -p/--path
    option.

v3.5.3

28 Apr 20:12
Compare
Choose a tag to compare

This release includes several bug fixes and a rework of the functional
test framework:

Bug fixes:

  • 'verify --fix' now correctly removes directory trees if the entire
    tree is marked deleted. Reporting of errors with deleting files was
    also fixed as a result.
  • Fixes an issue with overwriting previously received data when
    downloading the latest version file. All subcommands except for
    'hashdump' were affected by this bug.
  • Fixes download retries for delta packs in case of a network
    connectivity issue.
  • Fixes error handling in the event 'bundle-add' encounters a file
    staging failure, which is a fatal error.

Other:

  • Switches to use BATS, instead of python-tappy, for the functional test
    framework.

v3.5.2

22 Apr 19:00
Compare
Choose a tag to compare

This release addresses the following bugs:

  • Fixes 'search' to list symlinks in search results.
  • Fixes potential NULL dereferences in 'search' and 'bundle-remove'.
  • Fixes a couple of quoting issues when running tar commands.

v3.5.1

18 Apr 18:53
Compare
Choose a tag to compare

This release fixes two crashes, when either 'check-update' or 'update
--status' are run without options, and improves error handling and
reporting when the current OS version cannot be determined.

v3.5.0

13 Apr 22:57
Compare
Choose a tag to compare

This release adds some new features and fixes a few bugs.

New features:

  • The state directory is now configurable (defaults to /var/lib/swupd)
    with the -S/--statedir option.
  • Adds a bash completion script for the swupd binary. It is not
    installed by default, but lives in the toplevel directory of the dist
    tarball (swupd.bash).
  • Adds support for "-m latest" when running 'verify --install', which
    will download update content for the latest version for the current
    format.

Bug fixes:

  • Fixes a crash in 'hashdump' when the -b option is not specified.
  • Fixes a crash in 'bundle-remove' that occurs when attempting to remove
    a bundle that exists in the tracking directory but does not exist in
    the Manifest.MoM.
  • Fixes a bug with manifest consolidation that can result in files not
    being deleted during an update when they should be.
  • Quiets progress messages related to the new bundle includes
    functionality.

v3.4.0

05 Apr 23:37
Compare
Choose a tag to compare

This release includes the following changes:

  • Modifies default behavior for the "search" subcommand; it now searches
    for all matches by default and can be limited by using the --scope
    option.
  • Removes default URLs and format number from the binary and instead
    uses config files to store the defaults. The config files live in the
    /usr/share/defaults/swupd directory.
  • Adds missing -c and -v options to the subcommands that needed it, and
    adds the -F option for bundle-remove.
  • Adds additional changes to support the bundle includes feature, to be
    soon enabled in swupd-server: installing older included bundles as
    part of an update, and new bundle includes support for 'verify'.
  • Fixes removal of standalone, empty directories with 'verify --fix'.
  • Fixes fullfile delta application with path_prefix set.
  • Fixes error handling in the event bundle manifests cannot be loaded.
  • Fixes removal of symlinks with 'verify --fix'.