Repository navigation
Releases
Releases · maxoem/schedae
v1.1.2
What's Changed
SEO, Static Pre-Rendering & Routing
- Build-Time Pre-Rendering (
scripts/prerender.ts,src/entry-server.tsx): Added an SSR entry point and Vite pre-render step (pnpm run build) that generates static HTML for all sitemap routes (18 routes, including decks and stacks), with per-route<html lang="en|de">attributes and safe in-memory Web Storage shims during Node SSR (b89c156). - Per-Page Metadata & Structured Data (
src/components/Seo.tsx): Added canonical URLs, Open Graph/Twitter meta tags, language attributes, and JSON-LD structured data (SoftwareApplication,FAQPage, etc.) across all pages, plus crawlable overview/FAQ sections on/(JsonToApkg). - Route Consolidation & 404 Handling (
src/App.tsx,src/pages/NotFound.tsx): Consolidated legacy routes (/json-to-apkg,/refurbish,/open-access) with redirects and added a dedicatedNotFoundpage.
Runtime Hosting & Nginx Hardening
- Runtime HTML & SEO Injection (
40-runtime-config.sh,nginx.conf): Updated the container entrypoint to inject runtimeSITE_URLand analytics scripts across all pre-rendered.htmlfiles in/tmp/html. - Nginx Security & Redirects (
nginx.conf): Added 301 redirects for legacy routes, prevented port/absolute redirect leaks, routed HTML serving through/tmp/html, and preserved security headers.
Fixes
- SSR Safety (
src/hooks/useDeckWorkspace.ts,src/components/OnboardingModal.tsx,scripts/prerender.ts): GuardedlocalStorageand bot-detection checks during server-side rendering so pre-rendering runs cleanly in Node without browser storage globals. - Nginx Update: Updating unprivileged nginx to latest
v1.1.0
Whats Changed
-
Selectable Fields for APKG → LLM-MD Export & Partial Merge (
a2f2754)- Choose which fields to include when converting
.apkgdecks to LLM-Markdown: Card ID (### ID), Question (Q:), and Answer (A:). - Live merge compatibility warnings indicate when merging is only partly possible (omitting Question or Answer preserves the untouched field in the original
.apkgduring merge) or no longer possible (omitting Card IDs or both content fields). - Updated LLM Merge Assistant to support partial (
Q:-only /A:-only) updates and warn on card blocks missing### ID.
- Choose which fields to include when converting
-
Pasted Image Support & APKG Media Bundling (
1438d97,2c41d46)- Paste images directly into the workspace editor with local persistence via an IndexedDB media store and an interactive Workspace Media Tray.
- Automatically renders pasted images in preview and bundles referenced local media files directly into exported
.apkgpackages.
Fixes & Improvements
- Plain KaTeX Math Default & Opt-In Anki MathJax (
dae848e)- Default
.apkgmath export to plain KaTeX ($...$/$$...$$) by normalizing\( ... \),\[ ... \], double-escaped delimiters, and<anki-mathjax>tags, preventing broken math escaping on Anki import. - Added an opt-in "Convert Math to Anki MathJax" setting in Workspace Parser Settings and Deck Remaster, along with template support for
block="true"<anki-mathjax>tags.
- Default
Full Changelog: v1.0.6...v1.1.0
v1.0.6
What's Changed
Anki Note Types & Export Settings
- Named Note Types (
Markdown+Katex): Exported.apkgpackages now use proper Note Type and Card Type names (defaultingmarkdown_basictoMarkdown+Katex, plusModern Clean,Modern Dark, andBasic (Schedae)) instead of colliding with Anki's built-inBasictype. - No More Duplicate Note Types: Deterministic model IDs ensure Anki reuses and updates existing Note Types across imports instead of creating
Basic+orBasic-<timestamp>copies. - New Settings Controls: Added customizable Note Type Name and Field Schema Across Imports (Unified Note Type
[Front, Back, Topic]vs Match Deck Fields Only) with a live.apkgexport preview under Card & Anki Settings. - Remaster Fix: Preserves modern Anki (
collection.anki21b) note type names/fields and dropsBasic-<timestamp>fallback models.
Parser & Extraction
- Unicode NFC/NFD Support: Normalizes inputs to NFC and matches NFC/NFD markers so decomposed macOS umlauts parse reliably.
- Cleaner Auto-Detect & Split Rules: Prevents stale
splitSettingsleaks in Auto-Detect mode, rejects bare field-label fronts, avoids false splits on prose (A ...,Back ...,Karte (...)), and preserves nested sub-bullets inside answers. - Bold Headings & Multilingual Keywords: Supports bold Markdown headings with colons (e.g.
## **Rückseite:**) and centralizes EN/DE/FR/ES/IT keywords intokeywords.ts. - Tests: Added APKG round-trip/model-ID checks and regression fixtures (
header-format2,bulletpoint-format2–4).
Full Changelog: v1.0.5...v1.0.6
v1.0.5
What's Changed
- feat(extraction): Retrieving label candidates from cards and population internal card schema, making them available in Anki by @maxoem in #14
- build(deps): bump @hono/node-server from 1.19.13 to 1.19.18 by @dependabot[bot] in #13
- build(deps): bump fast-uri from 3.1.0 to 3.1.9 by @dependabot[bot] in #12
- build(deps): bump dompurify from 3.3.3 to 3.4.17 by @dependabot[bot] in #11
New Contributors
- @dependabot[bot] made their first contribution in #13
Full Changelog: v1.0.4...v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
Full Changelog: https://github.com/maxoem/schedae/commits/v1.0.0