1.1.1
Habits 1.1.0
Two new features, a safer dependency chain, and a stack of polish.
✨ New
- 💬 Per-day comments — every dashboard card now has a comment flap along its bottom edge. Click it and the card flips over (with a 3D animation) to a comment box for the selected day — ideal for noting why a habit was missed or what made a great day work. Days with a comment show an accent-tinted speech bubble, comments live in your habit note's frontmatter alongside your records, and they can be included in PDF reports via a new export toggle. Can be disabled in settings.
- 🌍 Localization — Habits is now available in English, Spanish, French, German, and Simplified Chinese, following your Obsidian language setting. Everything is translated: dashboard, sidebar panel, stats, export dialog, settings, menus, and notices.
🔒 Security & dependencies
- Upgraded jsPDF to v4, resolving all published advisories against jspdf and dompurify (including GHSA-w532-jxjh-hjhj) —
npm auditis clean - Removed jsPDF's unused dynamic
<script>injection from the bundle — itspdfobjectnewwindow/pdfjsnewwindowoutput modes (which this plugin never uses; PDF export only ever callsoutput("arraybuffer")) created a<script>element to load code from a CDN. A build step now strips that capability frommain.jsentirely, clearing the community scorecard's dynamic-code-execution flag - Replaced the deprecated
builtin-modulespackage with Node's built-innode:moduleAPI - Release assets (
main.js,manifest.json,styles.css) are now published with GitHub artifact attestations, so you can cryptographically verify they were built from this repository
🐛 Fixes & polish
- Long habit names stay on a single line and truncate with a proper ellipsis; tooltips always show the full name
- Tighter card title spacing so more of each name fits — "Drink Water" no longer truncates at four cards per view
- The comment indicator on the card flap now correctly shows its accent tint
- Assorted card layout refinements
📦 Installation
Habits is available in the Obsidian community plugin browser: open Settings → Community plugins → Browse, search for "Habits", then install and enable. Already using Habits? This update will appear under Settings → Community plugins → Check for updates.
Found a bug or have an idea? Open an issue.