changeset 7038:3d82b11fe18d

renamed SDK 1.12.12 into 1.13.0
author Alain Mazy <am@orthanc.team>
date Mon, 10 Aug 2026 14:56:30 +0200
parents d8ac3b9f8666
children 2a54e6538924 dca83277bdde
files OrthancFramework/Sources/DicomParsing/DicomWebJsonVisitor.h OrthancFramework/Sources/DicomParsing/FromDcmtkBridge.cpp OrthancFramework/Sources/Enumerations.cpp OrthancFramework/Sources/Enumerations.h OrthancFramework/Sources/Logging.cpp OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h OrthancServer/Sources/OrthancInitialization.cpp OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp OrthancServer/Sources/ServerEnumerations.h OrthancServer/Sources/main.cpp
diffstat 10 files changed, 40 insertions(+), 40 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/DicomWebJsonVisitor.h	Mon Aug 10 10:10:01 2026 +0200
+++ b/OrthancFramework/Sources/DicomParsing/DicomWebJsonVisitor.h	Mon Aug 10 14:56:30 2026 +0200
@@ -46,7 +46,7 @@
       BinaryMode_Ignore,
       BinaryMode_BulkDataUri,
       BinaryMode_InlineBinary,
-      BinaryMode_ArrayOfValues  // New in Orthanc 1.12.12
+      BinaryMode_ArrayOfValues  // New in Orthanc 1.13.0
     };
     
     class IBinaryFormatter : public boost::noncopyable
--- a/OrthancFramework/Sources/DicomParsing/FromDcmtkBridge.cpp	Mon Aug 10 10:10:01 2026 +0200
+++ b/OrthancFramework/Sources/DicomParsing/FromDcmtkBridge.cpp	Mon Aug 10 14:56:30 2026 +0200
@@ -1707,14 +1707,14 @@
         }
 
 #if DCMTK_VERSION_NUMBER >= 365
-        case EVR_SV:  // signed very long (64-bit, new in Orthanc 1.12.12)
+        case EVR_SV:  // signed very long (64-bit, new in Orthanc 1.13.0)
         {
           return ApplyDcmtkToCTypeConverter<DcmtkToSint64Converter>(element);
         }
 #endif
 
 #if DCMTK_VERSION_NUMBER >= 365
-        case EVR_UV:  // unsigned very long (64-bit, new in Orthanc 1.12.12)
+        case EVR_UV:  // unsigned very long (64-bit, new in Orthanc 1.13.0)
         {
           return ApplyDcmtkToCTypeConverter<DcmtkToUint64Converter>(element);
         }
@@ -1757,7 +1757,7 @@
 
         case EVR_AT:
         {
-          // Support for multiple values was added in Orthanc 1.12.12
+          // Support for multiple values was added in Orthanc 1.13.0
           ValueRepresentationReader_AT reader(element);
           return ILeafElementArrayReader::Apply(reader, element.getTag(), maxStringLength, maxBinaryArrayLength);
         }
@@ -2989,7 +2989,7 @@
           break;
 
 #if DCMTK_VERSION_NUMBER >= 365
-        case EVR_SV:  // signed very long (64-bit, new in Orthanc 1.12.12)
+        case EVR_SV:  // signed very long (64-bit, new in Orthanc 1.13.0)
           ok = IElementFiller::Apply(element, ValueRepresentationFiller_SV(), *decoded);
           break;
 #endif
@@ -3027,8 +3027,8 @@
           break;
 
 #if DCMTK_VERSION_NUMBER >= 365
-        case EVR_UV:  // unsigned very long (64-bit, new in Orthanc 1.12.12)
-        case EVR_OV:  // other very long (64-bit, new in Orthanc 1.12.12)
+        case EVR_UV:  // unsigned very long (64-bit, new in Orthanc 1.13.0)
+        case EVR_OV:  // other very long (64-bit, new in Orthanc 1.13.0)
           ok = IElementFiller::Apply(element, ValueRepresentationFiller_UV(), *decoded);
           break;
 #endif
@@ -3051,7 +3051,7 @@
          **/
         
         case EVR_AT:  // attribute tag, new in Orthanc 1.9.4
-          // Multiple values are supported since Orthanc 1.12.12
+          // Multiple values are supported since Orthanc 1.13.0
           ok = IElementFiller::Apply(element, ValueRepresentationFiller_AT(), *decoded);
           break;
 
