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