Fixes the deploy blocker found deploying v0.1.0 to cloud-vm-1: the vendored gridjs.umd.js ended with a //# sourceMappingURL=gridjs.umd.js.map trailer, but that .map isn't in the repo. The strict CompressedManifestStaticFilesStorage backend follows the reference and raises MissingFileError, aborting the entrypoint's collectstatic so the container never served. Stripped the debug-only trailer (no runtime effect); collectstatic now succeeds from a pristine checkout (169 copied, 481 post-processed). Also rolls up this release's already-committed work: GET /api/skill and the location-agnostic posting-skill rewrite. - Bump __version__ to 0.1.1. - Runbook: note that a post-build crash-loop is most likely a collectstatic MissingFileError (check docker logs), and how to clear on-server tracked drift before checking out a tag. - CHANGELOG: 0.1.1 entry. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2.8 KiB
2.8 KiB
Changelog
All notable changes to Daybook are recorded here. Format loosely follows
Keep a Changelog; versions are SemVer and match
the git tags (vX.Y.Z) and daybook_project.__version__.
Unreleased
Nothing yet.
0.1.1 — 2026-09-03
Fixed
- Deployment crash-loop: the vendored
gridjs.umd.jsreferenced agridjs.umd.js.mapsourcemap that isn't in the repo, socollectstatic(strict manifest storage) failed on container start and v0.1.0 never came up. Removed the dangling sourcemap trailer (debug-only, no runtime effect).
Added
GET /api/skillserves the bundled agent-posting skill as Markdown (or?format=json), withDAYBOOK_URLpre-filled to the instance's own origin so the instructions are ready to hand to an AI. Advertised asskill_urlin/api/capabilities.
Changed
- Rewrote the posting skill (
skills/daybook-posting/SKILL.md) to be location-agnostic: no longer assumes a local source checkout, reframesDAYBOOK_URLas set-your-instance, and adds a rawcurlfallback.
0.1.0 — 2026-09-03
First tagged release.
Artifacts & rendering
- Artifact kinds:
markdown,html_fragment,html_full,deck,json,csv,image,pdf,binary. .xlsxuploads convert server-side to acsvartifact (active sheet, saved formula results).- Markdown code blocks get syntax highlighting; tables (markdown & html_fragment) render styled — monospace cells, sans-serif headers.
json/csvrender as an interactive collapsible tree / sortable table (Grid.js + renderjson, vendored locally).- Unified off-white document background; system sans-serif body text.
API
POST/GET/PATCH/DELETE /api/artifacts, list filters (source/label/day/ kind/q),/api/assetsimage upload,/api/capabilities(reportsversion). Per-user bearer-token ingest; session-authed reads.- Server-side validation: per-kind content shape, field length limits,
string-typed source fields, valid-JSON for
json.
Sharing, quotas, security
- Per-artifact public share links (
/s/{token}), owner-toggled, revocable. - Per-user disk quotas with oldest-unkept auto-eviction and a Keep flag.
- Allowlist HTML sanitization (nh3) +
script-src 'none'CSP for the themed kinds; deep-JSON parse errors return 400 (not 500).
UI
- Multi-user auth; feed with source sidebar + label filtering; settings area (Account, Storage, Demo Data, Users, About); light/dark toggle; app icon.
Deployment
- Dockerised (Gunicorn + whitenoise), SQLite,
git-based deploy with a runbook (deploy/cloud_agent_deploy.md) and health check.