From 699915efffb140d857807105bb58d4c73877245c Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Fri, 16 May 2025 23:22:32 +0100 Subject: [PATCH] Update the versions and changelog to 0.26.2 To reflect the v0.26.2 release of the C++ implementation. --- Cargo.lock | 12 +++++----- Cargo.toml | 2 +- README.md | 2 +- cpp/CMakeLists.txt | 2 +- cpp/Cargo.toml | 2 +- cpp/README.md | 2 +- cpp/docs/api/changelog.rst | 33 ++++++++++++++++++++++++++ cpp/docs/pyproject.toml | 2 +- cpp/docs/uv.lock | 2 +- cpp/include/loot/loot_version.h | 2 +- cpp/src/api/resource.rc | 8 +++---- ffi-errors/Cargo.toml | 2 +- nodejs/Cargo.toml | 2 +- nodejs/npm/linux-x64-gnu/package.json | 2 +- nodejs/npm/win32-x64-msvc/package.json | 2 +- nodejs/package-lock.json | 4 ++-- nodejs/package.json | 2 +- parameterized-test/Cargo.toml | 2 +- python/Cargo.toml | 2 +- 19 files changed, 60 insertions(+), 27 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 55d72829..181fcab0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -545,7 +545,7 @@ dependencies = [ [[package]] name = "libloot" -version = "0.26.1" +version = "0.26.2" dependencies = [ "crc32fast", "esplugin", @@ -566,7 +566,7 @@ dependencies = [ [[package]] name = "libloot-cpp" -version = "0.26.1" +version = "0.26.2" dependencies = [ "cxx", "cxx-build", @@ -577,7 +577,7 @@ dependencies = [ [[package]] name = "libloot-ffi-errors" -version = "0.26.1" +version = "0.26.2" dependencies = [ "esplugin", "libloadorder", @@ -587,7 +587,7 @@ dependencies = [ [[package]] name = "libloot-nodejs" -version = "0.26.1" +version = "0.26.2" dependencies = [ "libloot", "libloot-ffi-errors", @@ -598,7 +598,7 @@ dependencies = [ [[package]] name = "libloot-python" -version = "0.26.1" +version = "0.26.2" dependencies = [ "libloot", "libloot-ffi-errors", @@ -780,7 +780,7 @@ dependencies = [ [[package]] name = "parameterized-test" -version = "0.26.1" +version = "0.26.2" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 1845493c..e535c072 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libloot" -version = "0.26.1" +version = "0.26.2" edition = "2024" license = "GPL-3.0-or-later" diff --git a/README.md b/README.md index 30cc026b..fc49583a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # libloot-rs -This is an **experimental** reimplementation of [libloot](https://github.com/loot/libloot) using Rust instead of C++, that should match libloot v0.26.1. +This is an **experimental** reimplementation of [libloot](https://github.com/loot/libloot) using Rust instead of C++, that should match libloot v0.26.2. There is one intentional difference in behaviour: if a plugin has metadata but it is all filtered out when conditions are evaluated, getting its metadata returns `None` instead of a name-only PluginMetadata object. diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 6d7d6d7e..2f7af064 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -239,7 +239,7 @@ endif() # Install ######################################## -set(LIBLOOT_VERSION "0.26.1") +set(LIBLOOT_VERSION "0.26.2") set_property(TARGET loot PROPERTY VERSION ${LIBLOOT_VERSION}) set_property(TARGET loot PROPERTY SOVERSION 0) diff --git a/cpp/Cargo.toml b/cpp/Cargo.toml index e2abc46f..caa0a5f9 100644 --- a/cpp/Cargo.toml +++ b/cpp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libloot-cpp" -version = "0.26.1" +version = "0.26.2" edition = "2024" license = "GPL-3.0-or-later" diff --git a/cpp/README.md b/cpp/README.md index 81122315..2e71df2b 100644 --- a/cpp/README.md +++ b/cpp/README.md @@ -1,6 +1,6 @@ # libloot-rs C++ wrapper -This is a wrapper around libloot that provides a C++ interface that's ABI-compatible with libloot v0.26.1. +This is a wrapper around libloot that provides a C++ interface that's ABI-compatible with libloot v0.26.2. The wrapper has two layers: diff --git a/cpp/docs/api/changelog.rst b/cpp/docs/api/changelog.rst index 8c8645ac..f4c3fbdf 100644 --- a/cpp/docs/api/changelog.rst +++ b/cpp/docs/api/changelog.rst @@ -2,6 +2,39 @@ Version History *************** +0.26.2 - 2025-05-13 +=================== + +Fixed +----- + +- Various minor content issues in the API's Doxygen doc comments. + +Changed +------- + +- When LOOT sorts an Oblivion Remastered it will now force master files to load + before non-master files, like for most other games. Although Oblivion + Remastered does allow non-master files to load before master files, doing so + can cause issues. As a result, :cpp:any:`loot::PluginInterface::IsMaster()` + will now return true for master-flagged Oblivion Remastered plugins. +- When condition evaluation removes all metadata that was found for a plugin, + :cpp:any:`loot::DatabaseInterface::GetPluginMetadata()` and + :cpp:any:`loot::DatabaseInterface::GetPluginUserMetadata()` will now return + ``std::nullopt`` instead of a :cpp:any:`loot::PluginMetadata` object that + only has a name set. +- The declaration of Python dependencies needed to build libloot's docs have + been migrated from ``requirements.txt`` to ``pyproject.toml``. +- The `uv`_ utility is now used to manage the docs' Python dependencies for + more reproducible builds. +- Updated fmt to v11.2.0. +- Updated spdlog to v1.15.3. +- Updated Sphinx to v8.2.3. +- Updated Breathe to v4.36.0. +- Updated sphinx_rtd_theme to v3.0.2. + +.. _uv: https://docs.astral.sh/uv/ + 0.26.1 - 2025-05-01 =================== diff --git a/cpp/docs/pyproject.toml b/cpp/docs/pyproject.toml index fe284be3..f06f1144 100644 --- a/cpp/docs/pyproject.toml +++ b/cpp/docs/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "libloot-cpp-docs" -version = "0.26.1" +version = "0.26.2" requires-python = ">=3.11" dependencies = [ "breathe==4.36.0", diff --git a/cpp/docs/uv.lock b/cpp/docs/uv.lock index 9dc4c4d1..6869d38e 100644 --- a/cpp/docs/uv.lock +++ b/cpp/docs/uv.lock @@ -139,7 +139,7 @@ wheels = [ [[package]] name = "libloot-cpp-docs" -version = "0.26.1" +version = "0.26.2" source = { virtual = "." } dependencies = [ { name = "breathe" }, diff --git a/cpp/include/loot/loot_version.h b/cpp/include/loot/loot_version.h index 55e78fc7..8879af05 100644 --- a/cpp/include/loot/loot_version.h +++ b/cpp/include/loot/loot_version.h @@ -37,7 +37,7 @@ inline constexpr unsigned int LIBLOOT_VERSION_MAJOR = 0; inline constexpr unsigned int LIBLOOT_VERSION_MINOR = 26; /** @brief libloot's patch version number. */ -inline constexpr unsigned int LIBLOOT_VERSION_PATCH = 1; +inline constexpr unsigned int LIBLOOT_VERSION_PATCH = 2; /** * @brief Get the library version. diff --git a/cpp/src/api/resource.rc b/cpp/src/api/resource.rc index 19087fd6..0438b44f 100644 --- a/cpp/src/api/resource.rc +++ b/cpp/src/api/resource.rc @@ -2,8 +2,8 @@ #include 1 VERSIONINFO -FILEVERSION 0, 26, 1, 0 -PRODUCTVERSION 0, 26, 1, 0 +FILEVERSION 0, 26, 2, 0 +PRODUCTVERSION 0, 26, 2, 0 FILEOS VOS__WINDOWS32 FILETYPE VFT_DLL BEGIN @@ -13,12 +13,12 @@ BLOCK "040904b0" BEGIN VALUE "CompanyName", "LOOT" VALUE "FileDescription", "Library providing LOOT's core functionality" -VALUE "FileVersion", "0.26.1" +VALUE "FileVersion", "0.26.2" VALUE "InternalName", "loot" VALUE "LegalCopyright", "Copyright (C) 2013-2022 Oliver Hamlet" VALUE "OriginalFilename", "loot.dll" VALUE "ProductName", "LOOT" -VALUE "ProductVersion", "0.26.1" +VALUE "ProductVersion", "0.26.2" END END BLOCK "VarFileInfo" diff --git a/ffi-errors/Cargo.toml b/ffi-errors/Cargo.toml index f4a31a5c..1e4e5139 100644 --- a/ffi-errors/Cargo.toml +++ b/ffi-errors/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libloot-ffi-errors" -version = "0.26.1" +version = "0.26.2" edition = "2024" license = "GPL-3.0-or-later" diff --git a/nodejs/Cargo.toml b/nodejs/Cargo.toml index 123527d6..d4ae0408 100644 --- a/nodejs/Cargo.toml +++ b/nodejs/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "libloot-nodejs" -version = "0.26.1" +version = "0.26.2" license = "GPL-3.0-or-later" [lib] diff --git a/nodejs/npm/linux-x64-gnu/package.json b/nodejs/npm/linux-x64-gnu/package.json index e07ad6b4..971f5325 100644 --- a/nodejs/npm/linux-x64-gnu/package.json +++ b/nodejs/npm/linux-x64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "libloot-nodejs-linux-x64-gnu", - "version": "0.26.1", + "version": "0.26.2", "os": [ "linux" ], diff --git a/nodejs/npm/win32-x64-msvc/package.json b/nodejs/npm/win32-x64-msvc/package.json index c68ab72c..39d8b4c6 100644 --- a/nodejs/npm/win32-x64-msvc/package.json +++ b/nodejs/npm/win32-x64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "libloot-nodejs-win32-x64-msvc", - "version": "0.26.1", + "version": "0.26.2", "os": [ "win32" ], diff --git a/nodejs/package-lock.json b/nodejs/package-lock.json index c4b1bbe1..f350c79b 100644 --- a/nodejs/package-lock.json +++ b/nodejs/package-lock.json @@ -1,12 +1,12 @@ { "name": "libloot-nodejs", - "version": "0.26.1", + "version": "0.26.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "libloot-nodejs", - "version": "0.26.1", + "version": "0.26.2", "license": "MIT", "devDependencies": { "@napi-rs/cli": "^2.18.4", diff --git a/nodejs/package.json b/nodejs/package.json index 44ad1324..9c79a206 100644 --- a/nodejs/package.json +++ b/nodejs/package.json @@ -1,6 +1,6 @@ { "name": "libloot-nodejs", - "version": "0.26.1", + "version": "0.26.2", "main": "index.js", "types": "index.d.ts", "napi": { diff --git a/parameterized-test/Cargo.toml b/parameterized-test/Cargo.toml index 74eb5547..68827200 100644 --- a/parameterized-test/Cargo.toml +++ b/parameterized-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "parameterized-test" -version = "0.26.1" +version = "0.26.2" edition = "2024" license = "MIT" diff --git a/python/Cargo.toml b/python/Cargo.toml index 2f66c763..a66aef22 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libloot-python" -version = "0.26.1" +version = "0.26.2" edition = "2024" license = "GPL-3.0-or-later"