Commit 5a1440f5 authored by Martin Juhás's avatar Martin Juhás Committed by Richard Glosner
Browse files

feat: add info about BE v4.0.2 release

parent cf9cd670
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -16,6 +16,13 @@ Most significant changes between the releases are listed below.**

---

## 4.0.2 (Backend)

- fixed an issue where files uploaded by trainees during an exercise were not deleted from
    the database when the exercise was deleted
- fixed an issue where exercise logs could contain uploaded files that were not actually uploaded
    during the exercise, see [known issues](known-issues.md#log-export) for more details.

## 4.0.1 (Backend)

- the database connection is now automatically closed when an exercise loop stops/finishes,
+4 −0
Original line number Diff line number Diff line
@@ -40,6 +40,10 @@ this documentation will equip you with the tools and knowledge needed for succes

!!! News

    *October 20*, 2025 <br>
    Backend version 4.0.2 is now available with fixes to exercise deletion and exercise log export.
    [Changelog](changelog.md#402-backend)

    *September 24*, 2025 <br>
    Backend version 4.0.1 is now available with improved database connection handling,
    a new environment variable and reduced log spam. [Changelog](changelog.md#401-backend)
+21 −0
Original line number Diff line number Diff line
@@ -28,6 +28,27 @@ for example <https://www.keka.io/en/>.

For the second cause, simply change the encoding to `utf-8`.

## Log export

### Issue

Exported exercise logs contain files which were not uploaded during the exercise.

### Cause

This issue occurs when one user is assigned to multiple exercises.
If this user uploads a file during any of the exercises,
logs from all the exercises will contain the uploaded file as if it was uploaded by the team
the user is assigned to.

### Solution

When this occurs, it is quite easy to identify and fix it.
To identify files which were incorrectly added to the logs,
simply check that the files in `logs/team-X/uploaded-files/` exist in `logs/file_infos.jsonl`.
If a file does not exist in `logs/file_infos.jsonl`, it can be safely deleted from the logs
as it was not uploaded during that exercise.

## Conclusion

If you require further assistance, don't hesitate to report issues to us. The