From 69cefca19e10b1774fdcaf253fd25ec3211a34f4 Mon Sep 17 00:00:00 2001 From: Duarte Santos Date: Tue, 25 Aug 2026 20:02:28 +0200 Subject: [PATCH] release: v1.2.10 Version bumped in both package.json files, the lockfile's self-reference and the Android build (versionCode 10 -> 11, so the APK installs over the last one). Changelog covers everything since v1.2.9 in one entry, per the project's versioning rule. --- CHANGELOG.md | 98 +++++++++++++++++++++++++++++++ api/package.json | 2 +- frontend/android/app/build.gradle | 4 +- frontend/package-lock.json | 4 +- frontend/package.json | 2 +- 5 files changed, 104 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cdf0d81..ba9df62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,103 @@ # Changelog +## v1.2.10 β€” 2026-08-25 + +The first release since the move to GitLab that is mostly **other people's work**. Nine +contributors, thirteen merge requests: Brazilian Portuguese in full β€” interface, all 1,324 +exercise names and all 7,710 instruction steps β€” equipment profiles for people who train in more +than one gym, drop-sets and rest-pause, a way to pair the mobile app with your own server, and a +round of security hardening on the API and the reverse proxy. + +Alongside that, the bugs you reported in #bugs-and-ideas and on the issue tracker, several of +which turned out to be worse than they looked from the outside. + +### Training + +- πŸ”₯ **"Add warm-up set" gave you a warm-up at your full working weight.** It looked for the row + to ramp from at the position *before* the first work set β€” which for the first warm-up is + index βˆ’1, so it fell through to the last row instead: your heaviest set. Every warm-up you + added had to be corrected by hand. Warm-ups now ramp toward the work weight, each one closing + half the remaining gap (50% β†’ 75% β†’ 87.5%), rounded down to what you can actually load. +- πŸ‹οΈ **Warm-ups can be planned in the routine.** Set how many an exercise gets and the session + starts with them already in place, ramped, instead of you adding them every time. They stay + out of volume, records and progression, and they travel with a shared plan. +- ⏱️ **The rest timer skipped the last set of every exercise.** It was written as "final sets + finish quietly", but another exercise follows that set and you rest before it too β€” so a + two-set exercise timed one rest instead of two. It now rests after every completed set except + the last one of the session. (issue #3, and zkssyth arrived at the same rule independently) +- πŸ“ **Notes you can write during a workout**, in three kinds, because they have three different + lifetimes: what happened today, on the exercise; what is always true about the movement (seat + height, pin position); and how the session went as a whole. The per-session note carries a + **pin** β€” the app cannot know whether "shoulder twinged" is a diary line or "go narrower" is a + message to your next self, but you do, at the moment you write it. Pinned notes come back the + next time that exercise comes up. +- πŸ’₯ **Drop-sets and rest-pause / myo-reps**, planned per exercise and extending the set row + itself rather than adding new sets. + +### Equipment, and training in more than one gym + +- πŸŽ’ **Equipment profiles.** Build a "Home" and a "Gym" list of what you actually own, and the + library, the exercise picker and your routines filter to it β€” with a warning on any routine + exercise that needs something the active profile does not have. Body-weight exercises are + always available. + +### Brazilian Portuguese + +- πŸ‡§πŸ‡· **pt-BR is complete**: the interface, every built-in exercise name, and every instruction + step. It is defined as a layer over pt-PT rather than a copy, so a string added to Portuguese + can never silently go missing here β€” with tests that fingerprint every inherited entry and + refuse European vocabulary (*ficheiro*, *telemΓ³vel*, *ecrΓ£*, Β«guillemetsΒ»). +- πŸ”” Server-sent notifications β€” rest-timer alerts, test pushes, workout-day reminders β€” follow + the profile's language instead of always arriving in English. + +### Fixes + +- βœ… **Home kept asking you to do the workout you had just done.** The week strip knew the day was + finished; the row underneath did not, and went on showing the routine behind a green Start tag. + (issue #4) +- πŸ“ˆ **"Exercise progress" was empty for bodyweight exercises.** Pull-ups and push-ups carry no + weight, and every point without one was dropped, so a full history read as "No data yet". When + nothing in an exercise's history was ever loaded, the reps are the progress β€” so that is what + is plotted now. Add a weighted set later and it switches back to weight. (issue #5) +- πŸ«₯ **The tab bar was see-through in Firefox** β€” and only there. The CSS minifier collapses a + `backdrop-filter` / `-webkit-backdrop-filter` pair down to whichever comes last, so the + standard property never reached the build and Firefox got the transparency without the blur. + Fixed for all five blurred surfaces. The bar is also more opaque now (94%, up from 72%) and + blurs less, which is faster on Android, where a blur behind a fixed element is recomposited on + every scroll frame. +- πŸ“₯ **No Smith-machine exercise could ever match on import.** The `machine β†’ lever` rule ran + before `smith machine β†’ smith`, so the generic one ate the word first. Hevy's vocabulary is + now mapped as well, and exercises it cannot match take their body part from the name instead of + defaulting to "upper legs" β€” which had been attributing a third of an imported history to the + legs. (diagnosed by rubik_97, fixed by koyosan) +- πŸ—“οΈ **Charts show the calendar year** when the data spans more than one, so a point from + November 2025 is not confused with February 2026. (mflova) +- πŸ”€ **Exercise search matches whole words in any order**, ignores accents, and searches the + translated names too β€” "bench barbell" finds the barbell bench press, "elevacao" finds + "elevaΓ§Γ£o". The haystack is now built once per exercise instead of on every keystroke. +- πŸ”‘ **Passkeys work in Chrome on iOS**, which was excluded by a user-agent test rather than by + asking the browser what it supports. +- πŸ“± The reps field in a superset is no longer squeezed on narrow phones, and secondary muscles + are visible while building a plan, not only in the Exercises tab. + +### Self-hosting + +- πŸ” **Security hardening on the API and the proxy**: SSRF and an unbounded handler in push + delivery, CSRF from a sibling subdomain, session-cookie shadowing, and non-forgeable proxy + headers. Details in SECURITY.md. +- 🧭 **When a passkey fails, the error now says what is misconfigured.** "Unexpected RP ID hash" + told you nothing about your own `.env`; it now names the `RP_ID` and `ORIGIN` the server is + actually running with. `docs/SELF_HOSTING.md` gained a section that works through the usual + causes in order β€” including that `docker compose restart` does not re-read `.env`, and that on + a LAN without certificates there is nothing you can configure to make passkeys work. +- πŸ“² **"Connect to my server"** pairs the standalone mobile app to a self-hosted instance with a + one-time code, no passkey ceremony needed inside the app's WebView. +- πŸ’Ύ **Optional local auto-backup** on the mobile app after finishing a workout or editing a + routine, and a **System** theme option that follows the OS. + +With thanks to mzspicoli, Josevi, andi242, Space_Hermes, Horus Gonzalez, wagenheimer, koyosan, +mflova and Aaron Sachs β€” and to everyone who reported one of the bugs above. + ## v1.2.9 β€” 2026-08-23 If you run openGym for other people, you have had no way to answer "who signed in, and when?" β€” diff --git a/api/package.json b/api/package.json index a99ce6e..70ae406 100644 --- a/api/package.json +++ b/api/package.json @@ -1,6 +1,6 @@ { "name": "gym-api", - "version": "1.2.9", + "version": "1.2.10", "private": true, "type": "module", "main": "server.js", diff --git a/frontend/android/app/build.gradle b/frontend/android/app/build.gradle index 7ecdd60..3aa718f 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 10 - versionName "1.2.9" + versionCode 11 + versionName "1.2.10" 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 2e19b20..7a84bda 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "opengym-frontend", - "version": "1.2.9", + "version": "1.2.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "opengym-frontend", - "version": "1.2.9", + "version": "1.2.10", "license": "AGPL-3.0-or-later", "dependencies": { "@capacitor/app": "^7.1.2", diff --git a/frontend/package.json b/frontend/package.json index 1c02323..c70aa77 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "opengym-frontend", "private": true, - "version": "1.2.9", + "version": "1.2.10", "type": "module", "scripts": { "dev": "vite",