From e9321ae54438d52b7a155dceaed97efc100ee971 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sat, 24 Aug 2024 11:28:30 +0100 Subject: [PATCH] Update changelog and version for 0.23.1 release --- CMakeLists.txt | 2 +- docs/api/changelog.rst | 23 +++++++++++++++++++++++ docs/api/reference.rst | 2 ++ include/loot/loot_version.h | 2 +- src/api/resource.rc | 8 ++++---- 5 files changed, 31 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 362014d1..c9557333 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -408,7 +408,7 @@ endif() # Install ######################################## -set(LIBLOOT_VERSION "0.23.0") +set(LIBLOOT_VERSION "0.23.1") set_property(TARGET loot PROPERTY VERSION ${LIBLOOT_VERSION}) set_property(TARGET loot PROPERTY SOVERSION 0) diff --git a/docs/api/changelog.rst b/docs/api/changelog.rst index 86077c0a..40180ebd 100644 --- a/docs/api/changelog.rst +++ b/docs/api/changelog.rst @@ -2,6 +2,29 @@ Version History *************** +0.23.1 - 2024-08-24 +=================== + +Added +----- + +- :cpp:any:`loot::esplugin_category()`, which returns the + ``std::error_category`` that is used when throwing esplugin errors as + exceptions. + +Fixed +----- + +- Inaccurate log messages when getting early loading plugins. + +Changed +------- + +- When an esplugin function returns an error, it is now thrown as a + ``std::system_error`` using the error category returned by + :cpp:any:`loot::esplugin_category()`, instead of as a + :cpp:any:`loot::FileAccessError`. + 0.23.0 - 2024-06-29 =================== diff --git a/docs/api/reference.rst b/docs/api/reference.rst index 81fec085..2a84497b 100644 --- a/docs/api/reference.rst +++ b/docs/api/reference.rst @@ -108,4 +108,6 @@ Error Categories LOOT uses error category objects to identify errors with codes that originate in lower-level libraries. +.. doxygenfunction:: loot::esplugin_category + .. doxygenfunction:: loot::libloadorder_category diff --git a/include/loot/loot_version.h b/include/loot/loot_version.h index 3104952d..dbe81385 100644 --- a/include/loot/loot_version.h +++ b/include/loot/loot_version.h @@ -37,7 +37,7 @@ inline constexpr unsigned int LIBLOOT_VERSION_MAJOR = 0; inline constexpr unsigned int LIBLOOT_VERSION_MINOR = 23; /** @brief libloot's patch version number. */ -inline constexpr unsigned int LIBLOOT_VERSION_PATCH = 0; +inline constexpr unsigned int LIBLOOT_VERSION_PATCH = 1; /** * @brief Get the library version. diff --git a/src/api/resource.rc b/src/api/resource.rc index 95abbc12..b535eb38 100644 --- a/src/api/resource.rc +++ b/src/api/resource.rc @@ -2,8 +2,8 @@ #include 1 VERSIONINFO -FILEVERSION 0, 23, 0, 0 -PRODUCTVERSION 0, 23, 0, 0 +FILEVERSION 0, 23, 1, 0 +PRODUCTVERSION 0, 23, 1, 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.23.0" +VALUE "FileVersion", "0.23.1" VALUE "InternalName", "loot" VALUE "LegalCopyright", "Copyright (C) 2013-2022 Oliver Hamlet" VALUE "OriginalFilename", "loot.dll" VALUE "ProductName", "LOOT" -VALUE "ProductVersion", "0.23.0" +VALUE "ProductVersion", "0.23.1" END END BLOCK "VarFileInfo"