v1.1.1
Urthreads v1.1.1
This release improves setup safety, environment syncing, dashboard installation, cleanup behavior, and CLI polish.
Highlights
- Added hosted dashboard build/update commands:
urthreads dashboard set <local-path> <endpoint>urthreads dashboard buildurthreads dashboard update
- Dashboard builds now remember
DASHBOARD_LOCAL_PATHandDASHBOARD_ENDPOINTin.env. dashboard buildprompts for missing path settings and asks before creating a missing output path.- Cleanup now removes copied dashboard files, while preserving directories and unrelated site files.
- Allowed origins now sync more safely between
.envandwrangler.toml. admin-sessionnow updates both.envandwrangler.toml, then offers to deploy.clean-allnow cancels fully if Worker or D1 deletion is cancelled, and prints commands for finishing cleanup later.- Removed test-only CLI commands for manually creating/updating comments and forcing like counts.
Setup And Environment
urthreads env add-originnow preserves existing origins across.envandwrangler.toml.- Origins can be added to staging and production together:
urthreads env add-origin https://example.com --staging --production- Setup defaults allowed origins to localhost-only values for extra safety.
- Shared values such as Worker URL, Worker name, D1 values, admin session TTL, and runtime settings sync to wrangler.toml when applicable.
Dashboard
You can now install the dashboard into a static site output directory directly from the CLI:
urthreads dashboard set ./public urthreadsRefresh that same dashboard after package updates:
urthreads dashboard buildIf no saved dashboard path exists, dashboard build prompts for one and saves it. If the output path does not exist, the CLI asks before creating it.
Cleanup
Back-out commands now include copied dashboard files in cleanup:
urthreads clean
urthreads clean-allDashboard cleanup removes only known urthreads dashboard files and copied urthreads assets. It does not remove dashboard directories, asset directories, or unrelated site files.
CLI Cleanup
Removed test-only commands from the public CLI:
- set-like
- increment-like
- create-comment
- update-comment
Public comment creation through the browser client and Worker API is unchanged.
Validation
Validated with:
npm run check
npm test