@@ -3913,7 +3913,7 @@
           break;
         }
 
-        case EVR_OW:  // other word - binary array of 16-bit unsigned integers (new in Orthanc 1.12.12)
+        case EVR_OW:  // other word - binary array of 16-bit unsigned integers (new in Orthanc 1.13.0)
           if (tag == DICOM_TAG_PIXEL_DATA)
           {
             throw OrthancException(ErrorCode_InternalError);  // Should have been handled by "visitor.VisitBinary()"
@@ -3959,7 +3959,7 @@
 #endif
 
 #if DCMTK_VERSION_NUMBER >= 365
-        case EVR_OV:  // other very long - binary array of 64-bit unsigned integers (new in Orthanc 1.12.12)
+        case EVR_OV:  // other very long - binary array of 64-bit unsigned integers (new in Orthanc 1.13.0)
         {
           ValueRepresentationReader_OV reader(element);
           std::vector<int64_t> values;
--- a/OrthancFramework/Sources/Enumerations.cpp	Mon Aug 10 10:10:01 2026 +0200
+++ b/OrthancFramework/Sources/Enumerations.cpp	Mon Aug 10 14:56:30 2026 +0200
@@ -984,13 +984,13 @@
       case ValueRepresentation_UnlimitedText:         // UT
         return "UT";
 
-      case ValueRepresentation_OtherVeryLong:         // OV (new in Orthanc 1.12.12)
+      case ValueRepresentation_OtherVeryLong:         // OV (new in Orthanc 1.13.0)
         return "OV";
 
-      case ValueRepresentation_SignedVeryLong:        // SV (new in Orthanc 1.12.12)
+      case ValueRepresentation_SignedVeryLong:        // SV (new in Orthanc 1.13.0)
         return "SV";
 
-      case ValueRepresentation_UnsignedVeryLong:      // UV (new in Orthanc 1.12.12)
+      case ValueRepresentation_UnsignedVeryLong:      // UV (new in Orthanc 1.13.0)
         return "UV";
 
       case ValueRepresentation_NotSupported:
--- a/OrthancFramework/Sources/Enumerations.h	Mon Aug 10 10:10:01 2026 +0200
+++ b/OrthancFramework/Sources/Enumerations.h	Mon Aug 10 14:56:30 2026 +0200
@@ -612,9 +612,9 @@
     ValueRepresentation_UniversalResource = 29,    // UR (URI or URL)
     ValueRepresentation_UnsignedShort = 30,        // US (uint16_t)
     ValueRepresentation_UnlimitedText = 31,        // UT
-    ValueRepresentation_OtherVeryLong = 32,        // OV (8 bytes, new in Orthanc 1.12.12)
-    ValueRepresentation_SignedVeryLong = 33,       // SV (int64_t, new in Orthanc 1.12.12)
-    ValueRepresentation_UnsignedVeryLong = 34,     // UV (uint64_t, new in Orthanc 1.12.12)
+    ValueRepresentation_OtherVeryLong = 32,        // OV (8 bytes, new in Orthanc 1.13.0)
+    ValueRepresentation_SignedVeryLong = 33,       // SV (int64_t, new in Orthanc 1.13.0)
+    ValueRepresentation_UnsignedVeryLong = 34,     // UV (uint64_t, new in Orthanc 1.13.0)
 
     ValueRepresentation_NotSupported               // Not supported by Orthanc, or tag not in dictionary (must be the last one)
   };
--- a/OrthancFramework/Sources/Logging.cpp	Mon Aug 10 10:10:01 2026 +0200
+++ b/OrthancFramework/Sources/Logging.cpp	Mon Aug 10 14:56:30 2026 +0200
@@ -949,7 +949,7 @@
 static OrthancPluginContext*                    pluginContext_ = NULL;    // this is != NULL only when running from a plugin
 static std::string                              pluginName_;              // this string can only be non-empty if running from a plugin
 static bool                                     hasOrthancAdvancedLogging_ = false;  // Whether the Orthanc runtime is >= 1.12.4
-static bool                                     hasClearThreadName_ = false;  // Whether the Orthanc runtime is >= 1.12.12
+static bool                                     hasClearThreadName_ = false;  // Whether the Orthanc runtime is >= 1.13.0
 static ThreadsInformations                      threadsInformations_;
 static bool                                     enableThreadNames_ = true;
 static bool                                     enableThreadContexts_ = true;
@@ -1077,7 +1077,7 @@
         ThreadsInformations::CurrentThreadWriter writer(threadsInformations_);
         writer.ClearThreadName();
       }
