Published May 7, 2026
| Version v0.25.5
Software
Open
chain simple forms / surveys into longer runs using the power of R to generate pretty feedback and complex designs https://formr.org
Authors/Creators
- 1. Wilhelm Wundt Institute of Psychology, University of Leipzig
- 2. Georg Elias Müller Institute of Psychology, University of Goettingen
Description
Fixes
- iOS standalone PWAs: tapping a push notification now reloads the open PWA. The previous iOS-specific reload technique (
window.focus(); window.location.href = window.location.href) was a no-op —window.focus()outside a user gesture is dropped, and assigninglocation.hrefto a byte-identical URL gets optimised away. Replaced withwindow.location.reload(). - Stuck
handling-reloadflag inPWAInstaller.jsis now self-recovering. The flag was only cleared inDOMContentLoaded, so any reload that didn't make it that far (BFCache transition, navigation cancelled, hidden-tab throttling, browser crash mid-reload) left it sticky and silently dropped every subsequentNOTIFICATION_CLICK/STATE_INVALIDATEDmessage. Now storesDate.now()and is treated as stale after 10 s.
Service-worker upgrade plumbing
sw_versionbump tov7. Required so installed PWAs actually pick up the fix above.installcallsself.skipWaiting()so asw_versionbump activates immediately.activatedeletes everyformr-*cache that isn't the currentCACHE_NAMEand broadcastsSTATE_INVALIDATEDto claimed clients so pages running pre-fixPWAInstaller.jsreload themselves.fetchscopescaches.match()toCACHE_NAME(defence-in-depth).pwa-register.jscallsregistration.update()on every page load when an existing registration is found, so futuresw_versionbumps reach iOS Safari standalone PWAs without relying on the browser's lazy 24 h check.
Tests
tests/e2e/pwa-notification-reload.spec.jspins the page-side reload contract on both local-chromium and BrowserStack iPhone 15 Pro Max iOS 17 (npm run test:bs -- pwa-notification-reload).npm run test:bsnow sources../.env.devso BS credentials reach the SDK without manualexport. New top-levelbrowserstack.yml(single-platform iOS target).
See CHANGELOG.md for the full v0.25.5 entry.
PR: #673
Files
rubenarslan/formr.org-v0.25.5.zip
Files
(10.5 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:0ccc2af40b02ddb94e155b03ca7c2709
|
10.5 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/rubenarslan/formr.org/tree/v0.25.5 (URL)
Software
- Repository URL
- https://github.com/rubenarslan/formr.org