diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d4b7354b..9538ef453 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-12 + +### 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 diff --git a/charts/substra-backend/CHANGELOG.md b/charts/substra-backend/CHANGELOG.md index 11d810262..46dc9b9ea 100644 --- a/charts/substra-backend/CHANGELOG.md +++ b/charts/substra-backend/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog + +## [26.9.1] - 2024-09-12 + +Bump app version to 0.48.0 + ## [26.9.0] - 2024-07-22 # Added diff --git a/charts/substra-backend/Chart.yaml b/charts/substra-backend/Chart.yaml index 551eccde1..bae5fdb6b 100644 --- a/charts/substra-backend/Chart.yaml +++ b/charts/substra-backend/Chart.yaml @@ -1,39 +1,39 @@ apiVersion: v2 name: substra-backend home: https://github.com/Substra -version: "26.9.0" -appVersion: "0.47.0" -kubeVersion: ">= 1.19.0-0" +version: 26.9.1 +appVersion: 0.48.0 +kubeVersion: '>= 1.19.0-0' description: Main package for Substra type: application icon: https://avatars.githubusercontent.com/u/84009910?s=200&v=4 sources: - - https://github.com/Substra/substra-backend +- https://github.com/Substra/substra-backend maintainers: - - name: Substra Team - email: support@substra.org +- name: Substra Team + email: support@substra.org dependencies: - - name: redis - repository: https://charts.bitnami.com/bitnami - condition: redis.enabled - version: 19.5.0 - - name: common - repository: https://charts.bitnami.com/bitnami - condition: redis.enabled,postgresql.enabled,minio.enabled - version: 2.16.1 - - name: postgresql - repository: https://charts.bitnami.com/bitnami - version: 15.4.1 - condition: postgresql.enabled - - name: docker-registry - repository: https://helm.twun.io - version: 2.2.3 - condition: docker-registry.enabled - - name: minio - repository: https://charts.bitnami.com/bitnami - version: 14.6.1 - condition: minio.enabled - - name: localstack - repository: https://localstack.github.io/helm-charts - version: 0.6.9 - condition: localstack.enabled +- name: redis + repository: https://charts.bitnami.com/bitnami + condition: redis.enabled + version: 19.5.0 +- name: common + repository: https://charts.bitnami.com/bitnami + condition: redis.enabled,postgresql.enabled,minio.enabled + version: 2.16.1 +- name: postgresql + repository: https://charts.bitnami.com/bitnami + version: 15.4.1 + condition: postgresql.enabled +- name: docker-registry + repository: https://helm.twun.io + version: 2.2.3 + condition: docker-registry.enabled +- name: minio + repository: https://charts.bitnami.com/bitnami + version: 14.6.1 + condition: minio.enabled +- name: localstack + repository: https://localstack.github.io/helm-charts + version: 0.6.9 + condition: localstack.enabled