-      else if (hasClearThreadName_) // only recent runtimes support it (from 1.12.12)
+      else if (hasClearThreadName_) // only recent runtimes support it (from 1.13.0)
       {
         pluginContext_->InvokeService(pluginContext_, _OrthancPluginService_ClearCurrentThreadName, NULL);
       }
@@ -1309,7 +1309,7 @@
 
       // The value "hasOrthancAdvancedLogging_" is cached to avoid computing it on every logged message
       hasOrthancAdvancedLogging_ = Toolbox::IsVersionAbove(pluginContext_->orthancVersion, 1, 12, 4);
-      hasClearThreadName_ = Toolbox::IsVersionAbove(pluginContext_->orthancVersion, 1, 12, 12);
+      hasClearThreadName_ = Toolbox::IsVersionAbove(pluginContext_->orthancVersion, 1, 13, 0);
 
       EnableInfoLevel(true);  // allow the plugin to log at info level (but the Orthanc Core still decides of the level)
     }
--- a/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h	Mon Aug 10 10:10:01 2026 +0200
+++ b/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h	Mon Aug 10 14:56:30 2026 +0200
@@ -125,8 +125,8 @@
 #endif
 
 #define ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER     1
-#define ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER     12
-#define ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER  12
+#define ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER     13
+#define ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER  0
 
 
 #if !defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE)
@@ -528,7 +528,7 @@
     _OrthancPluginService_EmitAuditLog = 61,                        /* New in Orthanc 1.12.9 */
     _OrthancPluginService_ReserveQueueValue = 62,                   /* New in Orthanc 1.12.10 */
     _OrthancPluginService_AcknowledgeQueueValue = 63,               /* New in Orthanc 1.12.10 */
-    _OrthancPluginService_ClearCurrentThreadName = 64,              /* New in Orthanc 1.12.12 */
+    _OrthancPluginService_ClearCurrentThreadName = 64,              /* New in Orthanc 1.13.0 */
 
     /* Registration of callbacks */
     _OrthancPluginService_RegisterRestCallback = 1000,
@@ -915,13 +915,13 @@
     OrthancPluginValueRepresentation_UN = 25,  /*!< Unknown */
     OrthancPluginValueRepresentation_US = 26,  /*!< Unsigned Short */
     OrthancPluginValueRepresentation_UT = 27,  /*!< Unlimited Text */
-    OrthancPluginValueRepresentation_OD = 28,  /*!< Other Double           (new in Orthanc 1.12.12) */
-    OrthancPluginValueRepresentation_OL = 29,  /*!< Other Long             (new in Orthanc 1.12.12) */
-    OrthancPluginValueRepresentation_UC = 30,  /*!< Unlimited Characters   (new in Orthanc 1.12.12) */
-    OrthancPluginValueRepresentation_UR = 31,  /*!< URI / URL              (new in Orthanc 1.12.12) */
-    OrthancPluginValueRepresentation_OV = 32,  /*!< Other Very Long        (new in Orthanc 1.12.12) */
-    OrthancPluginValueRepresentation_SV = 33,  /*!< Signed Very Long       (new in Orthanc 1.12.12) */
-    OrthancPluginValueRepresentation_UV = 34,  /*!< Unsigned Very Long     (new in Orthanc 1.12.12) */
+    OrthancPluginValueRepresentation_OD = 28,  /*!< Other Double           (new in Orthanc 1.13.0) */
+    OrthancPluginValueRepresentation_OL = 29,  /*!< Other Long             (new in Orthanc 1.13.0) */
+    OrthancPluginValueRepresentation_UC = 30,  /*!< Unlimited Characters   (new in Orthanc 1.13.0) */
+    OrthancPluginValueRepresentation_UR = 31,  /*!< URI / URL              (new in Orthanc 1.13.0) */
+    OrthancPluginValueRepresentation_OV = 32,  /*!< Other Very Long        (new in Orthanc 1.13.0) */
+    OrthancPluginValueRepresentation_SV = 33,  /*!< Signed Very Long       (new in Orthanc 1.13.0) */
+    OrthancPluginValueRepresentation_UV = 34,  /*!< Unsigned Very Long     (new in Orthanc 1.13.0) */
 
     _OrthancPluginValueRepresentation_INTERNAL = 0x7fffffff
   } OrthancPluginValueRepresentation;
