Skip to content

Releases: clearlinux/swupd-client

Release v3.24.1

08 Mar 21:15
Compare
Choose a tag to compare
Release v3.24.1

This release of swupd includes a swupd 3rd-party info command and
fixes some minor bugs on swupd 3rd-party error handling.

Release v3.24.0

06 Mar 23:49
Compare
Choose a tag to compare
Release v3.24.0

This release of swupd introduces management of 3rd-party repositories and
content installed from them. A 3rd-party repository enables the distribution
of user produced content. Multiple repositories can be managed along with the
default upstream server. Most of the swupd subcommands used for managing
upstream content are supported to manage 3rd-party content along with most of
their options.

Besides that, this release also adds multiple improvements in pre-existing
swupd commands and bug fixes.

Enhancements:
 - Adding flag --recursive to bundle-remove so dependencies can also be removed from the system as long as nothing else still depends on them
 - Improve the output of bundle-info and bundle-list to inform if dependencies were included or added by also-add flag
 - Reporting the total space cleared by swupd clean command
 - Display which bundles are installed on the output of bundle-info command
 - Run ldconfig on chroot when running swupd using --path parameter
 - Display a spinner before downloading a file to improve progress report
 - Support searching files on specific version on search-file command
 - Make swupd config files case insensitive

Bugs:
 - Invalid output when using an empty file as swupd config file
 - Memory leaks on initialization erros or downloading a file to a full disk
 - Bundle info was showing an incorrect size for large bundles
 - Number of files added by bundle-add was corrected

Release v3.23.1

07 Nov 19:05
Compare
Choose a tag to compare
Patch release adding a a bug fix on 3.23.0:
 - os-install wasn't supporting flag --skip-optional and this was required

Release v3.23.0

23 Oct 21:08
Compare
Choose a tag to compare
This release adds multiple new features and improvements to swupd.

Feature:
 - Add a bundle-remove --force flag to remove a bundle and all bundles that
   depends on it with a single command
 - Add a verbose option to check-update, displaying last version of custom
   formats
 - Improvements in documentation
 - Warn users if latest file isn't signed. Enforcement of signature will come
   next
 - Adds the bundle-info command to show detailed data related to a bundle.
   Among the data currently displayed it includes:
    - If the bundle is installed or not
    - If the bundle is experimental or not
    - If the bundle is up to date (when installed)
    - The latest available version of the bundle
    - The size of the bundle
    - The max size needed in disk to install a bundle if not installed
    - Using the --version flag a user can display bundle information in
      a specific version, not only the current version.
    - Using the --dependencies flag users can show all dependencies of the
      bundle.
    - Using the --files flag users can get the list of files in a bundle.
 - Performance improvement for bundle-remove and bundle-add. Bundle remove is
   significantly faster (more than 90% faster when removing a large number of
   bundles) and bundle-add is around 20% faster for a large number of bundles
   added, running as fast as an os-install for the same bundles.
 - Create an undefined progress status that should be used when there's no
   information on how long an operation will take and use a spinner to display
   that
 - Improve progress report output when --json-output is used to never stop
   in an operation without a spinner or progress bar report.
 - Support enabling and disabling the autoupdate in a chroot using the --path flag

Release v3.22.3

30 Sep 20:57
Compare
Choose a tag to compare
This release bug fixes and test improvements, as well as some improvements in output.

Bug fixes:
  - Don't allow flags --fix and --install on diagnose
  - Better estimates of total download size when downloading fullfiles
  - Reintroducing --bundles for repair and diagnose, working now as documented

Output improvements:
 - Showing indirect bundles installed by bundle-add
 - Show information about format bumps when --verbose is used
 - Printing a spinner progress bar when downloading manifests

Tests:
 - Fix tests on http proxy configuration
 - Supporting make distcheck
 - Add debug messages to testlib
 - Fix bug when removing tests environments
 - Add missing tests IDs

Release v3.22.2

21 Aug 22:18
Compare
Choose a tag to compare

This release adds a autocompletion for zsh

Release v3.22.1

21 Aug 21:34
Compare
Choose a tag to compare
This release adds a fix for invalid memory initialization.

Release v3.22.0

21 Aug 00:52
Compare
Choose a tag to compare
This release adds enhancements, bug fixes and test improvements    .

Bug fixes:
 - Case insensitive when checking for insecure urls
 - Better overload of multiple configuration files
 - Improvements in documentation and help messages
 - Fixing corner cases where swupd mirror was setting invalid values
 - Fixed some memory leaks and invalid memory access
 - Fix problem on restarting swupd after a format bump
 - Fix infinite loop that could be triggered by an unstable network
 - Use same retry strategy in both sync and async downloads

Feature:
 - Make it possible to run swupd post-update scripts synchronously
 - Including zsh autocomplete script
 - Print distribution variant on swupd info command
 - Make usages of diagnose and repair consistent by always checking for both files missing and files included when using --picky
 - Introduce a new flag for diagnose and repair, --extra-files-only, to checking only extra files in the system.
 - Make it possible to run swupd offline when all needed files are in the state dir
 - Create a --download flag in os-install operation, to cache files for offline operations
 - Create a flag to always download search-file indexes on update (--update-search-file-index)
 - Print the latest available version on swupd check-update in the case of a format-bump
 - Support to have an external cache to fill the statedir on installations. The external cache is needed because it may be read only or in a different partition

Release v3.21.0

16 Jul 02:37
Compare
Choose a tag to compare

This release adds enhancements, bug fixes and test improvements.

Enhancements:

  • Documentation and output improvements for new verify alias
  • zsh shell command completion
  • Prevent swupd from running interactive commands
  • Require force flag to prevent users to rely on unsafe http connections
  • Create a config file to set default flags to be used with swupd commands
  • Supporting new Manifest feature: also-add (optional) bundles.
  • Rework on preventing flag duplication
  • Don't print progress report on autoupdate

Bug fixes:

  • Root required in cases where it shouldn't
  • Download progress bug could print percentages larger than 100%
  • When using a local mirror, continue update even if not possible to check if mirror is outdated

Tests:

  • Including extra signature verification tests, like key rotation and chained certificate checks
  • Fixing some incorrect and broken tests
  • Extra tests added

Release v3.20.0

29 May 04:55
Compare
Choose a tag to compare
This release adds enhancements, bug fixes and test improvements.

Enhancements:
 - Integrate local search script into swupd
 - Introduce new command search-file to search files in the system
 - Support machine readable output using json on all swupd commands
 - Fallback to system config for value of content and version urls and format
 - Report progress based on download size and not on number of files downloaded
 - Create three new commands to replace different usages of verify: diagnose,a
   os-install and repair

Bug Fixes:
 - Don't run update or boot scripts if they don't exist
 - Fix invalid memory access on curl hashmap usage
 - Don't try to create new threads if not supported in the system
 - Overall review and multiple fixes on standard C API function calls
 - Fix some found memory leaks

Tests/Code quality:
 - Add unit tests to functions hard to test using functional tests
 - Improve format bump functional tests to include a minversion
 - Add test for delta manifests
 - Multiple improvements in test library and travis script
 - Multiple code rework and improvements on documentation and readability