diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a038f5..5d3afa7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ +## [1.0.11] - 2026-08-10 + +### Added + +- **Phase 1 test fixtures**: Media and playlist test fixtures in `backend/playout/testdata/` with ffmpeg generation commands documented in test headers. +- **Phase 4 R2 integration**: `SyncToR2` now sets `CacheControl` + `ContentType` based on file extension (immutable segments, short-lived manifests). Three integration tests added. +- **Phase 2 viewer tests**: Presence updates (join/leave/sorted), private DM flow, message rendering (system/self/other) in `main.test.ts` (27 total tests). +- **Phase 3 admin tests**: Playlist management (save via PUT, error handling, sortable rendering) in `admin.test.ts` (31 total tests passing). + +### Changed + +- Exported `savePlaylist` and `renderPlaylistSortable` from `admin.ts` for testing. + ## [1.0.10] - 2026-08-09 ### Added diff --git a/README.md b/README.md index edab013..a378c18 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Build Status](https://git.allucanget.biz/zwitschi/linearvoid/actions/workflows/ci.yml/badge.svg)](https://git.allucanget.biz/zwitschi/linearvoid/actions) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![Gitea](https://img.shields.io/badge/Gitea-1.27.1-blue)](https://git.allucanget.biz) -[![Version](https://img.shields.io/badge/version-1.0.10-blue)](https://git.allucanget.biz/zwitschi/linearvoid/releases) +[![Version](https://img.shields.io/badge/version-1.0.11-blue)](https://git.allucanget.biz/zwitschi/linearvoid/releases) [![Release Notes](https://img.shields.io/badge/release-notes-green)](CHANGELOG.md) ## Architecture diff --git a/backend/chat/src/metrics/metrics.go b/backend/chat/src/metrics/metrics.go index a78921d..8a5fdb9 100644 --- a/backend/chat/src/metrics/metrics.go +++ b/backend/chat/src/metrics/metrics.go @@ -68,7 +68,7 @@ func ObserveRequestDuration(duration time.Duration) { func WrapRequestTiming(next http.HandlerFunc) http.HandlerFunc { return func(w http.ResponseWriter, r *http.Request) { startedAt := time.Now() - defer ObserveRequestDuration(time.Since(startedAt)) + defer func() { ObserveRequestDuration(time.Since(startedAt)) }() next(w, r) } } diff --git a/frontend/package.json b/frontend/package.json index bf3b48d..cb898cd 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "frontend", "private": true, - "version": "1.0.10", + "version": "1.0.11", "type": "module", "scripts": { "dev": "vite",