@@ -1078,7 +1078,7 @@
     OrthancPluginDicomWebBinaryMode_Ignore = 0,        /*!< Don't include binary tags */
     OrthancPluginDicomWebBinaryMode_InlineBinary = 1,  /*!< Inline encoding using Base64 */
     OrthancPluginDicomWebBinaryMode_BulkDataUri = 2,   /*!< Use a bulk data URI field */
-    OrthancPluginDicomWebBinaryMode_ArrayOfValues ORTHANC_PLUGIN_SINCE_SDK("1.12.12") = 3  /*!< Encode the values as an array (not available for OB, new in Orthanc 1.12.12) */
+    OrthancPluginDicomWebBinaryMode_ArrayOfValues ORTHANC_PLUGIN_SINCE_SDK("1.13.0") = 3  /*!< Encode the values as an array (not available for OB, new in Orthanc 1.13.0) */
   } OrthancPluginDicomWebBinaryMode;
 
 
@@ -11209,7 +11209,7 @@
    * @return 0 if success, other value if error.
    * @ingroup Toolbox
    **/
-  ORTHANC_PLUGIN_SINCE_SDK("1.12.12")
+  ORTHANC_PLUGIN_SINCE_SDK("1.13.0")
   ORTHANC_PLUGIN_INLINE OrthancPluginErrorCode OrthancPluginClearCurrentThreadName(
     OrthancPluginContext*  context)
   {
--- a/OrthancServer/Sources/OrthancInitialization.cpp	Mon Aug 10 10:10:01 2026 +0200
+++ b/OrthancServer/Sources/OrthancInitialization.cpp	Mon Aug 10 14:56:30 2026 +0200
@@ -442,7 +442,7 @@
     }
     catch (boost::filesystem::filesystem_error& e)
     {
-      LOG(WARNING) << "Error encountered while creating IndexDirectory: " << e.what(); // the exception was ignored before 1.12.12; let's log it
+      LOG(WARNING) << "Error encountered while creating IndexDirectory: " << e.what(); // the exception was ignored before 1.13.0; let's log it
     }
 
     return new SQLiteDatabaseWrapper(Orthanc::SystemToolbox::PathToUtf8(indexDirectory) + "/index");
