From 41a4b44e3bd244e9c7d16cabb4b0d9604e5bbe65 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Mon, 19 Jan 2026 19:46:37 +0000 Subject: [PATCH] Update version and changelog for v6.0.0 --- CHANGELOG.md | 22 ++++++++++++++++++++++ Cargo.lock | 4 ++-- Cargo.toml | 2 +- 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51904ff..e9a5e3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## [6.0.0] - 2026-01-21 + +### Added + +- Support for version condition parameters with the comparator and version + string swapped, e.g. `version("example.esp", ==, "1.0.0")`, + `product_version("example.exe", ==, "1.0.0")` and + `filename_version("example (.+).esp", ==, "1.0.0")`. + +### Changed + +- When evaluating `version()` and `product_version()` conditions and no version + could be read from the given file path (e.g. because the file does not exist), + the function now always evaluates to false. Previously it would evaluate to + true when the comparator was `<`, `<=` or `!=` and false otherwise. +- When writing `version()`, `product_version()` and `filename_version()` + condition strings, the comparator is now positioned between the file path and + version strings. +- Updated dependency versions in Cargo.lock: + + - Updated unicase to v2.9.0. + ## [5.4.0] - 2026-01-01 ### Changed diff --git a/Cargo.lock b/Cargo.lock index aeeeb6e..3da30d5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -309,7 +309,7 @@ checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" [[package]] name = "loot-condition-interpreter" -version = "5.4.0" +version = "6.0.0" dependencies = [ "crc32fast", "criterion", @@ -322,7 +322,7 @@ dependencies = [ [[package]] name = "loot-condition-interpreter-ffi" -version = "5.4.0" +version = "6.0.0" dependencies = [ "loot-condition-interpreter", ] diff --git a/Cargo.toml b/Cargo.toml index a302c3f..de08d5c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ harness = false members = ["ffi"] [workspace.package] -version = "5.4.0" +version = "6.0.0" authors = ["Oliver Hamlet "] repository = "https://github.com/loot/loot-condition-interpreter.git" license = "MIT"