Skip to content

Releases: russellbanks/Komac

v2.8.0

06 Dec 12:04
1eb668c
Compare
Choose a tag to compare

What's Changed

This update brings support for WinGet 1.9.0 manifests. Komac will now create 1.9.0 manifests by default.

New features ⭐

  • Support WinGet schema 1.9.0 - #745

Fixes and other changes 🔧

  • Dependency updates

Full Changelog: v2.7.0...v2.8.0

v2.7.0

01 Dec 22:02
4f9589d
Compare
Choose a tag to compare

What's Changed

This is a big update mainly dedicated to NSIS analysis!

New features ⭐

  • Added extensive NSIS (Nullsoft Scriptable Install System) analysis to retrieve architecture, scope, install directory, registry entries, and more from a Nullsoft installer
  • Added a check for existing pull requests when removing dead versions - #813
  • Install directory and install scope are now retrieved from Inno Setup installers

Fixes and other changes 🔧

  • Fixed No architecture was found in the MSI if the platform is missing - #808
  • Optimised merging new installers with previous installers
  • Lots of optimisations

Full Changelog: v2.6.0...v2.7.0

v2.6.0

31 Aug 12:06
Compare
Choose a tag to compare

What's Changed

New features ⭐

  • Added a moderation command for removing dead versions

Fixes and other changes 🔧

  • Fixed invalid Zip archive: Could not find central directory end on Linux and macOS - #770

Full Changelog: v2.5.0...v2.6.0

v2.5.0

27 Aug 15:18
9154c52
Compare
Choose a tag to compare

What's Changed

New features ⭐

  • Installer locale is now retrieved from Inno Setup installers
  • The cleanup command now fetches branches and associated pull requests in one call. Thanks @stevenlele for #778!

Fixes and other changes 🔧

  • Fixed Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug when getting a package with a large amount of versions
  • Fixed No release was found with the tag of release - #767
  • Improved Inno Setup parsing, particularly around verifying checksums and for older Inno Setup versions
  • The date and time an existing pull request was created at is now shown in your local timezone

Full Changelog: v2.4.1...v2.5.0

v2.4.1

22 Aug 16:05
Compare
Choose a tag to compare

What's Changed

  • Fixed crash when fetching existing pull request (swap_remove index (is 0) should be < len (is 0))

Full Changelog: v2.4.0...v2.4.1

v2.4.0

22 Aug 15:04
Compare
Choose a tag to compare

What's Changed

New features ⭐

  • Added extensive Inno Setup analysis to retrieve architecture, registry entries, product code, and more from an Inno installer:
Before (<=2.3.0) After (>=2.4.0)
image image

WindowsTerminal_7sykQEepaZ
WindowsTerminal_iMNZchuaWp

  • Added komac analyse command to analyse a file and output what Komac knows about it. Useful for debugging
  • Added komac autocomplete command to output an autocompletion script for the given shell (bash, elvish, fish, powershell, or zsh)
  • The cleanup command now deletes all chosen branches at once in a single call to GitHub
  • Default install location is now retrieved from MSIs
  • Default install location is now retrieved from MSIXs

Fixes and other changes 🔧

  • Added a check for an internet connection when Komac starts
  • GitHub URLs that point to the latest release are now converted into versioned URLs - #668
  • The usage of AppsAndFeaturesEntries matches the winget docs more closely (values were already being retrieved by Komac but not being fully placed under AppsAndFeaturesEntries)
  • Fixed zip portable alias being empty - #663
  • Fixed manually edited manifests having a missing newline at the end of the file
  • Many code and memory improvements
  • Dependency updates

Full Changelog: v2.3.0...v2.4.0

v2.3.0

24 Jun 09:42
Compare
Choose a tag to compare

What's Changed

This is a fairly big update compared to usual. As always, please make an issue if you experience any problems or inconsistencies with this update :)

Important Changes ❗

These changes are important to note, especially if you use Komac in automation as they may require changes to your script:

  1. The package identifier is now used as the first argument in all commands that require a package identifier. This matches the syntax of other tools and makes commands shorter to type:
