mirror of
https://github.com/loot/loot-condition-interpreter.git
synced 2026-07-27 14:16:09 -07:00
Update versions and changelog for v5.1.0
This commit is contained in:
+26
-2
@@ -1,5 +1,25 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [5.1.0] = 2025-02-16
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Support for a `file_size()` condition function that returns true if the given
|
||||||
|
file's size matches the given number of bytes, and false otherwise (including
|
||||||
|
if the file doesn't exist).
|
||||||
|
- Support for a `filename_version()` condition function that takes a regex path
|
||||||
|
with a single capture group, a version string and a comparison operator and
|
||||||
|
returns true if there is a path that matches the regex path and the value
|
||||||
|
captured by the regex is a version string for which the comparison against the
|
||||||
|
given version is true. Unlike the other version functions, it always returns
|
||||||
|
false if it cannot find a version to compare against the given version,
|
||||||
|
irrespective of the given comparison operator.
|
||||||
|
- Support for a `description_contains()` condition function that takes a path
|
||||||
|
and a regex and returns true if the given path is a plugin with a description
|
||||||
|
that contains text that matches the given regex, and false otherwise
|
||||||
|
(including if the path does not exist, is not a plugin, or has no
|
||||||
|
description).
|
||||||
|
|
||||||
## [5.0.0] - 2025-02-01
|
## [5.0.0] - 2025-02-01
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
@@ -12,6 +32,8 @@
|
|||||||
- The `is_master()` condition function returns `false` for all OpenMW plugins.
|
- The `is_master()` condition function returns `false` for all OpenMW plugins.
|
||||||
- When resolving filenames, the additional data paths are checked in reverse
|
- When resolving filenames, the additional data paths are checked in reverse
|
||||||
order.
|
order.
|
||||||
|
- Support for an `is_executable(path)` condition function that returns true if
|
||||||
|
the given path is a Windows executable (PE) file.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
@@ -166,8 +188,10 @@
|
|||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Checksum calculations are now much faster for larger files.
|
- Checksum calculations are now much faster for larger files.
|
||||||
- Directory paths are now handled more gracefully in `checksum()`, `version()` and `product_version()` conditions.
|
- Directory paths are now handled more gracefully in `checksum()`, `version()`
|
||||||
- Resolved some `rustc` deprecation warnings by replacing usage of `std::error::Error`'s `description()` function with `to_string()`.
|
and `product_version()` conditions.
|
||||||
|
- Resolved some `rustc` deprecation warnings by replacing usage of
|
||||||
|
`std::error::Error`'s `description()` function with `to_string()`.
|
||||||
- Updated cbindgen to v0.14.
|
- Updated cbindgen to v0.14.
|
||||||
- Updated pelite to v0.8.0.
|
- Updated pelite to v0.8.0.
|
||||||
|
|
||||||
|
|||||||
Generated
+2
-2
@@ -322,7 +322,7 @@ checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "loot-condition-interpreter"
|
name = "loot-condition-interpreter"
|
||||||
version = "5.0.0"
|
version = "5.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"crc32fast",
|
"crc32fast",
|
||||||
"criterion",
|
"criterion",
|
||||||
@@ -336,7 +336,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "loot-condition-interpreter-ffi"
|
name = "loot-condition-interpreter-ffi"
|
||||||
version = "5.0.0"
|
version = "5.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"libc",
|
"libc",
|
||||||
"loot-condition-interpreter",
|
"loot-condition-interpreter",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "loot-condition-interpreter"
|
name = "loot-condition-interpreter"
|
||||||
version = "5.0.0"
|
version = "5.1.0"
|
||||||
authors = ["Oliver Hamlet <oliver@ortham.net>"]
|
authors = ["Oliver Hamlet <oliver@ortham.net>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "loot-condition-interpreter-ffi"
|
name = "loot-condition-interpreter-ffi"
|
||||||
version = "5.0.0"
|
version = "5.1.0"
|
||||||
authors = ["Oliver Hamlet <oliver@ortham.net>"]
|
authors = ["Oliver Hamlet <oliver@ortham.net>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|||||||
Reference in New Issue
Block a user