annotate NEWS @ 193:66cd20e970d8 java-code-model

simplification for custom methods
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 02 Jul 2024 18:37:04 +0200
parents d08d75fc6d6a
children f764ba66e409
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
160
a5162d8bd2d4 Added Windows builder for Python 3.12
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 158
diff changeset
1 Pending changes in the mainline
a5162d8bd2d4 Added Windows builder for Python 3.12
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 158
diff changeset
2 ===============================
a5162d8bd2d4 Added Windows builder for Python 3.12
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 158
diff changeset
3
180
ddf3e987827f created Python documentation for the Orthanc interface
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 160
diff changeset
4 * Created Python documentation for the Orthanc interface, check out "orthanc.pyi"
184
f34f3a149c22 added class PythonThreadsAllower
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 180
diff changeset
5 * Added possibility to release the GIL during the call to the native SDK functions
187
d08d75fc6d6a synchronization of the code model with orthanc-java project
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 184
diff changeset
6 * Code model is now generated by the "orthanc-java" project
160
a5162d8bd2d4 Added Windows builder for Python 3.12
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 158
diff changeset
7 * Added Windows builder for Python 3.12
a5162d8bd2d4 Added Windows builder for Python 3.12
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 158
diff changeset
8
a5162d8bd2d4 Added Windows builder for Python 3.12
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 158
diff changeset
9
158
Alain Mazy <am@orthanc.team>
parents: 152
diff changeset
10 Version 4.2 (2024-05-16)
Alain Mazy <am@orthanc.team>
parents: 152
diff changeset
11 ========================
14
13589c36243d OrthancPython-1.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12
137
cc0765aae484 fix signature of orthanc.RestOutput.SendHttpStatus()
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 135
diff changeset
13 * Fix signature of "orthanc.RestOutput.SendHttpStatus()"
152
a6b4e0abe532 fix leaking of MoveDriver
Alain Mazy <am@osimis.io>
parents: 137
diff changeset
14 * Added orthanc.RegisterMoveCallback2() that takes 4 callbacks like the
a6b4e0abe532 fix leaking of MoveDriver
Alain Mazy <am@osimis.io>
parents: 137
diff changeset
15 original C SDK function. This allows you to implement a correct handling
a6b4e0abe532 fix leaking of MoveDriver
Alain Mazy <am@osimis.io>
parents: 137
diff changeset
16 of the C-Move sub-operations count in the GetMoveSize(). The ApplyMove()
a6b4e0abe532 fix leaking of MoveDriver
Alain Mazy <am@osimis.io>
parents: 137
diff changeset
17 must now handle a single sub-operation at a time.
a6b4e0abe532 fix leaking of MoveDriver
Alain Mazy <am@osimis.io>
parents: 137
diff changeset
18 The legacy orthanc.RegisterMoveCallback() always considers that there is a single
a6b4e0abe532 fix leaking of MoveDriver
Alain Mazy <am@osimis.io>
parents: 137
diff changeset
19 sub-operation and we have observed modalities complaining that the number of
a6b4e0abe532 fix leaking of MoveDriver
Alain Mazy <am@osimis.io>
parents: 137
diff changeset
20 sub-operations was not matching the number of instances sent.
137
cc0765aae484 fix signature of orthanc.RestOutput.SendHttpStatus()
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 135
diff changeset
21
135
69c9e376b73e OrthancPython-4.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 131
diff changeset
22
69c9e376b73e OrthancPython-4.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 131
diff changeset
23 Version 4.1 (2023-08-30)
69c9e376b73e OrthancPython-4.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 131
diff changeset
24 ========================
69c9e376b73e OrthancPython-4.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 131
diff changeset
25
69c9e376b73e OrthancPython-4.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 131
diff changeset
26 * New function from the SDK wrapped in Python:
119
cf6decdf9e15 wrapped new SDK callback: orthanc.RegisterStorageCommitmentScpCallback()
Alain Mazy <am@osimis.io>
parents: 118
diff changeset
27 - orthanc.RegisterStorageCommitmentScpCallback()
124
35c0b2fc751c added configuration section "Python" and option "DisplayMemoryUsage"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 109
diff changeset
28 * New configuration section "Python" to group settings related to the plugin:
35c0b2fc751c added configuration section "Python" and option "DisplayMemoryUsage"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 109
diff changeset
29 - "Python.Path" is an alias for global option "PythonScript"
35c0b2fc751c added configuration section "Python" and option "DisplayMemoryUsage"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 109
diff changeset
30 - "Python.Verbose" is an alias for global option "PythonVerbose"
35c0b2fc751c added configuration section "Python" and option "DisplayMemoryUsage"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 109
diff changeset
31 * New configuration option "Python.DisplayMemoryUsage" to periodically
35c0b2fc751c added configuration section "Python" and option "DisplayMemoryUsage"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 109
diff changeset
32 display memory allocations that stem from Python plugins
35c0b2fc751c added configuration section "Python" and option "DisplayMemoryUsage"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 109
diff changeset
33
131
c55b0583084b integration fix-leak->mainline
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 119 124
diff changeset
34 Maintenance
c55b0583084b integration fix-leak->mainline
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 119 124
diff changeset
35 -----------
c55b0583084b integration fix-leak->mainline
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 119 124
diff changeset
36
135
69c9e376b73e OrthancPython-4.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 131
diff changeset
37 * Fix memory leaks when a python script calls orthanc.RestApiPost() and sibling
69c9e376b73e OrthancPython-4.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 131
diff changeset
38 methods, in IncomingHttpRequestFilter and in the CMove callback.
112
b3a18e333f93 integration 4.0->mainline
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 109
diff changeset
39 * New builders for Windows: Supporting 32 / 64bit with Python 3.9 / 3.10 / 3.11
b3a18e333f93 integration 4.0->mainline
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 109
diff changeset
40
109
80f3a034d47f OrthancPython-4.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
41
80f3a034d47f OrthancPython-4.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
42 Version 4.0 (2022-02-23)
80f3a034d47f OrthancPython-4.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
43 ========================
80f3a034d47f OrthancPython-4.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
44
107
461dfb859ac7 upgrade to Orthanc SDK 1.10.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 101
diff changeset
45 => Minimum SDK version: 1.10.0 <=
461dfb859ac7 upgrade to Orthanc SDK 1.10.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 101
diff changeset
46
461dfb859ac7 upgrade to Orthanc SDK 1.10.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 101
diff changeset
47 * New functions from the SDK wrapped in Python:
96
627b8a19fb9f orthanc.RegisterIncomingCStoreInstanceFilter()
Alain Mazy <am@osimis.io>
parents: 93
diff changeset
48 - orthanc.RegisterIncomingCStoreInstanceFilter()
99
465bf098554b new callback: orthanc.RegisterReceivedInstanceCallback()
Alain Mazy <am@osimis.io>
parents: 96
diff changeset
49 - orthanc.RegisterReceivedInstanceCallback()
93
28f354fd36fa OrthancPython-3.4
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 91
diff changeset
50
101
eb6ac5a801d1 update to year 2022
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 99
diff changeset
51
93
28f354fd36fa OrthancPython-3.4
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 91
diff changeset
52 Version 3.4 (2021-08-31)
28f354fd36fa OrthancPython-3.4
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 91
diff changeset
53 ========================
28f354fd36fa OrthancPython-3.4
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 91
diff changeset
54
91
55c41aa7053b On Orthanc stopping, wait for all the queued events to have been processed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 81
diff changeset
55 * On Orthanc stopping, wait for all the queued events to have been processed
55c41aa7053b On Orthanc stopping, wait for all the queued events to have been processed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 81
diff changeset
56 * Docker-based builder scripts distinguishing Debian buster and bullseye
55c41aa7053b On Orthanc stopping, wait for all the queued events to have been processed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 81
diff changeset
57
81
347af6f3d63a OrthancPython-3.3
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 79
diff changeset
58
347af6f3d63a OrthancPython-3.3
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 79
diff changeset
59 Version 3.3 (2021-08-12)
347af6f3d63a OrthancPython-3.3
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 79
diff changeset
60 ========================
347af6f3d63a OrthancPython-3.3
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 79
diff changeset
61
79
068551520123 New Python function: "orthanc.RegisterStorageArea()"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 77
diff changeset
62 * New Python function: "orthanc.RegisterStorageArea()"
77
e7ff5efb100d Custom exception "orthanc.OrthancException" is raised instead of "ValueError"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 71
diff changeset
63 * Custom exception "orthanc.OrthancException" is raised instead of "ValueError"
e7ff5efb100d Custom exception "orthanc.OrthancException" is raised instead of "ValueError"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 71
diff changeset
64
71
0fb9f2fb3157 OrthancPython-3.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 67
diff changeset
65
0fb9f2fb3157 OrthancPython-3.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 67
diff changeset
66 Version 3.2 (2021-06-11)
0fb9f2fb3157 OrthancPython-3.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 67
diff changeset
67 ========================
0fb9f2fb3157 OrthancPython-3.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 67
diff changeset
68
63
32de70a1e4c7 New functions from the SDK wrapped in Python: CreateDicom, RegisterFindCallback, RegisterMoveCallback
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 60
diff changeset
69 * New functions from the SDK wrapped in Python:
32de70a1e4c7 New functions from the SDK wrapped in Python: CreateDicom, RegisterFindCallback, RegisterMoveCallback
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 60
diff changeset
70 - orthanc.CreateDicom()
65
4da5ce3468b4 new wrapped functions: CreateImageFromBuffer(), DicomInstance.GetInstanceData() and Image.GetImageBuffer()
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 64
diff changeset
71 - orthanc.CreateImageFromBuffer()
4da5ce3468b4 new wrapped functions: CreateImageFromBuffer(), DicomInstance.GetInstanceData() and Image.GetImageBuffer()
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 64
diff changeset
72 - orthanc.DicomInstance.GetInstanceData()
64
091fb1903bfc new wrapped function: orthanc.RegisterWorklistCallback() and orthanc.WorklistAnswers.WorklistAddAnswer()
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 63
diff changeset
73 - orthanc.FindQuery.GetFindQueryTagElement()
091fb1903bfc new wrapped function: orthanc.RegisterWorklistCallback() and orthanc.WorklistAnswers.WorklistAddAnswer()
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 63
diff changeset
74 - orthanc.FindQuery.GetFindQueryTagGroup()
65
4da5ce3468b4 new wrapped functions: CreateImageFromBuffer(), DicomInstance.GetInstanceData() and Image.GetImageBuffer()
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 64
diff changeset
75 - orthanc.Image.GetImageBuffer()
66
6fc445793796 new wrapped function: orthanc.LookupDictionary()
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 65
diff changeset
76 - orthanc.LookupDictionary()
63
32de70a1e4c7 New functions from the SDK wrapped in Python: CreateDicom, RegisterFindCallback, RegisterMoveCallback
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 60
diff changeset
77 - orthanc.RegisterFindCallback()
32de70a1e4c7 New functions from the SDK wrapped in Python: CreateDicom, RegisterFindCallback, RegisterMoveCallback
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 60
diff changeset
78 - orthanc.RegisterMoveCallback()
64
091fb1903bfc new wrapped function: orthanc.RegisterWorklistCallback() and orthanc.WorklistAnswers.WorklistAddAnswer()
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 63
diff changeset
79 - orthanc.RegisterWorklistCallback()
091fb1903bfc new wrapped function: orthanc.RegisterWorklistCallback() and orthanc.WorklistAnswers.WorklistAddAnswer()
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 63
diff changeset
80 - orthanc.WorklistAnswers.WorklistAddAnswer()
63
32de70a1e4c7 New functions from the SDK wrapped in Python: CreateDicom, RegisterFindCallback, RegisterMoveCallback
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 60
diff changeset
81
67
9d0460d0f15b coverage stats
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 66
diff changeset
82 NB: SDK coverage is about 87% (138 functions wrapped in Python vs. 158 in SDK)
9d0460d0f15b coverage stats
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 66
diff changeset
83
60
950c1fb892ad OrthancPython-3.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 58
diff changeset
84
950c1fb892ad OrthancPython-3.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 58
diff changeset
85 Version 3.1 (2021-01-22)
950c1fb892ad OrthancPython-3.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 58
diff changeset
86 ========================
950c1fb892ad OrthancPython-3.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 58
diff changeset
87
57
46fe70776d61 Fix possible deadlock with "orthanc.RegisterOnChangeCallback()"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 54
diff changeset
88 * Fix possible deadlock with "orthanc.RegisterOnChangeCallback()"
58
ef1a1ce0c1e3 During Orthanc shutdown, wait for all the pending events to have been processed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 57
diff changeset
89 * During Orthanc shutdown, wait for all the pending events to have been processed
57
46fe70776d61 Fix possible deadlock with "orthanc.RegisterOnChangeCallback()"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 54
diff changeset
90
54
0dbc1360e829 OrthancPython-3.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 50
diff changeset
91
0dbc1360e829 OrthancPython-3.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 50
diff changeset
92 Version 3.0 (2020-12-09)
0dbc1360e829 OrthancPython-3.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 50
diff changeset
93 ========================
0dbc1360e829 OrthancPython-3.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 50
diff changeset
94
49
9e466631660a ugrade to Orthanc SDK 1.8.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 47
diff changeset
95 => Minimum SDK version: 1.8.1 <=
9e466631660a ugrade to Orthanc SDK 1.8.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 47
diff changeset
96
50
70abe3ebbbfc New Python function: "orthanc.RegisterIncomingHttpRequestFilter()"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 49
diff changeset
97 * New Python function: "orthanc.RegisterIncomingHttpRequestFilter()"
47
42de8b600c0c Support of Apple OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 45
diff changeset
98 * Support of Apple OS X
45
ee76cced46a5 Fix issue #185 (segfaults on non-UTF8 special characters in request URI)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 43
diff changeset
99 * Fix issue #185 (segfaults on non-UTF8 special characters in request URI)
ee76cced46a5 Fix issue #185 (segfaults on non-UTF8 special characters in request URI)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 43
diff changeset
100
43
eec99a934b6a OrthancPython-2.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 41
diff changeset
101
eec99a934b6a OrthancPython-2.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 41
diff changeset
102 Version 2.0 (2020-07-08)
eec99a934b6a OrthancPython-2.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 41
diff changeset
103 ========================
eec99a934b6a OrthancPython-2.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 41
diff changeset
104
41
393d2da0722a upgrade to Orthanc SDK 1.7.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 36
diff changeset
105 => Minimum SDK version: 1.7.2 <=
393d2da0722a upgrade to Orthanc SDK 1.7.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 36
diff changeset
106
43
eec99a934b6a OrthancPython-2.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 41
diff changeset
107 * Wrapped more functions
22
04b8a44b2717 adding patch.exe command-line tool for MSVC
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 14
diff changeset
108 * Fix compilation using Visual Studio
28
b2bbb516056e The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 22
diff changeset
109 * The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
33
ce5b6116e6cd New builders for Windows: Supporting 32 / 64bit with Python 2.7 / 3.7 / 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 28
diff changeset
110 * New builders for Windows: Supporting 32 / 64bit with Python 2.7 / 3.7 / 3.8
36
fd58eb5749ed CMake simplification using DownloadOrthancFramework.cmake
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 33
diff changeset
111 * Support of dynamic linking against the system-wide Orthanc framework library
22
04b8a44b2717 adding patch.exe command-line tool for MSVC
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 14
diff changeset
112
67
9d0460d0f15b coverage stats
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 66
diff changeset
113 NB: SDK coverage is about 75% (119 functions wrapped in Python vs. 157 in SDK)
9d0460d0f15b coverage stats
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 66
diff changeset
114
14
13589c36243d OrthancPython-1.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
115
13589c36243d OrthancPython-1.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
116 Version 1.0 (2020-04-01)
13589c36243d OrthancPython-1.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
117 ========================
13589c36243d OrthancPython-1.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
118
41
393d2da0722a upgrade to Orthanc SDK 1.7.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 36
diff changeset
119 => Minimum SDK version: 1.5.7 <=
393d2da0722a upgrade to Orthanc SDK 1.7.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 36
diff changeset
120
14
13589c36243d OrthancPython-1.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
121 * Initial release