Skip to content

Releases

v0.5.9 - Mobile list mode

Choose a tag to compare

@camiicode camiicode released this 29 Nov 05:29
aa06c25

What's Changed

  • release: v0.5.8 -> master by @camiicode in #118
  • chore(deps): bump the npm_and_yarn group with 9 updates by @dependabot[bot] in #119
  • fix(ui): derive settings modal version from roadmap current release by @camiicode in #122
  • chore(deps): bump @vitest/coverage-v8 from 5.0.1 to 5.0.2 in the npm_and_yarn group by @dependabot[bot] in #123
  • chore(deps): bump the npm_and_yarn group with 3 updates by @dependabot[bot] in #125
  • chore(deps): bump the npm_and_yarn group with 4 updates by @dependabot[bot] in #131
  • chore(deps): bump http-cache-semantics from 4.2.0 to 4.3.0 by @dependabot[bot] in #134
  • chore(deps): bump handlebars from 4.7.9 to 4.7.10 by @dependabot[bot] in #133
  • chore(deps): bump sharp from 0.35.4 to 0.35.5 by @dependabot[bot] in #132
  • chore(deps): bump the npm_and_yarn group with 8 updates by @dependabot[bot] in #135
  • chore(deps): bump fast-uri from 3.1.8 to 3.1.9 by @dependabot[bot] in #139
  • chore(deps): bump the npm_and_yarn group across 1 directory with 7 updates by @dependabot[bot] in #138
  • chore(deps): bump the npm_and_yarn group with 7 updates by @dependabot[bot] in #140
  • chore(deps): bump jsdom from 30.1.3 to 31.0.0 by @dependabot[bot] in #141
  • chore(deps): bump the npm_and_yarn group with 6 updates by @dependabot[bot] in #143
  • chore(deps): bump the npm_and_yarn group with 4 updates by @dependabot[bot] in #144
  • feat(mobile): ship 0.5.9 — mobile list mode, zen, support by @camiicode in #149

Full Changelog: v0.5.8...v0.5.9

TomaNote v0.5.8 — Offline Pre-loading & Fallback Foundations

Choose a tag to compare

@camiicode camiicode released this 27 Sep 22:23

Overview

TomaNote v0.5.8 hardens the offline-first, local-first foundation of the editor. Every keystroke now reaches LocalStorage instantly, network state is tracked by a single reactive store, and the UI communicates offline mode without any layout shift. The release also clears all known security advisories in the dependency tree (npm audit: 9 → 0) and ships the largest verified test suite in the project's history.

920 total tests — 761 unit (Vitest, 35 files) + 159 E2E (Playwright), all green, E2E verified against the production build.

Core Changelog

✨ Centralized connectivity framework

  • Reactive window.connectivity store — isOnline, clean subscribe() API and a global connectivity-changed event, with non-leaking online/offline listeners. Single source of truth, ready for the upcoming mobile List/Grid views.
  • Connection status badge — a discrete toast announces connection drops ("You're offline — changes are saved locally") and recovery ("Back online") with zero desktop layout shift (EN/ES).
  • Offline-aware save toasts — autosave and manual save report "Saved locally (Offline mode active)" while the connection is down.
  • Instant-LocalStorage persistence — edits land in tabsData immediately instead of waiting for tab switches or beforeunload; corrupt payloads degrade to an empty list instead of blanking the window.

