Update version and changelog for v6.0.0

This commit is contained in:
Oliver Hamlet
2026-01-21 17:32:11 +00:00
parent bc0c243f91
commit 41a4b44e3b
3 changed files with 25 additions and 3 deletions
+22
View File
@@ -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
Generated
+2 -2
View File
@@ -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",
]
+1 -1
View File
@@ -29,7 +29,7 @@ harness = false
members = ["ffi"]
[workspace.package]
version = "5.4.0"
version = "6.0.0"
authors = ["Oliver Hamlet <oliver@ortham.net>"]
repository = "https://github.com/loot/loot-condition-interpreter.git"
license = "MIT"