Skip to content

v0.1.0-rc.2

Pre-release
Pre-release

Choose a tag to compare

@Cloudwhile Cloudwhile released this 20 Nov 13:46
· 20 commits to main since this release
v0.1.0-rc.2
e30ff7d

Note

Pre-release (v0.1.0-rc.2) — Second release candidate of IceHandnote, adding one-command Docker persistence & admin bootstrap, fixing Simplified Chinese typography, HTTP clipboard copying, and full-width code cards.

Added

  • Docker Persistence & Entrypoint (DATA_DIR & CONTENT_DIR):
    • Standardized /app/data (store.json) and /app/content volumes with docker-entrypoint.sh (gosu privilege drop, automatic host bind-mount ownership handling, and automatic starter notebook seeding when /app/content is empty).
  • Startup Admin Account Bootstrap:
    • Configure ADMIN_USERNAME, ADMIN_PASSWORD, ADMIN_EMAIL, and ADMIN_DISPLAY_NAME on icehandnote-api startup for both built-in local storage and PostgreSQL.
    • When ADMIN_PASSWORD is omitted on first boot (zero existing admins), an initial password is automatically generated, persisted, and printed in docker logs.
    • icehandnote-cli create-admin now also supports standalone local storage (DATA_DIR).

Fixed

  • Simplified & Traditional Chinese Typography: Isolated CJK font stacks per locale, loaded LXGW WenKai Screen (GB standard strokes), removed Japanese-only Klee One and unhinted KaiTi fallbacks from Chinese pages, and scoped font-size-adjust: from-font to English pages.
  • Clipboard Copy over Plain HTTP: Added synchronous selection copy fallback when navigator.clipboard is unavailable on non-HTTPS origins (http://<ip>:<port>), plus an accessible role="status" live region.
  • Full-Width Reader Code Cards & Blocks: Removed inner 65ch caps and unconditional 220px right-margin column reservation on blocks without margin sticky notes.
  • Instant GHCR Version Badge: Recorded published GHCR versions via GitHub Deployments API (cacheSeconds=60) with automatic GitHub Camo cache purge in CI.

Quick Deploy (Docker)

docker run -d \
  --name icehandnote \
  --restart unless-stopped \
  -p 3001:3001 \
  -v $(pwd)/data:/app/data \
  -v $(pwd)/content:/app/content \
  -e ADMIN_USERNAME=admin \
  -e ADMIN_PASSWORD=ChangeMe_StrongPassword \
  -e DEFAULT_LOCALE=zh-CN \
  ghcr.io/cloudwhile/icehandnote:v0.1.0-rc.2

Full Changelog: v0.1.0-rc.1...v0.1.0-rc.2