🐛 Bug fixes

  • Custom font cascade to the editor (#104) — .ProseMirror now consumes var(--font-family-notes, …) instead of a hardcoded stack, so user font preferences reach the Milkdown surface.
  • Autosave debounce event bubbling (#105) — the save-indicator input filter matches editor surfaces structurally, so keystrokes from the Milkdown child surface correctly restart the 5 s countdown.
  • Ctrl+S / Cmd+S shortcut casing (#106) — case-insensitive key matching for Chromium's uppercase delivery, a dedicated Meta+S binding for macOS, and an immediate confirmation toast.
  • Mobile slash-link plugin (#107) — typing " / " in the mobile editor opens the custom Link Insertion Modal through a ProseMirror handleTextInput plugin.
  • waitForAppReady E2E helper hardened against mount races with a mobile fallback path.

Dependency Updates (security)

Package Change Advisory
astro 7.1.0 → 7.3.x critical AVIF image-optimization RCE (GHSA-26w7-cxv4-gfx2) and base-path authorization bypass (GHSA-376h-93r7-7g6f) (#110)
vitest / @vitest/mocker 4.1.10 → 4.1.11 path traversal / arbitrary file read via redirect mock (CVE-2026-84373) (#109)
devalue 5.8.1 → 5.9.4 (pinned via npm overrides) DoS via malformed input (CVE-2026-81176) (#108)

npm audit footprint reduced from 9 to 0 active vulnerabilities, including the transitive brace-expansion advisory.


Full Changelog: v0.5.7...v0.5.8

v0.5.7 - Core Editor, Tab State & Responsive UI Patches

Choose a tag to compare

@camiicode camiicode released this 23 Sep 15:03

Pull Request: Milestone 0.5.7 — Bug Fixes, CI/CD Hardening & Info Pages Redesign

📋 Summary

This PR delivers the milestone-0.5.7 release, containing critical bug fixes across the editor, tabs, and save indicator systems, a complete redesign of the informational pages (/about, /privacy, /terms), CI/CD infrastructure hardening for Dependabot compatibility, and cross-repo version synchronization.


🔧 What Changed

Editor Fixes

  • Link modal stale state — Fixed async closure capturing stale ProseMirror state in link insertion; the modal now re-reads live state on confirm, preventing invalid transactions
  • Link node validation — Added 4 Playwright E2E tests confirming <a> nodes are created with correct href, textDecoration: underline, and accent color
  • Code block layout — Changed pre { display: inline-flex } to display: block !important so code blocks render as true block elements
  • Empty paragraph after blocks — Enhanced autoEmptyLinesPlugin to handle setBlockType conversions (paragraph → code_block/blockquote) ensuring trailing empty paragraphs are always appended
  • Link click handler — Added Ctrl/Cmd+click on <a> elements opens link in new tab via window.open()
  • Custom link modal — Replaced all native prompt() calls with showLinkModal() matching TomaNote's visual language

Tab Architecture

  • Pin/unpin consolidation — Removed duplicate pinTab()/unpinTab() from lib/scripts/ui/floatingMenu.js; all pin logic now delegates to TabPinHandler as single source of truth
  • Emoji on pin — Fixed emoji being replaced with random value by ensuring FloatingMenu.handlePinTab() delegates to window.tabManager.pinTab() which respects existing data-emoji

Save Indicator

  • Debounce fix — trigger() now calls schedule() instead of show() directly, respecting the 5000ms debounce and preventing wild flashing on every 300ms auto-save tick

Edge-Case Fixes (final pass)

  • Link without selection — replaceSelectionWith(textNode, false) disables mark inheritance so inserting a link on a blank cursor yields a real marked <a> node instead of a flat text block
  • Tab context menu labels — showTabContextMenu() now syncs the data-i18n attribute to context-menu.pin-tab/unpin-tab before applyTranslations() runs, so pinned tabs correctly show "Unpin Tab" instead of being reverted to the static key
  • Responsive RightSidebar (#86) — Adobe-style multi-column wrap: below 900px viewport height the tool buttons flow into 2nd/3rd/4th columns (flex-flow: wrap + display: contents) instead of being clipped above the fold; html/body keep overflow: hidden (no scrollbar)

Keyboard Shortcuts

  • Duplicate listener guard — init() now removes old listener and clears shortcuts before re-registration, preventing duplicate keydown handlers from race conditions

Info Pages Redesign

  • Scroll fix — Added isInfoPage prop to Layout.astro that applies .info-page-body class overriding overflow: hidden → overflow-y: auto on <body> and #app-layout
  • Design tokens — Replaced all Tailwind utility classes with TomaNote's --tn-* CSS custom properties across /about, /privacy, /terms
  • New stylesheet — Created src/styles/components/info-pages.scss with complete design system for info pages
  • E2E coverage — 38 Playwright tests covering status, scrolling, content visibility, navigation, responsive, and design system usage

CI/CD Infrastructure

  • Dependabot compatibility — Added --legacy-peer-deps to npm ci in all workflows (ci.yml, security.yml, deploy.yml) to resolve @vitest/coverage-v8 peer dependency conflicts with vitest v5
  • Permissions — Added explicit permissions blocks to CI and security workflows
  • Timeout — Added timeout-minutes to prevent runaway builds
  • Dependabot config — Created .github/dependabot.yml with weekly schedule, grouping, and labels

Cross-Repo Version Sync

  • Hardened workflow — Rewrote sync-version.yml with proper error handling, git diff --cached --quiet skip logic, version.json support, and summary output

Testing

  • 55 new Vitest unit tests covering dependency validation, keyboard shortcut dedup, emoji pin behavior, pin/unpin architecture, and save indicator debounce
  • 33 new Playwright E2E tests for link node validation, code block layout, empty paragraphs, toolbar responsive, link modal, clipboard paste, and info pages
  • 725 total tests passing (667 unit + 56 E2E from 0.5.6 + new additions)

🔗 Closes & Fixes

Closes #84 — Code block renders inline
Closes #85 — Missing empty paragraph after elements
Closes #86 — Formatting toolbar clips buttons on small viewports
Closes #87 — Replace native prompt() with custom modal
Closes #88 — Links not clickable
Closes #89 — Keyboard shortcuts intermittently fail
Closes #90 — Emoji replaced on pin via FloatingMenu
Closes #91 — Consolidate duplicated pin/unpin logic
Closes #92 — Save indicator too fast + missing on mobile
Closes #75 — nanoid < 3.3.18 infinite loop DoS (lockfile now at 3.3.18)
Closes #95 — nanoid 3.3.16 lockfile regression (resolved via upstream master sync)


🧪 Testing

# Unit tests
npx vitest run              # 725/725 pass (30 files)

# E2E — full suite
npx playwright test         # 142 tests (13 files)

# E2E — new specs from this milestone
npx playwright test e2e/infoPages.spec.js              # info pages
npx playwright test e2e/issue87-linkNodeValidation.spec.js  # link node + empty selection
npx playwright test e2e/tabContextMenu.spec.js          # pin/unpin labels
npx playwright test e2e/rightSidebarResponsive.spec.js  # multi-column wrap

Totals: 867 tests — 725 unit (Vitest) + 142 E2E (Playwright).


⚠️ Known Issues (Not in Scope)

  • #97 — Clipboard paste breaks editor state (P1 — requires deeper ProseMirror/clipboard integration)
  • #93 — Astro upgrade 7.1.0 → 7.2.8 (P1 — still open: lockfile at 7.1.0, requires testing with full dependency tree)
  • #94 — Vitest mocker upgrade (P2 — still open: lockfile at 4.1.10, needs 4.1.11)
  • #83 — Syntax highlighting for code blocks (P2 — feature, not bug)

📁 Files Modified

File Type
src/lib/scripts/core/milkdownEditor.js Bug fix — stale state, link handler
src/lib/scripts/ui/linkModal.js New — custom link modal
src/lib/scripts/ui/floatingMenu.js Refactor — removed duplicate pin/unpin
src/lib/scripts/ui/keyboardShortcuts.js Bug fix — duplicate listener guard
src/lib/scripts/core/plugins/autoEmptyLinesPlugin.js Bug fix — setBlockType handling
src/features/save-indicator/save-indicator.js Bug fix — debounce in trigger()
src/styles/components/milkdown-editor.scss Bug fix — code block display, link modal CSS
src/styles/components/info-pages.scss New — info page design system
src/layouts/Layout.astro Feature — isInfoPage prop
src/pages/about.astro Redesign — design tokens
src/pages/privacy.astro Redesign — design tokens
src/pages/terms.astro Redesign — design tokens
.github/workflows/ci.yml Fix — legacy-peer-deps, permissions
.github/workflows/security.yml Fix — legacy-peer-deps, permissions
.github/workflows/deploy.yml Fix — legacy-peer-deps
.github/workflows/sync-version.yml Hardening — error handling
.github/dependabot.yml New — Dependabot config
e2e/infoPages.spec.js New — 38 info page E2E tests
e2e/issue87-linkNodeValidation.spec.js New — 4 link validation E2E tests
e2e/issue84-codeBlockLayout.spec.js New — 5 code block E2E tests
e2e/issue85-emptyParagraphAfter.spec.js New — 5 empty paragraph E2E tests
e2e/issue86-toolbarResponsive.spec.js New — 5 toolbar responsive E2E tests
e2e/issue88-linksNotClickable.spec.js New — 6 link click E2E tests
e2e/issue92-clipboardPaste.spec.js New — 7 clipboard paste E2E tests
src/lib/scripts/core/__tests__/dependencyValidation.test.js New — 11 Vitest tests
src/lib/scripts/ui/__tests__/issue89-shortcutInit.test.js New — 10 Vitest tests
src/lib/scripts/core/__tests__/issue90-emojiPin.test.js New — 11 Vitest tests
src/lib/scripts/core/__tests__/issue91-pinUnpinRefactor.test.js New — 15 Vitest tests
src/features/save-indicator/__tests__/issue92-saveIndicator.test.js New — 12 Vitest tests

Release v0.5.6 — Milkdown Integration & UI Cleanup

Choose a tag to compare

@camiicode camiicode released this 04 Sep 21:08

Milestone 0.5.6 — Milkdown Integration & UI Cleanup

Highlights

  • Milkdown editor — Full ProseMirror-based Markdown editor with CommonMark + GFM support
  • Formatting toolbar — Right sidebar with 12 buttons (bold, italic, underline, headings, code, blockquote, lists, links)
  • Keyboard shortcuts — 27 registered shortcuts (Ctrl+B/I/U, Ctrl+Z/Y, Ctrl+S)
  • Code blocks — Language labels, line numbers, theme-aware colors. Dual format: Markdown + HTML tabs
  • Editor fixes — Underline plugin, heading toggle, undo/redo, context-menu, auto-empty lines
  • Sidebar cleanup — Simplified to logo, search, help, settings
  • Playwright E2E — 56 tests covering editor, UI, and persistence

Testing

  • 667 unit tests (Vitest)
  • 56 E2E tests (Playwright)
  • 723 total tests

Dependencies Added

  • @milkdown/kit ^7.22.1, @milkdown/plugin-tooltip ^7.22.1, @milkdown/theme-nord ^7.22.1
  • @playwright/test ^1.62.1 (dev)

Dependencies Removed

  • marked (replaced by Milkdown)

v0.5.5

Choose a tag to compare

@camiicode camiicode released this 29 Aug 00:53
df0818a

v0.5.5 — August 28, 2026

✨ New features

  • External link buttons — Blog, Report a Bug, and Request a Feature in the sidebar, settings modal, and shortcuts help
  • Feature Request GitHub template — structured issue template for suggesting new features
  • Official blog — blog.tomanote.app with articles, changelogs, and productivity tips

♿ Accessibility

  • Bottom bar icons now display white on dark themes for better visibility on mobile

🔒 Security

  • Closed Dependabot alert #89 — nanoid vulnerability
  • Closed Dependabot alert #90 — brace-expansion vulnerability

📋 Notes

  • Settings modal links relocated to footer with hover tooltips
  • Issue template chooser with links to Blog and Documentation
  • Issue #69 (i18n hardcoded shortcuts) verified resolved and closed

🧪 Test coverage

574 tests passing.


Full changelog: CHANGELOG.md

v0.5.3

Choose a tag to compare

@camiicode camiicode released this 11 Aug 00:36
96bbe33

🎨 New branding

A renewed logo, icons, screenshots and favicon across the whole app.

📝 Editor & tabs

  • Code block contrast — code blocks now use readable colors across all themes.
  • Inherited font size — new empty tabs inherit the configured global font size.
  • Tab name editing — the full name is shown while editing and the caret is placed at the start.
  • Plain-text paste — pasting into a tab name inserts plain text without formatting.
  • Undoable paste — pasting in the editor is now undoable and respects the cursor position.
  • Pin emoji preservation — Alt+P keeps the tab's existing emoji when pinning.

💾 Save feedback

  • A "Saved" indicator appears after you pause typing.
  • Ctrl+S shows instant save feedback.

💡 Collapsed controls

The collapsed right panel buttons now show tooltips.

🐛 Bug fixes

  • Tab names now scroll horizontally while editing, so long names stay accessible.
  • The caret stays in view after an inline rename.
  • Pinning logic was centralized; unpinning a tab now keeps its emoji.
  • Sidebar tooltips only show on the button being hovered, no longer all at once.

🔗 View full changelog · tomanote.app

v0.5.2

Choose a tag to compare

@camiicode camiicode released this 02 Aug 02:58
4b85e46

🕒 Recent notes preview

The command palette now shows your 3 most recently edited notes on open, sorted by last modified time.

  • Each tab tracks its last modified timestamp, preserved on every save.

📱 Responsive command palette footer

The palette footer adapts to the device — keyboard hints on desktop and tap hints on touch screens.

🔍 Command palette legibility

Palette text now uses the theme's text color with stronger font weights, readable across all themes.

🧪 Tests & conventions

  • 522 tests passing — added EN/ES locale parity test and expanded coverage.
  • Self-contained commit convention documented; MILESTONES.md is now gitignored.

🔗 View full changelog · tomanote.app

v0.5.1

Choose a tag to compare

@camiicode camiicode released this 30 Jul 21:07
6afa128

v0.5.1 — Keyboard Shortcuts System + Help Overlay

🎯 Features

  • Keyboard shortcuts refactor: Complete rewrite from procedural handlers to a centralized class-based registry with modifier matching (Ctrl/Alt/Shift/Meta), scope-based guards (system vs global), and automated desktop detection via matchMedia(pointer: fine)
  • Help overlay (Alt+/): New interactive overlay that lists all registered keyboard shortcuts grouped by category (Tabs, Navigation, Editor). Accessible via button in sidebar or Alt+/ shortcut
  • Modal settings navigation: Enter/Space on a sidebar tab now jumps focus into the tab's content panel. Escape returns to the sidebar. Arrow keys are no longer intercepted inside form controls (selects, radio groups)
  • Sidebar help button: New ? icon in the left sidebar for mouse access to the shortcuts help overlay

🐛 Bug Fixes

  • Command palette: Added stopPropagation() on Escape handler to prevent event bubbling to the global shortcut system
  • Alt+M removed: Had no visible effect on desktop (tools menu is always visible)

🔧 Maintenance

  • CSP meta tag stub added (commented out) for future Content Security Policy
  • HUMAN_CONTEXT.md added to .gitignore
  • Dependencies bumped across npm_and_yarn group
  • Security patch: brace-expansion upgraded

📦 Commits

6 feature/fix commits + 3 dependency/security commits on top of v0.5.0

v0.5.0

Choose a tag to compare

@camiicode camiicode released this 20 Jul 15:24
2e8eeb6

v0.5.0 — editor settings, command palette, responsive layout, tests

v0.4.4

Choose a tag to compare

@camiicode camiicode released this 15 Jul 05:22

What's Changed

Security

Dependencies

  • Dependency updates: Critical dependencies updated via dependabot — Vite and npm_and_yarn dependency group
  • Vite style fix: Style adjustments required after the latest Vite update to maintain visual compatibility

Changelog

See the full changelog for details.

Full Changelog: v0.4.3...v0.4.4