|
1 | 1 | # Change log |
2 | 2 |
|
| 3 | +## Unreleased |
| 4 | +* Added sorting to server queries, users can now specify to sort by columns during data retrieval from the database. |
| 5 | +## [v2.0.1](https://github.com/simvue-io/client/releases/tag/v2.0.1) - 2025-03-24 |
| 6 | +* Improvements to docstrings on methods, classes and functions. |
3 | 7 | ## [v2.0.0](https://github.com/simvue-io/client/releases/tag/v2.0.0) - 2025-03-07 |
4 | 8 | * Add new example notebooks |
5 | 9 | * Update and refactor examples to work with v2.0 |
|
51 | 55 | * Adds additional functionality and support for offline mode. |
52 | 56 | * Support for Simvue servers `>=3`. |
53 | 57 |
|
54 | | -## [v1.1.4](https://github.com/simvue-io/client/releases/tag/v1.1.4) - 2024-12-11 |
| 58 | +## [v1.1.4](https://github.com/simvue-io/python-api/releases/tag/v1.1.4) - 2024-12-11 |
55 | 59 |
|
56 | 60 | * Remove incorrect identifier reference for latest Simvue servers during reconnection. |
57 | 61 | * Fixed missing online mode selection when retrieving configuration for `Client` class. |
58 | 62 |
|
59 | | -## [v1.1.3](https://github.com/simvue-io/client/releases/tag/v1.1.3) - 2024-12-09 |
| 63 | +## [v1.1.3](https://github.com/simvue-io/python-api/releases/tag/v1.1.3) - 2024-12-09 |
60 | 64 |
|
61 | 65 | * Fixed bug with `requirements.txt` metadata read. |
62 | 66 | * Added Simvue server version check. |
63 | 67 | * Remove checking of server version in offline mode and add default run mode to configuration options. |
64 | 68 | * Fix offline mode class initialisation, and propagation of configuration. |
65 | 69 |
|
66 | | -## [v1.1.2](https://github.com/simvue-io/client/releases/tag/v1.1.2) - 2024-11-06 |
| 70 | +## [v1.1.2](https://github.com/simvue-io/python-api/releases/tag/v1.1.2) - 2024-11-06 |
67 | 71 |
|
68 | 72 | * Fix bug in offline mode directory retrieval. |
69 | 73 |
|
70 | | -## [v1.1.1](https://github.com/simvue-io/client/releases/tag/v1.1.1) - 2024-10-22 |
| 74 | +## [v1.1.1](https://github.com/simvue-io/python-api/releases/tag/v1.1.1) - 2024-10-22 |
71 | 75 |
|
72 | 76 | * Add missing `offline.cache` key to TOML config. |
73 | 77 | * Fix repetition of server URL validation for each call to configuration. |
74 | 78 |
|
75 | | -## [v1.1.0](https://github.com/simvue-io/client/releases/tag/v1.1.0) - 2024-10-21 |
| 79 | +## [v1.1.0](https://github.com/simvue-io/python-api/releases/tag/v1.1.0) - 2024-10-21 |
76 | 80 |
|
77 | 81 | * Add option to specify a callback executed when an alert is triggered for a run. |
78 | 82 | * Allow retrieval of all alerts when no constraints are specified. |
|
83 | 87 | * Indicate the source used for token and URL. |
84 | 88 | * Migrate to `simvue.toml` from `simvue.ini`, allowing more defaults to be set during runs. |
85 | 89 |
|
86 | | -## [v1.0.6](https://github.com/simvue-io/client/releases/tag/v1.0.6) - 2024-10-10 |
| 90 | +## [v1.0.6](https://github.com/simvue-io/python-api/releases/tag/v1.0.6) - 2024-10-10 |
87 | 91 |
|
88 | 92 | * Fix incorrect usage of `retry` when attempting connections to the server. |
89 | 93 |
|
90 | | -## [v1.0.5](https://github.com/simvue-io/client/releases/tag/v1.0.5) - 2024-10-09 |
| 94 | +## [v1.0.5](https://github.com/simvue-io/python-api/releases/tag/v1.0.5) - 2024-10-09 |
91 | 95 |
|
92 | 96 | * Ensure all functionality is deactivated when mode is set to `disabled`. |
93 | 97 | * When an exception is thrown an event is sent to Simvue displaying the traceback. |
94 | 98 | * If `add_process` is used and an exception is thrown, `.err` and `.out` files are still uploaded. |
95 | 99 |
|
96 | | -## [v1.0.4](https://github.com/simvue-io/client/releases/tag/v1.0.4) - 2024-09-24 |
| 100 | +## [v1.0.4](https://github.com/simvue-io/python-api/releases/tag/v1.0.4) - 2024-09-24 |
97 | 101 |
|
98 | 102 | * Set resource metrics to be recorded by default. |
99 | 103 |
|
100 | | -## [v1.0.3](https://github.com/simvue-io/client/releases/tag/v1.0.3) - 2024-09-23 |
| 104 | +## [v1.0.3](https://github.com/simvue-io/python-api/releases/tag/v1.0.3) - 2024-09-23 |
101 | 105 |
|
102 | 106 | * Fix issue of hanging threads when exception raised by script using the API. |
103 | 107 |
|
104 | | -## [v1.0.2](https://github.com/simvue-io/client/releases/tag/v1.0.2) - 2024-08-21 |
| 108 | +## [v1.0.2](https://github.com/simvue-io/python-api/releases/tag/v1.0.2) - 2024-08-21 |
105 | 109 |
|
106 | 110 | * Fix incorrect HTTP status code in `Client` when checking if object exists. |
107 | 111 | * Fix issue with `running=False` when launching a `Run` caused by incorrect system metadata being sent to the server. |
108 | 112 |
|
109 | | -## [v1.0.1](https://github.com/simvue-io/client/releases/tag/v1.0.1) - 2024-07-16 |
| 113 | +## [v1.0.1](https://github.com/simvue-io/python-api/releases/tag/v1.0.1) - 2024-07-16 |
110 | 114 |
|
111 | 115 | * Fix to `add_process` with list of strings as arguments, the executable no longer returns the string `"None"`. |
112 | 116 | * Fix callbacks and triggers for `add_process` being executed only on `Run` class termination, not on process completion. |
113 | 117 |
|
114 | | -## [v1.0.0](https://github.com/simvue-io/client/releases/tag/v1.0.0) - 2024-06-14 |
| 118 | +## [v1.0.0](https://github.com/simvue-io/python-api/releases/tag/v1.0.0) - 2024-06-14 |
115 | 119 |
|
116 | 120 | * Refactor and re-write of codebase to align with latest developments in version 2 of the Simvue server. |
117 | 121 | * Added `Executor` to Simvue runs allowing users to start shell based processes as part of a run and handle termination of these. |
|
121 | 125 | * Fixed issue whereby metrics would still have to wait for the next iteration of dispatch before being sent to the server, even if the queue was not full. |
122 | 126 | * Added support for `'user'` alerts. |
123 | 127 |
|
124 | | -## [v0.14.3](https://github.com/simvue-io/client/releases/tag/v0.14.3) - 2023-06-29 |
| 128 | +## [v0.14.3](https://github.com/simvue-io/python-api/releases/tag/v0.14.3) - 2023-06-29 |
125 | 129 |
|
126 | 130 | * Ensure import of the `requests` module is only done if actually used. |
127 | 131 |
|
128 | | -## [v0.14.0](https://github.com/simvue-io/client/releases/tag/v0.14.0) - 2023-04-04 |
| 132 | +## [v0.14.0](https://github.com/simvue-io/python-api/releases/tag/v0.14.0) - 2023-04-04 |
129 | 133 |
|
130 | 134 | * Added a method to the `Client` class for retrieving events. |
131 | 135 |
|
132 | | -## [v0.13.3](https://github.com/simvue-io/client/releases/tag/v0.13.3) - 2023-04-04 |
| 136 | +## [v0.13.3](https://github.com/simvue-io/python-api/releases/tag/v0.13.3) - 2023-04-04 |
133 | 137 |
|
134 | 138 | * Allow files (`input` and `code` only) to be saved for runs in the `created` state. |
135 | 139 | * Allow metadata and tags to be updated for runs in the `created` state. |
136 | 140 |
|
137 | | -## [v0.13.2](https://github.com/simvue-io/client/releases/tag/v0.13.2) - 2023-04-04 |
| 141 | +## [v0.13.2](https://github.com/simvue-io/python-api/releases/tag/v0.13.2) - 2023-04-04 |
138 | 142 |
|
139 | 143 | * Added `plot_metrics` method to the `Client` class to simplify plotting metrics. |
140 | 144 | * (Bug fix) `reconnect` works without a uuid being specified when `offline` mode isn't being used. |
141 | 145 | * (Bug fix) Restrict version of Pydantic to prevent v2 from accidentally being used. |
142 | 146 |
|
143 | | -## [v0.13.1](https://github.com/simvue-io/client/releases/tag/v0.13.1) - 2023-03-28 |
| 147 | +## [v0.13.1](https://github.com/simvue-io/python-api/releases/tag/v0.13.1) - 2023-03-28 |
144 | 148 |
|
145 | 149 | * Set `sample_by` to 0 by default (no sampling) in `get_metrics_multiple`. |
146 | 150 |
|
147 | | -## [v0.13.0](https://github.com/simvue-io/client/releases/tag/v0.13.0) - 2023-03-28 |
| 151 | +## [v0.13.0](https://github.com/simvue-io/python-api/releases/tag/v0.13.0) - 2023-03-28 |
148 | 152 |
|
149 | 153 | * Added methods to the `Client` class for retrieving metrics. |
150 | 154 | * CPU architecture and processor obtained on Apple hardware. |
151 | 155 | * Client now reports to server when files have been successfully uploaded. |
152 | 156 | * `User-Agent` header now included in HTTP requests. |
153 | 157 |
|
154 | | -## [v0.12.0](https://github.com/simvue-io/client/releases/tag/v0.12.0) - 2023-03-13 |
| 158 | +## [v0.12.0](https://github.com/simvue-io/python-api/releases/tag/v0.12.0) - 2023-03-13 |
155 | 159 |
|
156 | 160 | * Add methods to the `Client` class for deleting runs and folders. |
157 | 161 | * Confusing messages about `process no longer exists` or `NVML Shared Library Not Found` no longer displayed. |
158 | 162 |
|
159 | | -## [v0.11.4](https://github.com/simvue-io/client/releases/tag/v0.11.4) - 2023-03-13 |
| 163 | +## [v0.11.4](https://github.com/simvue-io/python-api/releases/tag/v0.11.4) - 2023-03-13 |
160 | 164 |
|
161 | 165 | * (Bug fix) Ensure `simvue_sender` can be run when installed from PyPI. |
162 | 166 | * (Bug fix) Runs created in `offline` mode using a context manager weren't automatically closed. |
163 | 167 |
|
164 | | -## [v0.11.3](https://github.com/simvue-io/client/releases/tag/v0.11.3) - 2023-03-07 |
| 168 | +## [v0.11.3](https://github.com/simvue-io/python-api/releases/tag/v0.11.3) - 2023-03-07 |
165 | 169 |
|
166 | 170 | * Added logging messages for debugging when debug level set to `debug`. |
167 | 171 |
|
168 | | -## [v0.11.2](https://github.com/simvue-io/client/releases/tag/v0.11.2) - 2023-03-06 |
| 172 | +## [v0.11.2](https://github.com/simvue-io/python-api/releases/tag/v0.11.2) - 2023-03-06 |
169 | 173 |
|
170 | 174 | * Raise exceptions in `Client` class methods if run does not exist or artifact does not exist. |
171 | 175 | * (Bug fix) `list_artifacts` optional category restriction now works. |
172 | 176 |
|
173 | | -## [v0.11.1](https://github.com/simvue-io/client/releases/tag/v0.11.1) - 2023-03-05 |
| 177 | +## [v0.11.1](https://github.com/simvue-io/python-api/releases/tag/v0.11.1) - 2023-03-05 |
174 | 178 |
|
175 | 179 | * Support different runs having different metadata in `get_runs` dataframe output. |
176 | 180 | * (Bug fix) Error message when creating a duplicate run is now more clear. |
177 | 181 | * (Bug fix) Correction to stopping the worker thread in situations where the run never started. |
178 | 182 |
|
179 | | -## [v0.11.0](https://github.com/simvue-io/client/releases/tag/v0.11.0) - 2023-03-04 |
| 183 | +## [v0.11.0](https://github.com/simvue-io/python-api/releases/tag/v0.11.0) - 2023-03-04 |
180 | 184 |
|
181 | 185 | * Support optional dataframe output from `get_runs`. |
182 | 186 |
|
183 | | -## [v0.10.1](https://github.com/simvue-io/client/releases/tag/v0.10.1) - 2023-03-03 |
| 187 | +## [v0.10.1](https://github.com/simvue-io/python-api/releases/tag/v0.10.1) - 2023-03-03 |
184 | 188 |
|
185 | 189 | * The worker process now no longer gives a long delay when a run has finished (now at most ~1 second). |
186 | 190 | * The worker process ends when the `Run()` context ends or `close` is called, rather than only when the main process exits. |
187 | 191 |
|
188 | | -## [v0.10.0](https://github.com/simvue-io/client/releases/tag/v0.10.0) - 2023-02-07 |
| 192 | +## [v0.10.0](https://github.com/simvue-io/python-api/releases/tag/v0.10.0) - 2023-02-07 |
189 | 193 |
|
190 | 194 | * The `client` class can now be used to retrieve runs. |
191 | 195 |
|
192 | | -## [v0.9.1](https://github.com/simvue-io/client/releases/tag/v0.9.1) - 2023-01-25 |
| 196 | +## [v0.9.1](https://github.com/simvue-io/python-api/releases/tag/v0.9.1) - 2023-01-25 |
193 | 197 |
|
194 | 198 | * (Bug fix) Retries in POST/PUTs to REST APIs didn't happen. |
195 | 199 | * Warn users if `allow_pickle=True` is required. |
196 | 200 |
|
197 | | -## [v0.9.0](https://github.com/simvue-io/client/releases/tag/v0.9.0) - 2023-01-25 |
| 201 | +## [v0.9.0](https://github.com/simvue-io/python-api/releases/tag/v0.9.0) - 2023-01-25 |
198 | 202 |
|
199 | 203 | * Set status to `failed` or `terminated` if the context manager is used and there is an exception. |
200 | 204 |
|
201 | | -## [v0.8.0](https://github.com/simvue-io/client/releases/tag/v0.8.0) - 2023-01-23 |
| 205 | +## [v0.8.0](https://github.com/simvue-io/python-api/releases/tag/v0.8.0) - 2023-01-23 |
202 | 206 |
|
203 | 207 | * Support NumPy arrays, PyTorch tensors, Matplotlib and Plotly plots and picklable Python objects as artifacts. |
204 | 208 | * (Bug fix) Events in offline mode didn't work. |
205 | 209 |
|
206 | | -## [v0.7.2](https://github.com/simvue-io/client/releases/tag/v0.7.2) - 2023-01-08 |
| 210 | +## [v0.7.2](https://github.com/simvue-io/python-api/releases/tag/v0.7.2) - 2023-01-08 |
207 | 211 |
|
208 | 212 | * Pydantic model is used for input validation. |
209 | 213 | * Support NaN, -inf and inf in metadata and metrics. |
210 | 214 |
|
211 | | -## [v0.7.0](https://github.com/simvue-io/client/releases/tag/v0.7.0) - 2022-12-05 |
| 215 | +## [v0.7.0](https://github.com/simvue-io/python-api/releases/tag/v0.7.0) - 2022-12-05 |
212 | 216 |
|
213 | 217 | * Collect CPU, GPU and memory resource metrics. |
214 | 218 | * Automatically delete temporary files used in offline mode once runs have entered a terminal state. |
215 | 219 | * Warn users if their access token has expired. |
216 | 220 | * Remove dependency on the randomname module, instead handle name generation server side. |
217 | 221 |
|
218 | | -## [v0.6.0](https://github.com/simvue-io/client/releases/tag/v0.6.0) - 2022-11-07 |
| 222 | +## [v0.6.0](https://github.com/simvue-io/python-api/releases/tag/v0.6.0) - 2022-11-07 |
219 | 223 |
|
220 | 224 | * `offline` and `disabled` options replaced with single `mode` flag. |
221 | 225 |
|
222 | | -## [v0.5.0](https://github.com/simvue-io/client/releases/tag/v0.5.0) - 2022-11-03 |
| 226 | +## [v0.5.0](https://github.com/simvue-io/python-api/releases/tag/v0.5.0) - 2022-11-03 |
223 | 227 |
|
224 | 228 | * Added option to disable all monitoring. |
225 | 229 |
|
226 | | -## [v0.4.0](https://github.com/simvue-io/client/releases/tag/v0.4.0) - 2022-11-03 |
| 230 | +## [v0.4.0](https://github.com/simvue-io/python-api/releases/tag/v0.4.0) - 2022-11-03 |
227 | 231 |
|
228 | 232 | * Offline mode added, enabling tracking of simulations running on worker nodes without outgoing network access. |
229 | 233 | * Argument to `init` enabling runs to be left in the `created` state changed from `status="created"` to `running=True`. |
230 | 234 | * Improvements to error handling. |
231 | 235 |
|
232 | | -## [v0.3.0](https://github.com/simvue-io/client/releases/tag/v0.3.0) - 2022-10-31 |
| 236 | +## [v0.3.0](https://github.com/simvue-io/python-api/releases/tag/v0.3.0) - 2022-10-31 |
233 | 237 |
|
234 | 238 | * Update `add_alert` method to support either metrics or events based alerts. |
235 | 239 |
|
236 | | -## [v0.2.0](https://github.com/simvue-io/client/releases/tag/v0.2.0) - 2022-10-26 |
| 240 | +## [v0.2.0](https://github.com/simvue-io/python-api/releases/tag/v0.2.0) - 2022-10-26 |
237 | 241 |
|
238 | 242 | * The previous `Simvue` class has been split into `Run` and `Client`. When creating a run use the new `Run` class rather than `Simvue`. |
239 | 243 |
|
|
0 commit comments