Skip to content

sembr 1.2.0 — Email PDF digest attachment

Choose a tag to compare

@KaihuaHuang KaihuaHuang released this 05 Jun 05:16
· 94 commits to main since this release
54d6f6f

Added

  • Email PDF attachment — opt-in per-intent PDF copy of each digest, attached to the notification email. Rendered by WeasyPrint from a dedicated A4 print template (clickable source URLs; CJK fonts bundled in the Docker image). Enable it with the new Attach PDF toggle in the intent editor's Channels · Email section — off by default, so existing intents are unchanged.

Fixed

  • NewsAPI cap_reached now dispatches the already-fetched batch and advances each feed's cursor to the oldest article instead of dropping the entire tick — fixing an infinite retry loop on deep backlogs.
  • Email digest tables now render with visible borders in Outlook and Gmail.

Upgrading

This release adds WeasyPrint and its native libraries (Pango/Cairo + fonts-noto-cjk) to the image, so rebuild rather than just restart:

git pull && docker compose up -d --build

No config migration needed — attach_pdf defaults off.

Full changelog: v1.1.0...v1.2.0