|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## [5.1.0] = 2025-02-16 |
| 4 | + |
| 5 | +### Added |
| 6 | + |
| 7 | +- Support for a `file_size()` condition function that returns true if the given |
| 8 | + file's size matches the given number of bytes, and false otherwise (including |
| 9 | + if the file doesn't exist). |
| 10 | +- Support for a `filename_version()` condition function that takes a regex path |
| 11 | + with a single capture group, a version string and a comparison operator and |
| 12 | + returns true if there is a path that matches the regex path and the value |
| 13 | + captured by the regex is a version string for which the comparison against the |
| 14 | + given version is true. Unlike the other version functions, it always returns |
| 15 | + false if it cannot find a version to compare against the given version, |
| 16 | + irrespective of the given comparison operator. |
| 17 | +- Support for a `description_contains()` condition function that takes a path |
| 18 | + and a regex and returns true if the given path is a plugin with a description |
| 19 | + that contains text that matches the given regex, and false otherwise |
| 20 | + (including if the path does not exist, is not a plugin, or has no |
| 21 | + description). |
| 22 | + |
3 | 23 | ## [5.0.0] - 2025-02-01
|
4 | 24 |
|
5 | 25 | ### Added
|
|
12 | 32 | - The `is_master()` condition function returns `false` for all OpenMW plugins.
|
13 | 33 | - When resolving filenames, the additional data paths are checked in reverse
|
14 | 34 | order.
|
| 35 | +- Support for an `is_executable(path)` condition function that returns true if |
| 36 | + the given path is a Windows executable (PE) file. |
15 | 37 |
|
16 | 38 | ### Changed
|
17 | 39 |
|
|
166 | 188 | ### Changed
|
167 | 189 |
|
168 | 190 | - Checksum calculations are now much faster for larger files.
|
169 |
| -- Directory paths are now handled more gracefully in `checksum()`, `version()` and `product_version()` conditions. |
170 |
| -- Resolved some `rustc` deprecation warnings by replacing usage of `std::error::Error`'s `description()` function with `to_string()`. |
| 191 | +- Directory paths are now handled more gracefully in `checksum()`, `version()` |
| 192 | + and `product_version()` conditions. |
| 193 | +- Resolved some `rustc` deprecation warnings by replacing usage of |
| 194 | + `std::error::Error`'s `description()` function with `to_string()`. |
171 | 195 | - Updated cbindgen to v0.14.
|
172 | 196 | - Updated pelite to v0.8.0.
|
173 | 197 |
|
|
0 commit comments