From 2aaac4b34a81e8479bf4a88832bd8b056d700082 Mon Sep 17 00:00:00 2001 From: Antoine Jaussoin Date: Thu, 15 Sep 2022 14:19:02 +0100 Subject: [PATCH] Release v4.16.2 (hotfix) * Visited session bug * Alpha * versions --- .github/workflows/alpha.yml | 2 +- README.md | 4 ++++ backend/package.json | 2 +- backend/src/db/actions/sessions.ts | 4 ++-- docs/package.json | 2 +- frontend/package.json | 2 +- integration/package.json | 2 +- package.json | 2 +- 8 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index 468e57015..118f9c8c7 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -2,7 +2,7 @@ name: 'Alpha Build' on: push: - branches: [v4160/german] + branches: [v4162/emergency-fix] jobs: build: diff --git a/README.md b/README.md index 72d1279cd..37b25abd9 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,10 @@ This will run a demo version, which you can turn into a fully licenced version b ## Versions History +### Version 4.16.2 + +- Fixed a bug where sessions a user participated in did not show up on their homepage. (👏 Thanks a bunch to Frank Becker for reporting the issue and helping find the problem) + ### Version 4.16.1 - Fixed a bug where sessions could not be deleted when there was any chat messages (👏 Thanks Florin Bicher for the report) diff --git a/backend/package.json b/backend/package.json index 75ef0d75e..70deac3ed 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "@retrospected/backend", - "version": "4.16.1", + "version": "4.16.2", "license": "GNU GPLv3", "private": true, "scripts": { diff --git a/backend/src/db/actions/sessions.ts b/backend/src/db/actions/sessions.ts index 5f9bf0610..eb89e4f0b 100644 --- a/backend/src/db/actions/sessions.ts +++ b/backend/src/db/actions/sessions.ts @@ -264,7 +264,7 @@ export async function previousSessions( userId: string ): Promise { return await transaction(async (manager) => { - const sessionsAsVisitors: { sessionsId: string }[] = await manager.query( + const sessionsAsVisitors: { sessions_id: string }[] = await manager.query( ` select distinct v.sessions_id from visitors v where v.users_id = $1 @@ -281,7 +281,7 @@ export async function previousSessions( ); const ids = uniq([ - ...sessionsAsVisitors.map((s) => s.sessionsId), + ...sessionsAsVisitors.map((s) => s.sessions_id), ...sessionsAsOwner.map((s) => s.id), ]); diff --git a/docs/package.json b/docs/package.json index 98cbed999..44dfae481 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "docs", - "version": "4.16.1", + "version": "4.16.2", "private": true, "scripts": { "docusaurus": "docusaurus", diff --git a/frontend/package.json b/frontend/package.json index 4d16251c4..ed5420666 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "@retrospected/frontend", - "version": "4.16.1", + "version": "4.16.2", "license": "GNU GPLv3", "private": true, "dependencies": { diff --git a/integration/package.json b/integration/package.json index 2abeadb9e..ea86d1f5c 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "retro-board-integration", - "version": "4.16.1", + "version": "4.16.2", "description": "Integrations tests", "main": "index.js", "directories": { diff --git a/package.json b/package.json index f3b31bbdc..02ddbd2fa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "retrospected", - "version": "4.16.1", + "version": "4.16.2", "description": "An agile retrospective board - Powering www.retrospected.com", "private": true, "scripts": {