Skip to content

v2.0.1

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 23:56
v2.0.1
3b91598

Added

  • macOS desktop build: CI (Desktop and Release workflows) now verifies the ad-hoc signature of every packaged OpenSonicX.app (scripts/verify-mac-signature.sh: codesign --verify --deep --strict --verbose=2 plus Signature=adhoc), so a broken signature fails the build instead of showing "OpenSonicX is damaged" to users. No certificate or notarization involved (mac.identity: "-", hardened runtime off, NSBluetoothAlwaysUsageDescription already set). New "Opening the app on macOS the first time" section in README, README.pt-BR and docs/desktop.md, and the same text is appended to the GitHub release notes by the Release workflow.
  • Pocket Master and Smart Box: a silently dead connection is now noticed. While the link is idle (no request, queued edit, upload, preset operation, backup or restore running) the core link sends the read-only current-preset query (12 43, the one the editor already uses to read the selected preset) every 5 s; after 2 unanswered probes in a row (each already retried by the link) the editor closes the connection and shows "The pedal stopped answering" (PT-BR too) instead of hanging. Over Bluetooth it then looks again for a plugged-in USB pedal, as after a Bluetooth drop; over USB a dead port is reopened only by a plug, as after an unplug. New link.startHeartbeat(onDead, canProbe); close() stops the timer. No new frame: nothing but the existing read query is sent. The Matribox II Pro has no such probe (its editor does not use this link and USB only), so it keeps relying on the USB unplug event. Tests: core unit tests with fake timers on the fake transport (no probe before the interval or while a request is in flight or the editor is busy, a healthy reply resets the miss counter, 2 misses call onDead exactly once and stop probing, close() clears the timer).

Changed

  • Docs: README, README.pt-BR and docs/features.md list the tested firmware per pedal (Pocket Master V1.3.3, Smart Box V1.0.6, Matribox II Pro V1.2.2, confirmed on the unit), and docs/smart-box.md open question 6 records the owner's Bluetooth findings (2026-12-04): same answers as USB, 40-90 ms replies, one unreproduced silent link; the Bluetooth MIDI name stays open.
  • Start screen copy ("Plug in your pedal" / "Conecte sua pedaleira"): it now names the Smart Box next to the Pocket Master and the Matribox II Pro, lists the tested firmware per pedal (Pocket Master V1.3.3, Smart Box V1.0.6, Matribox II Pro V1.2.2) instead of one version for all, and says Bluetooth is for the Pocket Master and Smart Box (the Matribox II Pro is USB only). EN and PT-BR kept in sync.
  • README: the downloads badge shows the exact count (for example 1,017) instead of Shields' rounded "1k". It is now a Shields endpoint badge fed by downloads.json, which the Pages workflow writes into the site (sum of download_count over all release assets, read with the workflow's own GITHUB_TOKEN). The Pages workflow also runs daily and on every published release, so the number stays fresh with no commits to main. The badge goes live after the workflow's first run on main.

Fixed

  • Desktop app: the window is explicitly resizable, maximizable and full-screen capable on macOS, Windows and Linux (resizable, maximizable, fullscreenable set; no max size or aspect ratio; the 360x600 minimum stays), and the app now sets its own menu (File or app menu, Edit, View with Toggle Full Screen, Window) instead of relying on Electron's default.
  • Desktop app: the app name is "OpenSonicX" everywhere. app.setName('OpenSonicX') runs first in main, so the macOS menu (About, Hide, Quit), the About panel, Dock, notifications and (via setAppUserModelId, the unchanged appId io.github.fgbona.pocketmastereditor) the Windows taskbar no longer show the npm package name @pocket-master/desktop. The user data folder stays pinned to Pocket Master Editor (backups, settings and the API key are not moved or orphaned); the path and the appId now live in apps/desktop/src/app-identity.ts with a unit test.
  • Bluetooth: switching the pedal off (or any BLE drop) now returns to the start screen, like unplugging USB. The gattserverdisconnected handler only closed the link and left the preset, edit buffer, names and history in state, so the editor stayed on screen as stale data; it now goes through the shared drop(), which also covers the heartbeat's dead-link path. The "The pedal disconnected from Bluetooth." banner still shows on the start screen. Test: e2e with the simulated pedal (__bleDrop).
  • E2E (Organize, Pocket Master and Matribox II Pro): the "a write that fails" specs waited only Playwright's default 5 s for the stop message, while the flow (two slots loaded, saved and read back, then the name checks of the failed save) takes about 3.7 s on an idle machine and over 5 s on a slow CI runner. They now wait up to 30 s, like the successful Organize specs. No product change: the simulated save failure never reaches the link's chunk retry, and no heartbeat probe is sent during Organize (it runs as a busy operation).
  • Pocket Master and Smart Box: with the app in Portuguese, a query the pedal never answered showed its error in English ("The pedal did not answer query 12 40 after 3 tries."), seen on the Smart Box over Bluetooth when Read and the Global options settings read both went unanswered. The message now goes through i18n like the other connection errors (PT-BR "A pedaleira não respondeu à consulta 12 40 depois de 3 tentativas."), keeping the query code and the try count. Nothing sent to the pedal changes. Diagnosis: the link sends one query at a time (the idle heartbeat of #354 goes through the same queue), so a late 12 43 cannot answer 12 40 or 12 10; both unanswered means the unit (or its Bluetooth link) stopped answering. Tests: the exact text the core link throws for an unanswered 12 40, translated in EN and PT.
  • Pocket Master and Smart Box: an IR or capture upload chunk the pedal refuses (14 08 01) is now sent again, up to 3 tries, instead of stopping the whole upload at once. A chunk with no acknowledge was already resent (up to 10 tries). Only the failed chunk's identical frame is resent, never an earlier one; after the last try the error names the chunk ("refused chunk 3 of 36 3 times"). Frame bytes are unchanged. The Matribox II Pro upload has a single acknowledge for the whole message, so it is not affected. Tests: core link tests on a fake transport (refused once, timeout once, refused every time).
  • Editor header: the gear (Global options) now toggles the bottom dock. A click while the dock is open on Global & EQ folds it, as "Fold the dock" does; with the dock folded or on another tab it opens Global & EQ as before. The gear carries aria-expanded (and aria-controls), keeps its label, and stays focused. The logic sits in the shared PresetActions button (new optionsOpen prop) and the Pocket Master, Smart Box and Matribox editors pass it. Test: e2e on the Matribox editor.

Opening the app on macOS the first time

The macOS app is not signed with a paid Apple Developer ID; it is open source and built by GitHub Actions from this repository, so macOS blocks it the first time.

  1. Open the app once; macOS blocks it.
  2. Right away, open System Settings > Privacy & Security and scroll to the bottom: the OpenSonicX notice shows there for a short while, with an "Open Anyway" button. Click it and confirm.
  3. Or run xattr -dr com.apple.quarantine /Applications/OpenSonicX.app in Terminal.