Before (<=2.2.1) After (>=2.3.0)
komac update --identifier Package.Identifier --version 1.2.3 komac update Package.Identifier --version 1.2.3
  1. FreeBSD x64 and Linux arm64 builds have been re-added but all x86 and arm builds have been removed - VirusTotal/yara-x#108.
  2. The release assets have been renamed to support cargo-binstall. This means you can now do cargo binstall komac which can make using Komac in automation across operating systems a lot easier.
  3. OpenSSL is now statically linked on Linux so you no longer need it installed.

New features ⭐

  • Added an 'Edit Manifest' option before submitting a pull request - #540
  • Capabilities and restricted capabilities are now retrieved from MSIXs
  • File extensions are now retrieved from MSIXs
  • Significantly improved YAML syntax highlighting

Fixes and other changes 🔧

  • Switched to VirusTotal/yara-x for analysing exe files.
  • Added RPM binaries - #596
  • Tokens passed by parameter are now validated
  • Fixed architecture not being identified in URL if it is surrounded by brackets - #573
  • Fixed missing portable command alias - #565
  • Fixed ordered lists becoming unordered in release notes
  • Fixed crash when there are mutliple TargetDeviceFamily elements in an MSIX's manifest - #622
  • Fixed crash when creating a new manifest with an zip that only has one installer inside it
  • Fixed relative file path not being updated if installer file name changes

Full Changelog: v2.2.1...v2.3.0

v2.2.1

15 Apr 17:33
a43e375
Compare
Choose a tag to compare

What's Changed

The FreeBSD and Linux arm and arm64 builds have been dropped as they are difficult to build currently. This may change in the future.

  • Fixed Linux builds linking against OpenSSL v1 - #558
  • Fixed incorrect matches between zip installers where there is only one installer inside the zip
  • Add GPC header to HTTP requests

Full Changelog: v2.2.0...v2.2.1

v2.2.0

05 Apr 19:40
25e8cbc
Compare
Choose a tag to compare

What's Changed

OpenSSL is now used on Linux rather than rustls as it was causing some issues for Linux users. These binaries will now be noticably smaller, but will require OpenSSL to be installed.

Features

  • Added a show command, similar to WinGet's show command. This outputs the previous manifests for a package identifier, with an optional version parameter:
komac show Package.Identifier

WindowsTerminal_JvL5vJCtGc

  • HTTP URLs now get upgraded to HTTPS if their HTTPS equivalent can be successfully reached - #356
  • Get install scope (ALLUSERS) from MSIs
  • Added --created-with and --created-with-url as arguments for external tools that use Komac - #481
  • Added --open-pr to automatically open the created pull request in the default browser

Fixes

  • Fixed some incorrect installer matches
  • Fixed attempting to download file when the URL responds with an unsuccessful status code
  • Fixed partial installer switches at both root and installer level being omitted - #541
  • Relative file paths are now updated when the directory name inside the zip changes from the previous release - #479 & #537
  • SHA1's are now removed from release notes
  • Fixed some burn installers not being detected as burn - #514
  • Fixed crash if not all packages in an MSIX Bundle have an architecture - #497
  • Fixed crash if a zip had multiple executables
  • Fixed all but one nested installer files being ommitted
  • Fixed Full Changelog: in release notes missing URL
  • Fixed Release Notes URL not being updated in non-default locale manifests
  • Lots of internal code improvements to improve file parsing and prevent potential issues

Pull requests

New Contributors

Full Changelog: v2.1.0...v2.2.0

v2.1.0

19 Feb 11:01
Compare
Choose a tag to compare

What's Changed

Komac will now create 1.6.0 manifests by default.

  • Support 1.6.0 manifests - #469
  • Fixed crash if installer URL does not have a file name in its URL and redirects to another URL - #468
  • Fixed crash if last character of a line in release notes were non-US-ASCII - #470
  • Improved nested bullet points in release notes - #463
  • Changed pull request body resolves syntax to ensure the associated issue gets marked correctly - #467
  • Fixed some uncommon metadata serializing as null rather than being ommitted
  • Detect Arm64 and Arm architectures from MSI by @vedantmgoyal2009 in #473
  • Automatically publish to winget & homebrew tap by @vedantmgoyal2009 in #441

Full Changelog: v2.0.4...v2.1.0