diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ce6be1..dde2037 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,76 @@ # Changelog +## v1.3.2 โ€” 2026-09-05 + +Seventeen community merge requests from twelve contributors, each read, rebased onto a staging +instance and put through a tester round before landing, plus the fixes that round turned up. The +web bundle and the images change; the API only gains the Coach schema tightening. The Android APK +ships with a real version code again (16 โ€” the last two releases had reused 15). + +### Active workout + +- ๐Ÿ“‹ **List view.** Settings โ†’ During a workout โ†’ Workout view: Cards (as before) or List, the + whole session stacked and scrollable, the current exercise outlined, "Set current" to move the + marker, supersets grouped with their own Unpair. (dpatrongomez, !96 โ€” issues #28, #44, #50) +- โš–๏ธ **The working weight is captured, not asked.** Finishing an exercise no longer opens the + "confirm your working weight" sheet: the heaviest completed work set becomes the working weight, + for both members of a superset, and the current marker stays where you are until you press Next. + Working weights are stored when the workout is finished, so a typo corrected before that, or a + discarded session, never becomes your "Best". (mflova, !92 โ€” issue #18) +- ๐Ÿ”ข **One tap, one step โ€” in supersets too.** The +/โˆ’ on weight, reps and RIR moved two steps + per tap on the second member of a superset. (ErrorUsernameAlreadyTaken, !97 โ€” issue #41) +- โž• **The weight stepper uses the exercise's own increment** (1.25 kg plates, 5 lb, whatever you + set), with progression's rounding, on set rows and drop-set rows; timed sets keep their seconds. + A value off the increment grid steps by exactly one increment rather than snapping. (mflova, !84) +- ๐ŸŽฏ **Routines with progression off keep their targets.** The same exercise as 2ร—15 in one routine + and 4ร—8 in another no longer opens the second with the first's reps โ€” also when adding or swapping + an exercise mid-session and when saving the progression sheet. (mflova, !71) +- ๐Ÿ“‰ **No deload spiral.** A weight change starts a new stall streak, so one bad day at the lighter + weight after a deload cannot trigger the next one. (arhx91, !93) +- ๐Ÿ›ก๏ธ **The progression sheet cannot save into the wrong exercise** after the list shifted under it + or the workout was replaced. (Space-Hermes, !77) +- โฑ๏ธ **Timer flash blinks the theme** instead of a black/white overlay and settles back on your + theme. A timer that ended while the app was in the background no longer replays the beep and + flash when you come back; a quiet toast still says the rest is over. (mzspicoli, !89) + +### Planning and library + +- โœจ **Four starter plans.** Home, Plan and Settings โ†’ Load starter plan open a chooser: Push/Pull/Legs, + Upper/Lower, Full Body, 5ร—5. Free weekdays load at once, occupied ones ask first; existing + routines are never touched. (lordlukem, !94) +- ๐Ÿ’ช **Muscle explorer.** Library โ†’ "By muscle" (and "By muscle" inside Add exercise): tap a muscle + on the body map or its chip, filter by search, body part and equipment, open details or plan it. + Follows your equipment profile like the library does. (prasad_gade05, !87) +- ๐Ÿ“„ **Copy routine** at the bottom of the routine editor. (ErrorUsernameAlreadyTaken, !85) +- โž• **The "+" in the exercise picker adds immediately** with the default config (freestyle: last + session's) and says so in a toast; tapping the row still opens the config sheet. (surohsusej, !72) +- ๐Ÿ“ Stats โ†’ Exercise progress: long exercise names use the full width. (mflova, !80) + +### MCP and Coach + +- ๐Ÿ” **`preview_session`** โ€” a ninth MCP tool: what a routine will actually open with after the + progression policy, the confirmed weight and history have had their say, with the source of every + number and a list of exercises where plan and screen disagree. Built on the app's own session + builder, so progression-off and deload routines preview exactly what the screen shows. + (koyosan, !90) +- โฒ๏ธ `get_routine` reports each exercise's own rest as `rest_sec`. (TheophileDiot, !81 โ€” issue #36) +- ๐Ÿง  The Coach's create schema requires a routine id and a week and caps the arrays, so a small + local model cannot answer with a plan the validator can only reject. (subdee, !99) +- ๐Ÿงช BodyMap tests import the geometry before the first render โ€” no more one-off failures on a + slow runner. (TheophileDiot, !82 โ€” issue #35) + +### Self-hosting and infrastructure + +- ๐Ÿ” **nginx re-resolves the api container per request.** Recreating only `api` (new IP) no longer + leaves `web` answering 502 until it is restarted too. (issue #16) +- ๐Ÿ”’ The published `api` image drops npm and both images take alpine's package fixes at build time; + the image scan reports nothing. +- ๐Ÿ—๏ธ CI: JUnit and coverage in every merge request, a bundle-size diff against main, a compose smoke + test of the pushed images, a Trivy scan with SBOMs attached to the release, a tag preflight + (versions and changelog checked before anything builds), and pipelines for contributors' fork MRs + started automatically for returning contributors. +- ๐Ÿค– Renovate runs again: its configuration had two unknown keys and had stopped opening MRs. (issue #37) + ## v1.3.1 โ€” 2026-09-04 - ๐Ÿ“ฑ **"Use my self-hosted openGym" works on a paired phone.** The phone app never fetched the diff --git a/api/openapi.yaml b/api/openapi.yaml index f6dc0de..d3db779 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -6,7 +6,7 @@ openapi: 3.1.0 info: title: openGym API - version: 1.3.1 + version: 1.3.2 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 1453070..e32344a 100644 --- a/api/package-lock.json +++ b/api/package-lock.json @@ -1,12 +1,12 @@ { "name": "gym-api", - "version": "1.3.1", + "version": "1.3.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "gym-api", - "version": "1.3.1", + "version": "1.3.2", "license": "AGPL-3.0-or-later", "dependencies": { "@simplewebauthn/server": "^13.1.1", diff --git a/api/package.json b/api/package.json index afd1e40..b25ce93 100644 --- a/api/package.json +++ b/api/package.json @@ -1,6 +1,6 @@ { "name": "gym-api", - "version": "1.3.1", + "version": "1.3.2", "private": true, "type": "module", "main": "server.js", diff --git a/frontend/android/app/build.gradle b/frontend/android/app/build.gradle index f477595..fb1f3c7 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 15 - versionName "1.2.14" + versionCode 16 + versionName "1.3.2" 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 3718b2f..72e41b2 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "opengym-frontend", - "version": "1.3.1", + "version": "1.3.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "opengym-frontend", - "version": "1.3.1", + "version": "1.3.2", "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 9a6654f..b282830 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "opengym-frontend", "private": true, - "version": "1.3.1", + "version": "1.3.2", "type": "module", "scripts": { "dev": "vite", diff --git a/website/api.html b/website/api.html index ad0d5d0..9e01ae3 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.1 + openGym v1.3.2 28 endpoints AGPL-3.0-or-later