Speakr v0.11.4
Trimming a recording
- The timeline of the segment editor has a trim mode. You can set the part to keep with the handles on the waveform or the two time fields, play it with Preview, and then trim. The audio and the transcript are cut together, and the summary can be regenerated in the same step. (#660)
Offline recording
- On the offline recording page, the microphone, system audio, or both can be recorded, as in the app. The chosen source is the same on both pages, and the recording is stopped and saved when the screen share is ended from the browser. (#697)
Language models in the admin panel
- Text, chat and translation models can be added, tested and assigned in System settings, under Language models, without a restart. When no model is assigned to a role, the environment configuration is used (
TEXT_MODEL_*,CHAT_MODEL_*,TRANSLATION_MODEL_*). (#661, by @devkit415) - Stored API keys can be replaced or removed but are never shown again. They are kept in the database, and so in its backups.
Summaries and processing
- The automatic summary is generated as a separate job on the summary workers. The transcript can be read while the summary is generated, and the recording is no longer marked as failed when the summary fails. (D#663)
- The
recording.transcription.completedwebhook and the completion email are sent once the summary is done. When the summary fails,recording.summary.failedis sent first. - The database connection pool can be sized with
DB_POOL_SIZE,DB_MAX_OVERFLOWandDB_POOL_TIMEOUT, and the 30-second stalls under concurrent load are fixed. (#667) - Several job queue errors are fixed: errors when the id of a deleted job was reused, when a recording was deleted while its job started or failed, or when a recording had no owner, and a repeated transcription after a database timeout in the summary step. (#675, #681, #683, #684)
Ask Ambrose
- Recording content and the conversation history from the browser are marked as data in the prompt, to guard against instructions hidden in a recording. (#669, #671)
- In transcript search results, each recording is listed once, with up to three matches. (#679)
- A blank question, a question with a NUL character, and a search query of the wrong type are refused. (#668, #670, #673)
API
GET /api/v1/recordingsreturns an ETag, and304 Not Modifiedis returned for a request withIf-None-Matchwhen the page has not changed. (D#662)- A write with an invalid API token is answered with a 401 Unauthorized error instead of a CSRF error. (#672)
- Rate limits are counted per worker unless
RATELIMIT_STORAGE_URIis set. A warning is logged at startup in that case. (#678) - Malformed ids, lists, flags such as
"false", speaker and tag names, and request bodies that are not objects are answered with a 400 Bad Request error and a message, in place of a server error. (#664, #665, #666, #674, #676, #677, #680, #682, #687)
Fixes
- Public links appear in the share dialog only when public sharing is on, and the dialog can be opened without an error when internal sharing is off. (#685)
- After a click on the edit button of the title, the cursor is placed in the title field, on desktop and phone. (#686)
Upgrade
Pull the new image and start as usual.