Skip to content

Commit 3ab37fc

Browse files
committed
v2.2.2 release.
1 parent 9fb89c1 commit 3ab37fc

File tree

2 files changed

+59
-2
lines changed

2 files changed

+59
-2
lines changed

CHANGELOG.md

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This project follows **Keep a Changelog** and **Semantic Versioning**:
77
- SemVer: https://semver.org/
88
- Changelogs are generated using an LLM and curated by a human
99

10-
## [Unreleased]
10+
## [Version template]
1111

1212
### Core logic
1313
#### Added
@@ -33,6 +33,63 @@ This project follows **Keep a Changelog** and **Semantic Versioning**:
3333
#### Fixed
3434
#### Security
3535

36+
## [2.2.2] - 17.2.2026
37+
38+
### Core logic
39+
*(No core-logic changes in this release.)*
40+
41+
---
42+
43+
### Web API
44+
#### Added
45+
- Added **E-NAUTILUS finalize** state and endpoint.
46+
- Added `ENautilusTreeNodeResponse`, `ENautilusDecisionEventResponse`, and `ENautilusSessionTreeResponse` models.
47+
- Added `GET /method/enautilus/session_tree/{session_id}` endpoint returning all nodes, edges, root IDs, and decision events.
48+
- Added `DELETE /problem/{id}` endpoint for problem deletion.
49+
- Added cascade deletes to `ProblemDB` relationships (solutions, preferences, states, constants, variables, objectives, constraints, etc.).
50+
- Added `ON DELETE CASCADE` to all 15 substate foreign key definitions.
51+
- Added unit test for problem deletion.
52+
53+
#### Changed
54+
- Introduced **`SessionContextGuard`** class, replacing `get_session_context` and `get_session_context_without_request` across all endpoint routers.
55+
- Enabled `PRAGMA foreign_keys=ON` for SQLite connections.
56+
- Added `back_populates` for `StateDB→ProblemDB` relationship.
57+
- Added defensive cleanup in `_attach_substate` for existing orphaned rows.
58+
59+
#### Fixed
60+
- Fixed E-NAUTILUS endpoints to work with the new `SessionContextGuard`.
61+
- Fixed orphaned substate rows causing `UNIQUE` constraint errors after session deletion.
62+
- Added missing docstrings and fixed typos in API models and router utilities.
63+
64+
---
65+
66+
### Web GUI
67+
#### Added
68+
- Added experimental new features for E-NAUTILUS related to tree and decision visualization.
69+
- Added generic **`EndStateView`** component (reuses `FinalResultTable` + CSV download).
70+
- Added **representative solution set selector** to E-NAUTILUS initialization panel; auto-selects when only one set exists, shows warning when none available.
71+
- Added inline session creation with **Combobox dropdown** and "+ New" button for E-NAUTILUS.
72+
- Added **delete and download actions** to problems data table.
73+
- Added input confirmation dialog component.
74+
- Added `syncProblem()` to `methodSelection` store (updates `problem_id` without clearing session/method).
75+
76+
#### Changed
77+
- Replaced E-NAUTILUS final JSON view with `EndStateView`; show only the selected solution.
78+
- Replaced final view toggle buttons with proper **Tabs** component (experimental).
79+
- Replaced dialog-based formulation views with inline expandable rows in Objectives, Constraints, and Extra Functions tabs.
80+
- Replaced plain HTML intermediate points table with **TanStack/sortable table** using colored headers, closeness column, and blue selection border.
81+
- Disabled E-NAUTILUS in method initialize page when problem has no representative solution sets.
82+
- Regenerated API client types for new E-NAUTILUS and delete endpoints.
83+
84+
#### Fixed
85+
- Fixed problem context mismatch when resuming E-NAUTILUS state from a different problem.
86+
- Fixed all `state_referenced_locally` Svelte 5 warnings across 11 components.
87+
- Fixed Svelte 5 `$state` warnings for `bind:this` element references.
88+
- Fixed `finalize_enautilus`: added missing return on error, cleared stale error messages.
89+
- Excluded `mathlive` from Vite `optimizeDeps` to fix KaTeX font 404 errors.
90+
- Disabled Finish button until intermediate point is chosen (E-NAUTILUS).
91+
- Removed duplicate config sync effect in GDM-SCORE-bands config-panel.
92+
3693
## [2.2.1] - 10.2.2026
3794

3895
### Core logic

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "desdeo"
3-
version = "2.2.1"
3+
version = "2.2.2"
44
description = "DESDEO is a modular and open source framework for interactive multiobjective optimization."
55
authors = [
66
{ name = "Giovanni Misitano", email = "giovanni.a.misitano@jyu.fi" },

0 commit comments

Comments
 (0)