# HG changeset patch # User Sebastien Jodogne # Date 1681576824 -7200 # Node ID 614031f7a16d3b340b98aab4650ae5641ada2786 # Parent e25f4500b531b0347020f4e1120214d4e75eb88f OrthancPostgreSQL-5.0 diff -r e25f4500b531 -r 614031f7a16d Framework/Plugins/IndexBackend.cpp --- a/Framework/Plugins/IndexBackend.cpp Sat Apr 15 14:55:21 2023 +0200 +++ b/Framework/Plugins/IndexBackend.cpp Sat Apr 15 18:40:24 2023 +0200 @@ -2384,9 +2384,7 @@ } -#if defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE) // Macro introduced in 1.3.1 -# if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 5, 4) - // New primitive since Orthanc 1.5.4 +// New primitive since Orthanc 1.5.4 bool IndexBackend::LookupResourceAndParent(int64_t& id, OrthancPluginResourceType& type, std::string& parentPublicId, @@ -2444,12 +2442,8 @@ return true; } } -# endif -#endif -#if defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE) // Macro introduced in 1.3.1 -# if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 5, 4) // New primitive since Orthanc 1.5.4 void IndexBackend::GetAllMetadata(std::map& result, DatabaseManager& manager, @@ -2486,8 +2480,6 @@ } } } -# endif -#endif #if ORTHANC_PLUGINS_HAS_DATABASE_CONSTRAINT == 1 diff -r e25f4500b531 -r 614031f7a16d PostgreSQL/CMakeLists.txt --- a/PostgreSQL/CMakeLists.txt Sat Apr 15 14:55:21 2023 +0200 +++ b/PostgreSQL/CMakeLists.txt Sat Apr 15 18:40:24 2023 +0200 @@ -21,7 +21,7 @@ cmake_minimum_required(VERSION 2.8) project(OrthancPostgreSQL) -set(ORTHANC_PLUGIN_VERSION "mainline") +set(ORTHANC_PLUGIN_VERSION "5.0") set(ORTHANC_OPTIMAL_VERSION_MAJOR 1) set(ORTHANC_OPTIMAL_VERSION_MINOR 12) diff -r e25f4500b531 -r 614031f7a16d PostgreSQL/NEWS --- a/PostgreSQL/NEWS Sat Apr 15 14:55:21 2023 +0200 +++ b/PostgreSQL/NEWS Sat Apr 15 18:40:24 2023 +0200 @@ -1,6 +1,10 @@ Pending changes in the mainline =============================== + +Release 5.0 (2023-04-15) +======================== + * Compatibility with Orthanc SDK 1.12.0 (communications between the Orthanc core and the database plugin using Google Protocol Buffers) * Upgraded dependencies for static builds (notably on Windows and LSB):