Skip to content

Commit 66e1f4f

Browse files
authored
chore: release 0.28.0 (#320)
Signed-off-by: ThibaultFy <[email protected]>
1 parent ffca5e2 commit 66e1f4f

File tree

4 files changed

+79
-4
lines changed

4 files changed

+79
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.28.0]
11+
1012
- add token management page guide ([#312](https://github.com/Substra/substra-documentation/pull/312))
1113
- Update Iris example with the changes implied by [SubstraFL #120](https://github.com/Substra/substrafl/pull/120) compute plan builder ([#313](https://github.com/Substra/substra-documentation/pull/313))
1214
- Add caution for frontend cookies when several backends in local ([#308](https://github.com/Substra/substra-documentation/pull/308))

docs/source/additional/release.rst

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,45 @@ This is an overview of the main changes, please have a look at the changelog of
2828
- `backend changelog <https://github.com/Substra/substra-backend/blob/main/CHANGELOG.md>`__
2929
- `orchestrator changelog <https://github.com/Substra/orchestrator/blob/main/CHANGELOG.md>`__
3030

31+
Substra 0.28.0 --- 2023-06-14
32+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33+
34+
**SubstraFL**:
35+
36+
- On how to **decrease** Docker image size to accelerate the compute plan speed:
37+
38+
- Add ``excluded_paths`` and ``excluded_regex`` parameters to the ``Dependency`` object to exclude file when building the ``Dependency`` object. Defaults are provided to avoid creating large Docker images.
39+
40+
- On **Federated Analytics** and creating **custom FL strategies**:
41+
42+
- Add ``ComputePlanBuilder`` base class to define which method are needed to implement a custom strategy in SubstraFL. These methods are ``build_compute_plan``, ``load_local_states``and ``save_local_states``.
43+
- **BREAKING CHANGE**: rename ``build_graph`` to ``build_compute_plan``.
44+
- **BREAKING CHANGE**: move ``schema.py`` to ``strategy/schema.py``.
45+
46+
.. code-block:: python
47+
48+
from substrafl.schemas import FedAvgSharedState
49+
# Become
50+
from substrafl.strategies.schemas import FedAvgSharedState
51+
52+
**Substra**:
53+
54+
- Fix issue on the ordering when sorting assert (for instance on the ``list_task()`` function).
55+
56+
**Web application**:
57+
58+
- Fix issue where hyper-parameters were not nicely shown when their names was too big.
59+
- The API tokens management has now a **new page** supporting multiple token per user - see - `documentation <https://docs.substra.org/en/latest/documentation/api_tokens_generation.html>`__.
60+
- Reset the selected Compute Plan after a logout.
61+
62+
**Operations**:
63+
64+
- Substra backend and orchestrator can now use **external database** rather having to use the one packaged as a subchart.
65+
3166
Substra 0.27.0 --- 2023-05-11
3267
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3368

34-
SubstraFL:
69+
**SubstraFL**:
3570

3671
- **BREAKING CHANGE**: SubstraFL used to create one task per metric. Now all metrics are executed into a single task. This will lead to less tasks for a given CP and will improve compute time.
3772
- **BREAKING CHANGE**: Metrics are now given as ``metric_functions`` and not as ``metric_key``. The functions given as metric functions to test data nodes are automatically registered in a new Substra function by SubstraFL.
@@ -93,12 +128,12 @@ to:
93128
- Enforce **kwargs** for functions with more than 3 parameters.
94129
- Add the **Federated Principal Component Analysis strategy**.
95130

96-
Substra
131+
**Substra**:
97132

98133
- Substra Clients can now be configured using environment variables or a configuration Yaml file.
99134
- **BREAKING CHANGE**: default backend type for Client is now ``subprocess``.
100135

101-
Front-end:
136+
**Web application**:
102137

103138
- Display function name for each task in workflow & tasks table.
104139
- Better performances for workflow.

docs/source/additional/releases.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,44 @@ components: # for table headers
99
- substra-tests
1010

1111
releases:
12+
- version: 0.28.0
13+
components:
14+
substrafl:
15+
version: 0.37.0
16+
link: https://github.com/Substra/substrafl/releases/tag/0.37.0
17+
substra:
18+
version: 0.45.0
19+
link: https://github.com/Substra/substra/releases/tag/0.45.0
20+
substra-tools:
21+
version: 0.20.0
22+
link: https://github.com/Substra/substra-tools/releases/tag/0.20.0
23+
substra-backend:
24+
version: 0.38.0
25+
link: https://github.com/Substra/substra-backend/releases/tag/0.38.0
26+
helm:
27+
version: 22.5.1
28+
link: https://artifacthub.io/packages/helm/substra/substra-backend/22.5.1
29+
orchestrator:
30+
version: 0.35.0
31+
link: https://github.com/Substra/orchestrator/releases/tag/0.35.0
32+
helm:
33+
version: 7.5.1
34+
link: https://artifacthub.io/packages/helm/substra/orchestrator/7.5.1
35+
substra-frontend:
36+
version: 0.42.1
37+
link: https://github.com/Substra/substra-frontend/releases/tag/0.42.1
38+
helm:
39+
version: 1.0.19
40+
link: https://artifacthub.io/packages/helm/substra/substra-frontend/1.0.19
41+
hlf-k8s:
42+
version: 0.2.4
43+
link: https://github.com/Substra/hlf-k8s/releases/tag/0.2.4
44+
helm:
45+
version: 10.2.4
46+
link: https://artifacthub.io/packages/helm/substra/hlf-k8s/10.2.4
47+
substra-tests:
48+
version: 0.41.0
49+
link: https://github.com/Substra/substra-tests/releases/tag/0.41.0
1250
- version: 0.27.0
1351
components:
1452
substrafl:

docs/source/documentation/get_performances.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ This script will automatically end if the :code:`performance.json` file has not
6666
6767
step = int(row["round_idx"]) if row["round_idx"] is not None else int(row["task_rank"])
6868
69-
log_metric(f"{row['function_name']}_{row['worker']}", row["performance"], step)
69+
log_metric(f"{row['identifier']}_{row['worker']}", row["performance"], step)

0 commit comments

Comments
 (0)