diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d4b7354b..28e55f826 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 +## [0.48.0](https://github.com/Substra/substra-backend/releases/tag/0.48.0) - 2024-09-04 + +### Added + +- Propagate function profiling step through the orchestrator + - Create `FunctionProfilingStep` model in the API + - Create `FunctionProfilingStep` in orchestrator.resources` representing the different profiling step for the function + - Save in the local DB when receive the event `ASSET_PROFILING_STEP` ([#886](https://github.com/Substra/substra-backend/pull/886)) +- Views returning the function duration ([#949](https://github.com/Substra/substra-backend/pull/949)) + +### Changed + +- `get_orchestrator_client` moved from `substrapp.orchestrator` to `orchestrator` ([#886](https://github.com/Substra/substra-backend/pull/886)) +- Function images are only downloaded if they do not already exist on the local backend when a task is launched. ([#934](https://github.com/Substra/substra-backend/pull/934)) +- Disable never expiring users `BearerToken` ([#969](https://github.com/Substra/substra-backend/pull/969)) + +### Fixed + +- casting when receiving `FunctionProfilingStep` from the orchestrator ([#932](https://github.com/Substra/substra-backend/pull/932)) +- Improved resilience to docker image deletion (in particular when plugged in to an external registry). ([#934](https://github.com/Substra/substra-backend/pull/934)) +- Function durations received from the orchestrator are now correctly saved as milliseconds instead of seconds ([#949](https://github.com/Substra/substra-backend/pull/949)) +- `tqdm` and `python-dxf` versions have been pinned. ([#957](https://github.com/Substra/substra-backend/pull/957)) +- Pin `pyopenssl` to version `24.1.0` to avoid deprecation warnings ([#958](https://github.com/Substra/substra-backend/pull/958)) +- Celery was failing silently when a task called `FailableTask.on_failure` if the task didn't have a `logs` attribute (now return internal error) ([#970](https://github.com/Substra/substra-backend/pull/970)) +- \`OrganizationHttpError.status_code\` is now always getting a value properly ([#982](https://github.com/Substra/substra-backend/pull/982)) + +### Removed + +- `argh` dependency has been removed. ([#957](https://github.com/Substra/substra-backend/pull/957)) + + ## [0.47.0](https://github.com/Substra/substra-backend/releases/tag/0.47.0) - 2024-06-11 diff --git a/changes/886.added b/changes/886.added deleted file mode 100644 index f75e1a83f..000000000 --- a/changes/886.added +++ /dev/null @@ -1,4 +0,0 @@ -Propagate function profiling step through the orchestrator - - Create `FunctionProfilingStep` model in the API - - Create `FunctionProfilingStep` in orchestrator.resources` representing the different profiling step for the function - - Save in the local DB when receive the event `ASSET_PROFILING_STEP` \ No newline at end of file diff --git a/changes/886.changed b/changes/886.changed deleted file mode 100644 index 9b9dd843e..000000000 --- a/changes/886.changed +++ /dev/null @@ -1 +0,0 @@ -`get_orchestrator_client` moved from `substrapp.orchestrator` to `orchestrator` \ No newline at end of file diff --git a/changes/932.fixed b/changes/932.fixed deleted file mode 100644 index 6d99ca0e6..000000000 --- a/changes/932.fixed +++ /dev/null @@ -1 +0,0 @@ -casting when receiving `FunctionProfilingStep` from the orchestrator diff --git a/changes/934.changed b/changes/934.changed deleted file mode 100644 index 52a71989b..000000000 --- a/changes/934.changed +++ /dev/null @@ -1 +0,0 @@ -Function images are only downloaded if they do not already exist on the local backend when a task is launched. diff --git a/changes/934.fixed b/changes/934.fixed deleted file mode 100644 index 013cbfa9c..000000000 --- a/changes/934.fixed +++ /dev/null @@ -1 +0,0 @@ -Improved resilience to docker image deletion (in particular when plugged in to an external registry). diff --git a/changes/949.added b/changes/949.added deleted file mode 100644 index 5b7db3097..000000000 --- a/changes/949.added +++ /dev/null @@ -1 +0,0 @@ -Views returning the function duration \ No newline at end of file diff --git a/changes/949.fixed b/changes/949.fixed deleted file mode 100644 index 0ac48743b..000000000 --- a/changes/949.fixed +++ /dev/null @@ -1 +0,0 @@ -Function durations received from the orchestrator are now correctly saved as milliseconds instead of seconds \ No newline at end of file diff --git a/changes/957.fixed b/changes/957.fixed deleted file mode 100644 index 92311ca77..000000000 --- a/changes/957.fixed +++ /dev/null @@ -1 +0,0 @@ -`tqdm` and `python-dxf` versions have been pinned. diff --git a/changes/957.removed b/changes/957.removed deleted file mode 100644 index fb54cfd21..000000000 --- a/changes/957.removed +++ /dev/null @@ -1,2 +0,0 @@ -`argh` dependency has been removed. - diff --git a/changes/958.fixed b/changes/958.fixed deleted file mode 100644 index be688f070..000000000 --- a/changes/958.fixed +++ /dev/null @@ -1 +0,0 @@ -Pin `pyopenssl` to version `24.1.0` to avoid deprecation warnings \ No newline at end of file diff --git a/changes/969.changed b/changes/969.changed deleted file mode 100644 index 3136546ac..000000000 --- a/changes/969.changed +++ /dev/null @@ -1 +0,0 @@ -Disable never expiring users `BearerToken` diff --git a/changes/970.fixed b/changes/970.fixed deleted file mode 100644 index f2130ee0a..000000000 --- a/changes/970.fixed +++ /dev/null @@ -1 +0,0 @@ -Celery was failing silently when a task called `FailableTask.on_failure` if the task didn't have a `logs` attribute (now return internal error) \ No newline at end of file diff --git a/changes/982.fixed b/changes/982.fixed deleted file mode 100644 index c7670aab7..000000000 --- a/changes/982.fixed +++ /dev/null @@ -1 +0,0 @@ -\`OrganizationHttpError.status_code\` is now always getting a value properly \ No newline at end of file