Releases: russellbanks/Komac
v2.9.0
What's Changed
This is another big update that brings lots of installer analysis improvements and fixes!
New features ⭐
- Added a submit command to submit manifests stored locally! There doesn't need to be any specific directory structure to this. Komac will recursively find and group package manifests together and prompt you if it finds more than one - #231:
komac submit <directory path>
- Added support for Inno Setup 6.4.0 - #1030
Fixes and other changes 🔧
- Read legacy Inno Setup loader data - 5d7c0de
- Fixed duplicate progress bar causing flickering on remove version command - #1020
- Fixed panic if PE overlay offset is near end of file - #1010
- Fixed NSIS strings with unresolved language variables - 1a14144
- Fixed incorrect install scope on MSI's that can prompt for install scope - #953
- Improved architecture identification in NSIS installers - #995 & #967 (comment)
- Ignore
__MACOSX
folder in zips - ea728b9 - Fixed nested installer data inside zips not being propagated - #1000
- Fixed NSIS entry integers being read as
u32
instead ofi32
- #1005 & #1010 - Fixed
Unexpected block end
on Inno Setup Blackbox versions - #984 - Fixed stack overflow error if NSIS string references the same variable number in itself by following NSIS control flow - #977
- Fixed incorrect parsing of NSIS version on alternative versions - #975
- Fixed installer switches prompts being optional for
exe
installer type - #964 - Fixed empty
InstallerSwitches
at installer level - #964 - Fixed empty
AppsAndFeaturesEntries
at root level - adde160 - Fixed error on Ctrl+C during a prompt
- Fixed incorrect Chrome version identification - 540a620
- Improved check for WiX installers by checking
creating application
field - 6eb21ea - Fixed duplicate installer entries - #958
Publisher
,DisplayName
, andDisplayVersion
ARP entries are now removed if they match their respective values in the default locale manifest - 88cd84c- Dependency updates
Full Changelog: v2.8.0...v2.9.0
v2.8.0
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
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
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
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
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
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) |
---|---|
- Added
komac sync
command to merge changes from microsoft/winget-pkgs into your fork:
- 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
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:
- 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 |
- FreeBSD x64 and Linux arm64 builds have been re-added but all x86 and arm builds have been removed - VirusTotal/yara-x#108.
- 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. - 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
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
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
- 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
- Add link to run-komac action by @michidk in #462
- Prepare for
cargo install
by @vedantmgoyal9 in #492
New Contributors
Full Changelog: v2.1.0...v2.2.0