Skip to content

Releases: clearlinux/swupd-client

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

Release v3.19.0

14 Feb 18:13
Compare
Choose a tag to compare
This release adds enhancements, bug fixes and test improvements.

Enhancements:
 - Download manifest deltas when provided by the server to have smaller updates
 - Swupd can verify a list of bundles instead of verifying the full system
 - Improve error messages on swupd network connection errors
 - Return meaningful and consistent exit codes on swupd errors
 - Add configurable download retries (--max-retries and --retry-delay)
 - Add bytes transferred in telemetry reports and inform this to the user on updates
 - Start tracking manually installed bundles so we can use that info in the future

Bug Fixes:
 - Don't remove files under /usr/src on verify --fix --picky
 - Don't force bootloader execution if the bootloader binary isn't present
 - Don't follow relative symlinks when installing new files
 - Use timestamp from installed system when adjusting the system time

Tests
 - Add unit tests to functions hard to test using functional tests

Release v3.18.7

17 Jan 03:16
Compare
Choose a tag to compare
This is a minor release just adding back a README file needed to
generate swupd-client package

Release v3.18.6

17 Jan 03:06
Compare
Choose a tag to compare
This release adds enhancements, bug fixes and test improvements.

Enhancements:
 - List experimental bundles on bundle-* and search functions
 - Moving generic parameters to a global parameters parsing so they can be
 consistent all over swupd.
 - Let users to define bundle aliases

Bug Fixes:
 - Better overflow handling on integer cmdline arguments
 - Use execve instead of system to run system binaries and avoid globing
 - Fix the number of deleted files in bundle-remove
 - Update when using a mirror was failing if upstream was down
 - Improvements in log framework and better error and warning reporting
 - Adding more debug information when downloading
 - Replace strftime to asctime to avoid segfaults
 - When verifying a system, don't list skiped files as errors
 - Don't force download retries if the disk is full
 - Fix several parallel download errors

Tests
 - Several bug fixes in testlib and improvements in styles
 - New tests added