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