Repository navigation
v2.71.1
Self-hosted ZenNotes server 2.71.1 with the pinned browser artifact web-2.71.0-web.h61d3d46948495489 (built from ZenNotes/zennotes ae288166, desktop main with ZenNotes/zennotes#959: the same D2 fix the iPhone app 1.27.0 carries in core 2.71.1).
What changed for self-hosters:
- D2 diagrams draw in Safari. In 2.71.0, every
```d2fence showed "D2 error: undefined is not an object (evaluating 'd2.compile')" in Safari and every other WebKit browser, which includes every browser on iPhone and iPad. D2's compiler overflowed the smaller stack WebKit gives a worker while it started. The browser app now asks the worker for its version first and, when it cannot answer, runs the compiler on the page instead. Chromium browsers (Chrome, Edge) keep the worker, so nothing changes there. In Safari a large diagram can hold the tab for a moment while it compiles. - No header changed: the server's Content-Security-Policy (
script-src 'self' 'unsafe-eval') already allows the fallback, which fetches and imports nothing.
Nothing else moved. The server's Go code is the same as 2.71.0, the browser app differs from 2.71.0's only by this fix (and its core version string), and no Go dependency moved. The desktop app stays at 2.71.0: its Chromium keeps the worker.
Verification before publication: prepare-web installed the artifact archive into a clean web/dist and verified every file (582), and its SHA-256 matches its provenance and GitHub's digest; go vet, go test ./... and go test -tags=embed_web ./... pass; a server built like the release, with a scratch config and vault, reported v2.71.1, served the app, answered 401 without the token and generated the 22-note tour. In a WKWebView (WebKit, as Safari), the tour's 05c D2 Diagrams drew all five diagrams in Preview and in Edit, with no diagram error, no Content-Security-Policy violation and no script error, and 05 Mermaid Diagrams drew its six; the released 2.71.0 server fails all five on the same page with the error above. Headless Chrome draws the same five through its worker. CI passed on #34. Every released binary matches SHA256SUMS, and the manifest asset is the committed pin byte for byte; with a scratch config and vault, the released darwin-arm64 binary reported v2.71.1, served the app, answered 401 without the token, generated the tour, listed its 69 tasks, served the D2 and Pele chunks byte for byte as pinned, and drew all five D2 diagrams in WebKit and in Chrome.
Docker: adibhanna/zennotes:2.71.1, 2.71 and latest are published from this tag by the repository's Docker publisher (linux/amd64 and linux/arm64, one digest).