--- a/OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp	Mon Aug 10 10:10:01 2026 +0200
+++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp	Mon Aug 10 14:56:30 2026 +0200
@@ -124,13 +124,13 @@
         .SetAnswerField(ORTHANC_CONFIG_OVERWRITE_INSTANCES, RestApiCallDocumentation::Type_Boolean,
                         "Whether instances are overwritten when re-ingested (new in Orthanc 1.11.0 and kept as a bool for backward compatibility)")
         .SetAnswerField(OVERWRITE_INSTANCES_MODE, RestApiCallDocumentation::Type_String,
-                        "Whether instances are overwritten when re-ingested (new in Orthanc 1.12.12)")
+                        "Whether instances are overwritten when re-ingested (new in Orthanc 1.13.0)")
         .SetAnswerField(ORTHANC_CONFIG_INGEST_TRANSCODING, RestApiCallDocumentation::Type_String,
                         "Whether instances are transcoded when ingested into Orthanc (`""` if no transcoding is performed) (new in Orthanc 1.11.0)")
         .SetAnswerField(ORTHANC_CONFIG_MAXIMUM_STORAGE_CACHE_SIZE, RestApiCallDocumentation::Type_Number,
-                        std::string("The configured ") + ORTHANC_CONFIG_MAXIMUM_STORAGE_CACHE_SIZE + " in MB (new in Orthanc 1.12.12)")
+                        std::string("The configured ") + ORTHANC_CONFIG_MAXIMUM_STORAGE_CACHE_SIZE + " in MB (new in Orthanc 1.13.0)")
         .SetAnswerField(ORTHANC_CONFIG_STORE_MD5_FOR_ATTACHMENTS, RestApiCallDocumentation::Type_Boolean,
-                        std::string("The configured ") + ORTHANC_CONFIG_STORE_MD5_FOR_ATTACHMENTS + " (new in Orthanc 1.12.12)")
+                        std::string("The configured ") + ORTHANC_CONFIG_STORE_MD5_FOR_ATTACHMENTS + " (new in Orthanc 1.13.0)")
         .SetAnswerField(ORTHANC_CONFIG_MAXIMUM_STORAGE_SIZE, RestApiCallDocumentation::Type_Number,
                         "The configured " + std::string(ORTHANC_CONFIG_MAXIMUM_STORAGE_SIZE) + " in MB (new in Orthanc 1.11.3)")
         .SetAnswerField(ORTHANC_CONFIG_MAXIMUM_PATIENT_COUNT, RestApiCallDocumentation::Type_Number,
@@ -169,8 +169,8 @@
       result[ORTHANC_CONFIG_DICOM_PORT] = lock.GetConfiguration().GetDicomPort();
       result[ORTHANC_CONFIG_HTTP_PORT] = lock.GetConfiguration().GetHttpPort();
       result[ORTHANC_CONFIG_CHECK_REVISIONS] = lock.GetConfiguration().HasCheckRevisions();  // New in Orthanc 1.9.2
-      result[ORTHANC_CONFIG_MAXIMUM_STORAGE_CACHE_SIZE] = lock.GetConfiguration().GetMaximumStorageCacheSize(); // New in Orthanc 1.12.12
-      result[ORTHANC_CONFIG_STORE_MD5_FOR_ATTACHMENTS] = lock.GetConfiguration().HasStoreMD5ForAttachments(); // New in Orthanc 1.12.12
+      result[ORTHANC_CONFIG_MAXIMUM_STORAGE_CACHE_SIZE] = lock.GetConfiguration().GetMaximumStorageCacheSize(); // New in Orthanc 1.13.0
+      result[ORTHANC_CONFIG_STORE_MD5_FOR_ATTACHMENTS] = lock.GetConfiguration().HasStoreMD5ForAttachments(); // New in Orthanc 1.13.0
       result[ORTHANC_CONFIG_STORAGE_COMPRESSION] = lock.GetConfiguration().HasStorageCompression(); // New in Orthanc 1.11.0
       result[ORTHANC_CONFIG_DATABASE_SERVER_IDENTIFIER] = lock.GetConfiguration().GetDatabaseServerIdentifier();
       result[ORTHANC_CONFIG_MAXIMUM_STORAGE_SIZE] = lock.GetConfiguration().GetMaximumStorageSize(); // New in Orthanc 1.11.3
@@ -190,7 +190,7 @@
     }
 
     result[ORTHANC_CONFIG_OVERWRITE_INSTANCES] = context.IsOverwriteInstances(); // New in Orthanc 1.11.0
-    result[OVERWRITE_INSTANCES_MODE] = EnumerationToString(context.GetOverwriteInstances()); // New in Orthanc 1.12.12
+    result[OVERWRITE_INSTANCES_MODE] = EnumerationToString(context.GetOverwriteInstances()); // New in Orthanc 1.13.0
     result[ORTHANC_CONFIG_PATIENT_LEVEL_ENABLED] = context.IsPatientLevelEnabled(); // New in Orthanc 1.12.11
 
     result[STORAGE_AREA_PLUGIN] = Json::nullValue;
--- a/OrthancServer/Sources/ServerEnumerations.h	Mon Aug 10 10:10:01 2026 +0200
+++ b/OrthancServer/Sources/ServerEnumerations.h	Mon Aug 10 14:56:30 2026 +0200
@@ -85,7 +85,7 @@
     FindStorageAccessMode_DiskOnLookupAndAnswer
   };
 
-  // New in Orthanc 1.12.12
+  // New in Orthanc 1.13.0
   enum OverwriteInstancesMode
   {
     OverwriteInstancesMode_Never,
--- a/OrthancServer/Sources/main.cpp	Mon Aug 10 10:10:01 2026 +0200
+++ b/OrthancServer/Sources/main.cpp	Mon Aug 10 14:56:30 2026 +0200
@@ -1734,7 +1734,7 @@
       context.SetCompressionEnabled(lock.GetConfiguration().HasStorageCompression());
       context.SetStoreMD5ForAttachments(lock.GetConfiguration().HasStoreMD5ForAttachments());
 
-      // New option in Orthanc 1.4.2 (bool), changed to a string in 1.12.12
+      // New option in Orthanc 1.4.2 (bool), changed to a string in 1.13.0
       OverwriteInstancesMode overwriteInstancesMode = OverwriteInstancesMode_Never;
       if (lock.GetJson().isMember(ORTHANC_CONFIG_OVERWRITE_INSTANCES))
       {