Skip to content

Releases: russellbanks/Komac

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

v2.0.4

12 Feb 12:21
Compare
Choose a tag to compare

What's Changed

  • Added an indeterminite progress bar to show while creating a pull request on the remove version command
  • Added a prompt if there is a pre-existing pull-request with the same package identifier and version in the title of the pull request
  • Added a check for if the filename in the Content Disposition header is empty - #450
  • Added a --resolves parameter to commands - #449
  • Added x86-64 to architectures array
  • Remove mimalloc as it was causing issues on macOS - #444
  • Fixed files not being written to directory when using the --output parameter - #453
  • Removed read_org token requirement
  • Added a check for whether the token is valid when updating the stored token with komac token update
  • Fixed previous portable installer types changing to exe - #464
  • Publish SHA256 checksums of assets while releasing by @ste93cry in #320
  • Remove version from release artifacts to ease usage in scripts by @vedantmgoyal2009 in #439

New Contributors

Full Changelog: v2.0.3...v2.0.4

v2.0.3

31 Jan 21:56
Compare
Choose a tag to compare

What's Changed

  • Trim 'v' in version in release artifacts by @vedantmgoyal2009 in #418
  • Topics from the package's GitHub repository are now used for locale manifest tags - 36f1554
  • Added arm64ec as an architecture to look for in URLs - #417 (comment)
  • Fixed crash when previous product code was not a UUID. Product codes are now serialized as Strings instead - #424
  • Fixed an issue where the package version was not being updated in non-default locale manifests - dc228fc
  • Added -v as a valid alias for the version command - #409 & #428
  • Fixed a specific case of release notes serializing escaped - 7686ce4
  • Fixed crash if exe didn't contain an RT_VERSION resource - #421
  • Fixed crash when parsing a zip as architectures weren't being retrieved from inside an exe - #422
    • There is a known issue where updating an zip with multiple possible files inside crashes. This will be fixed in the next release - #429

This release contains a bunch of fixes from issues that people have made so thank you all for creating those :)

Full Changelog: v2.0.2...v2.0.3