From 2c7009a9d7e45d7f6ec7faf7cdcd006a630b3ab4 Mon Sep 17 00:00:00 2001 From: Duarte Santos Date: Sat, 5 Sep 2026 14:28:12 +0200 Subject: [PATCH] v1.3.3 --- CHANGELOG.md | 59 +++++++++++++++++++++++++++++++ api/openapi.yaml | 2 +- api/package-lock.json | 4 +-- api/package.json | 2 +- frontend/android/app/build.gradle | 4 +-- frontend/package-lock.json | 4 +-- frontend/package.json | 2 +- website/api.html | 4 +-- 8 files changed, 70 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dde2037..540e018 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,64 @@ # Changelog +## v1.3.3 — 2026-09-05 + +The workout screen gets out of the way, and the bug round from the board. Same day as v1.3.2 on +purpose: that one is the contributors' batch, this one is the redesign and the fixes on top of it. +Self-hosters need the new web bundle and images; the API is unchanged. This is the release to +install on Android — it is the first APK that can update itself. + +### The workout screen + +- ⋯ **One menu per exercise.** Note, details, progression settings, bar weight, add a warm-up set, + make a superset with the previous or next exercise, swap, move up, move down, remove — all behind + one button next to the exercise name, acting on exactly that exercise, also inside a superset. The + rows of buttons that used to sit in the header, under the sets and under the card are gone; a + pencil still appears once an exercise has a note. (issue #20) +- 🔢 **The set number is the set's menu**: drop set, rest-pause burst, remove this set. No more + "+ Drop / + Burst" chips on every row and no per-row X on warm-ups. +- 📌 **List view keeps the header pinned** — name, clock, set counter, discard and finish stay at the + top while the session scrolls. +- 🎛️ **Settings → During a workout → Workout controls.** Four switches bring any of the old groups + back: weight and reps +/− buttons (off: tap the number and type it), drop/burst shortcuts on every + set, superset buttons in the header, move/swap/remove buttons below the exercise. Existing profiles + read as the lean default. +- 🌈 **Colour-coded RIR / RPE.** An unrated set shows one "RIR" (or "RPE") button; tapping it opens + a picker with six levels, each with a sentence — "Nothing left, went to failure" through "Easy, + warm-up territory" — and a field for an exact value. A logged rating tints its cell by how close + to failure it was, the same colour whether you think in RIR or RPE; the +/− on it follow the + Workout-controls switch. (ErrorUsernameAlreadyTaken, !91 — issue #32) +- 📖 **History without leaving the workout.** ⋯ → History: a line of your best set (or estimated + 1RM, longest hold, minutes) over time and the last ten sessions with every set, the volume and a + PR marker. Also reachable from an exercise's details in the library. (issue #43) +- ▶️ On the workout screen the centre tab button reads "Workout" and stays lit instead of an idle + "Resume"; Resume from anywhere else returns to the exercise you marked, which no longer moves on + its own. (issues #29, #21) + +### Planning and library + +- ⭐ **Favourite exercises.** Star an exercise in its details; favourites sort first in the picker, + the library and the muscle explorer, and the picker gets a Favourites chip. (issue #6) +- ⚖️ **Switching kg ↔ lb converts your numbers** — or keeps them and only changes the label, your + choice in a sheet: logged sets and drops, working weights, routine targets and increments, warm-up + configs, body weight, goal and bar weights; lb rounded to 0.5, kg to 0.25. (issue #22) +- 🪢 **Resistance bands count as bodyweight equipment**: one reps stepper and the reps-then-sets + progression, unless you switch Bodyweight off for that exercise. (issue #39) +- 🔥 Warm-up ramps snap to the exercise's own increment (1.25 kg plates) instead of the unit default. +- 📄 Copying a copy of a routine gives "Name (Copy 2)"; the swap picker's "+" quick-adds like every + other picker; a weekday whose routine no longer exists no longer triggers the starter-plan prompt. + +### Android + +- 🔄 **In-app update.** Settings → Data shows "openGym vX available" when a newer release exists; one + tap downloads the signed APK, verifies its SHA-256 against the published checksum and opens the + installer. No checksum, no install. Needs the "install unknown apps" permission the first time. + (ErrorUsernameAlreadyTaken, !40 — issues #38, #9) +- 🧠 **Saving the Coach with your own API key** no longer hangs on a greyed-out button: the mode is + written before the key, the secure store gets a timeout, and every failure says what went wrong + in a toast. (issue #42) +- 🔢 The APK carries version code 17 (v1.3.2: 16). Two releases had reused 15; the update check + compares the version name, so nothing changes for you, but Android's own "newer" check is honest again. + ## v1.3.2 — 2026-09-05 Seventeen community merge requests from twelve contributors, each read, rebased onto a staging diff --git a/api/openapi.yaml b/api/openapi.yaml index d3db779..17841b8 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -6,7 +6,7 @@ openapi: 3.1.0 info: title: openGym API - version: 1.3.2 + version: 1.3.3 summary: Passkey (WebAuthn) auth + per-user state storage for openGym description: | The backend of [openGym](https://opengym.duarte-santos.ch) — a free, open-source diff --git a/api/package-lock.json b/api/package-lock.json index e32344a..462f251 100644 --- a/api/package-lock.json +++ b/api/package-lock.json @@ -1,12 +1,12 @@ { "name": "gym-api", - "version": "1.3.2", + "version": "1.3.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "gym-api", - "version": "1.3.2", + "version": "1.3.3", "license": "AGPL-3.0-or-later", "dependencies": { "@simplewebauthn/server": "^13.1.1", diff --git a/api/package.json b/api/package.json index b25ce93..ea269f7 100644 --- a/api/package.json +++ b/api/package.json @@ -1,6 +1,6 @@ { "name": "gym-api", - "version": "1.3.2", + "version": "1.3.3", "private": true, "type": "module", "main": "server.js", diff --git a/frontend/android/app/build.gradle b/frontend/android/app/build.gradle index fb1f3c7..3882d10 100644 --- a/frontend/android/app/build.gradle +++ b/frontend/android/app/build.gradle @@ -7,8 +7,8 @@ android { applicationId "ch.duartesantos.opengym" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 16 - versionName "1.3.2" + versionCode 17 + versionName "1.3.3" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" aaptOptions { // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 72e41b2..e3d6ae5 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "opengym-frontend", - "version": "1.3.2", + "version": "1.3.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "opengym-frontend", - "version": "1.3.2", + "version": "1.3.3", "license": "AGPL-3.0-or-later", "dependencies": { "@aparajita/capacitor-secure-storage": "^7.1.6", diff --git a/frontend/package.json b/frontend/package.json index b282830..b05ec24 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "opengym-frontend", "private": true, - "version": "1.3.2", + "version": "1.3.3", "type": "module", "scripts": { "dev": "vite", diff --git a/website/api.html b/website/api.html index 9e01ae3..3a8a7b3 100644 --- a/website/api.html +++ b/website/api.html @@ -1,6 +1,6 @@ @@ -232,7 +232,7 @@ main.api-main .lead { color: var(--fg-2); max-width: 58ch; margin: 14px 0 0; fon

OpenAPI 3.1.0 - openGym v1.3.2 + openGym v1.3.3 28 endpoints AGPL-3.0-or-later