Skip to content

v0.36.2

Latest

Choose a tag to compare

@howznguyen howznguyen released this 25 Nov 13:23
8e296e8

Knowns 0.36.2 fixes what people hit after 0.36.1: the web UI closing by itself, the Activity tray filling up with old failures, batch archive failing with business_denied, and search errors after moving a project folder.

Highlights

  • Keep the web UI running. knowns browser --keep-alive, or KNOWNS_UI_IDLE_MS=0, keeps a detached web UI up until you run knowns browser --stop. Without it the UI still closes after a while with no tab open, and the startup line now says exactly when (in seconds under a minute).
  • Updates take over the old UI. After an update, knowns browser stops the older version's web UI for the same project and serves on the same port, instead of opening a second one next to it. --stop also reaches a UI served by an older version.
  • "Knowns was updated" notice. An open web UI tab that reconnects to a newer server shows a small notice with a Reload button, so you are not left running the old UI against the new server.
  • A calmer Activity tray. It shows the project you are viewing by default, with an "All projects" toggle that labels each row. Failures older than 24 hours, or followed by a later success of the same job, are hidden. There is a "Dismiss all" button, and dismissals are kept across restarts.

Fixes

  • Dismiss, Cancel and Retry now work for runtime jobs in the Activity tray (the job id reached the server undecoded and returned 404), and dismissing works with no event stream open.
  • Batch archive sends only the tasks that can be archived. When none can, it says "Nothing to archive" instead of failing with business_denied, and Run again re-checks the list before sending.
  • A project that was moved to another folder reports one search error with the command to fix it (knowns search index --wait), instead of a new permanent failure on every change. Rebuilding the index clears the old errors, and the old folder's search data is cleaned up once it is safe.
  • A copied project no longer deletes the original project's search data when the copy rebuilds its index.

Upgrading

  • Run knowns update, or npm i -g knowns@latest, or brew upgrade knowns.
  • Run knowns browser once after upgrading so the new version takes over the web UI, then reload any open tab.