Repository navigation
Releases
Releases · kanilabs/deq
Deq 1.0.0
The first stable release of Deq. It is 1.0.0-rc.1, whose notes list everything Deq includes, with the changes below.
Fixed
- Release: pre-release
.debassets are named with.instead of~(as GitHub stores them) beforeSHA256SUMSis written, sosha256sum -cmatches every downloaded file.
Removed
- Dependabot: its configuration, alerts and security updates. Dependencies are updated by hand, keeping the 7-day minimum release age.
Deq 1.0.0-rc.1
The first release candidate of Deq.
Added
- Phase 0 foundation: pnpm + Turborepo, Cargo and uv workspaces with placeholder packages (
@0xdolan/deq-*,deq-shapes,deq-cli). - Strict TypeScript, ESLint, Prettier, Ruff, mypy, rustfmt and clippy configuration.
- Local CI (
just ci), git hooks (lefthook, commitlint, gitleaks) and a Docker CI image. - GitHub Actions: CI on Linux, macOS and Windows; CodeQL; OpenSSF Scorecard; scheduled audits; Dependabot.
- pnpm override pinning
minimatchto 11.0.3 (GHSA-g3hv-75wg-m249) until ESLint ships a patched dependency. - Project documents: README, CONTRIBUTING, CODE_OF_CONDUCT, SECURITY, architecture decision records, AI rules and skills.
- Phase 1 research: bibliography of 34 sources (
content/sources.json), cited research notes, URL status for every link, and an image attribution review indocs/research/. - 47 images and 2 animations processed into metadata-free WebP masters, recorded with provenance and rights in
assets/source-manifest.json. scripts/deq-assets: a private tool to inventory, process, verify and build responsive variants and contact sheets;deq-assets verifyruns injust testand CI.- Motif catalog with contact sheets (
docs/research/motif-catalog.md): 45 approved motifs for Phase 2, plus 14 deferred until reference images exist. - ADR 0006: image assets and provenance.
- Phase 2 shape spec (
spec/): JSON Schemas for the grid, shapes, catalog and flag; the 24 × 24 grid with keylines; all 45 approved motifs as parametric shapes with layers, construction maths, names (needing native review) and cited metadata. - The parametric 21-ray Kurdish Sun (
kurdish-sun), with proportions taken from the flag. - Flag of Kurdistan spec (
spec/flag.json): geometry, colours in HEX, RGB, HSL, OKLCH and CMYK (Pantone pending verification), contrast pairs, variants and sizes, checked against the hash-pinned Wikimedia Commons SVG. - Four symbol-only logo concepts in
assets/brand/concepts/, shown mono and in flag colours indocs/design/logo-concepts.svg; the owner chose concept A, the chin mark. scripts/deq-spec: a private tool to lint, format, render and draw contact sheets;deq-spec lintruns injust testand CI.- Shape spec guide (
docs/design/shape-spec.md), shapes contact sheet and ADR 0007: shape spec format. - Three sources: Wikipedia's articles on the flag and the Kurdish Sun, and the Commons flag SVG.
- Phase 3
@0xdolan/deq-core, the reference renderer:render,compose,getShape,listShapes,listCategories,hasShape,expandandresolveOptions;- every render option with a documented default in
DEFAULT_OPTIONS; - layer colours, and accessible
role="img",<title>andaria-label(or decorativearia-hidden); - runtime validation with valibot 1.5.0, and typed
DeqErrorcodes with "did you mean" suggestions for unknown shapes.
- Deterministic SVG output contract (rounding half to even to 3 decimals, fixed attribute order, exact right angles) and 278 golden fixtures in
spec/fixtures/for the Python and Rust renderers to match (ADR 0008). - Property tests with fast-check 4.10.2; core coverage is 100% of lines.
- Generated API reference
docs/api/core.md, built with the TypeScript compiler API. TypeDoc was not added, because it needs a minimatch version affected by GHSA-g3hv-75wg-m249. - Phase 4
@0xdolan/deq-exporters(ADR 0009):exportShapes(format, items, options)for 23 formats: SVG, layered SVG (Inkscape layers), sprite, HTML, JSX, TSX, Vue, Svelte, data URI, CSS background and mask, PDF and AI (one Optional Content Group per layer, RGB or CMYK), EPS, PNG, JPG, WebP, AVIF, ICO, a favicon pack, PSD (one pixel layer per shape layer), Figma copy-as-SVG and re-importable spec JSON;- our own PDF and EPS writer instead of pdf-lib and svg2pdf.js; raster through
@resvg/resvg-wasm2.6.2 and the jSquash codecs; PSD through ag-psd 34.1.0; - a CSS Color 4 parser for colours in non-SVG formats, and
copyToClipboardfor pasting into Figma; - round-trip tests for every format: Ghostscript renders of PDF and EPS compared with resvg, Inkscape imports that check layer names, decoded raster images, PSD layers read back, and spec JSON checked against the schema.
- Core exports
prepare,svgDocument,composeShapeandcosSinfor exporters, and an@0xdolan/sourceexport condition for workspace type checking. - CI job
exporter-toolsruns the exporter tests with Inkscape 1.4.3 and Ghostscript in Ubuntu 26.04, andjust test-toolsdoes the same locally. - Phase 5 icon packages (ADR 0010):
@0xdolan/deq-icons: icon data for all 93 shapes, SVG strings, one SVG file per icon,sprite.svg,icons.jsonandtoSvgwithsize,color,strokeWidth,absoluteStrokeWidthandtitle; default output equals core'srenderbyte for byte;@0xdolan/deq-react,@0xdolan/deq-vueand@0xdolan/deq-svelte: a tree-shakeable component per icon and a dynamicDeqIconby name;@0xdolan/deq-elements: the<deq-icon>custom element (light DOM, SSR-safe), a/defineentry and a minified CDN bundle (about 9 kB gzipped);integrity.jsonwith SHA-384 hashes in the icons and elements packages, and CDN docs with SRI (docs/cdn.md);- example apps for React, Vue, Svelte and plain HTML in
examples/, built and tested in CI.
- Phase 5 icon fonts, built with fontTools by the private
scripts/deq-fontstool:- Deq Icons (OTF, TTF, WOFF2), with a Private Use Area code point per icon from U+E000 and ligatures for ids, aliases and Kurmanji names (typing
rojshows the half sun); - Deq Icons variable font with a
wghtaxis (stroke 0.5 to 3) and aDOTSaxis (dot size 50% to 200%), nine named instances; - Deq Icons Color: COLRv1 with Light, Dark and Monochrome CPAL palettes in the flag colours, plus an OT-SVG fallback;
deq-icons.css,fonts/codepoints.jsonand the code point tabledocs/fonts/codepoints.md; usage and install guide indocs/fonts/README.md;- licensed GPL-3.0-or-later with the GPL Font Exception (
fonts/LICENSE.md); just fontsandjust fonts-check, and afontsCI job that runs fontbakery (with ots, no FAILs) and a fontconfig install check.
- Deq Icons (OTF, TTF, WOFF2), with a Private Use Area code point per icon from U+E000 and ligatures for ids, aliases and Kurmanji names (typing
- Phase 6 ports and CLIs (ADR 0011):
renderFlag,flagSize,listFlagVariantsandFLAGin@0xdolan/deq-core, with flag cases in the golden fixtures;- Python
deq-shapes(importdeq_shapes) and the Rust cratedeq-shapes: the full renderer (render,compose,render_flag, registry, options and errors), matching all 287 golden fixtures byte for byte, plus exporters forsvg,svg-layered,svg-sprite,pdf,png,jpg,webpandico; - the
deqCLI in Node (@0xdolan/deq-cli, every format), Python (scriptdeq) and Rust (cratedeq-cli), withlist,info,render,export,flag,validateandcompletion; formats outside the core subset exit with code 4 in Python and Rust and point to the Node CLI; spec/cli.json, the shared CLI interface, generating help texts and bash, zsh, fish and PowerShell completions for all three CLIs;- 84 shared CLI cases (
spec/fixtures/cli-cases.json) recorded from the Node CLI inspec/fixtures/cli/and run by the Python and Rust tests on Linux, macOS and Windows.
- Phase 7 website foundation in
apps/site(ADR 0012):- Astro 7 + Starlight with light, dark and system themes, flag-green accents checked for contrast, and self-hosted Noto Sans and Vazirmatn;
- English, Sorani (
ckb, right-to-left) and Kurmanji (kmr) with typed message catalogs that fail the type check on a missing key; the Kurdish text is AI-drafted and every ckb and kmr page says it needs native review; - Home, Icons (filterable gallery) and a page per icon with preview, sizes, names, parameters, code point, usage and SVG download; Flag, Fonts (specimens and a weight slider), Brand, About, Docs (getting started, packages, CLI) and a 404 page;
- SEO: Open Graph and Twitter images per page and per icon rendered at build time, JSON-LD, sitemap with hreflang,
robots.txt,llms.txtandllms-full.txt; - a strict
<meta>CSP with hashes for every script, including Starlight's inline ones; - an installable PWA: manifest with app icons from the chin mark, a Workbox service worker that precaches every page for offline use, and an update prompt;
- Vitest unit tests, a Playwright suite (axe, CSP, RTL, JavaScript budget, theme, search, offline) and a Lighthouse gate (every category ≥ 95), run by the new
siteCI job andjust site; - the
Pagesworkflow:developdeploys a preview untilPAGES_PRODUCTIONis set, releases deploy production.
- The Deq logo: the Dot rosette in the Kanî Labs badge, with mark, dark, mono, small-size and favicon SVGs and a social preview card, all generated from
spec/shapes/dot-rosette.jsonbyuv run deq-spec brandand checked fresh bydeq-spec lint;just brandrenders PNGs for GitHub and social media (ADR 0013). - Phase 8a Studio at
/studio/in every locale (ADR 0014), built with Svelte 5:- an infinite canvas with pan, pinch and wheel zoom, fit, rulers, an 8 px snap grid with guides to other shapes, and overlays for the 24-unit design grid, keylines and a pixel preview;
- a library searchable by English, Sorani and Kurmanji names, aliases and tags, filtered by category, adding by click, Enter or drag;
- an inspector for every render option, shape parameter and layer colour, with previews at 16 to 96 px, per-option reset, reset shape and reset all;
- undo and redo with merged edits, autosave to local storage, and 25 documented, remappable keyboard shortcuts;
- a tab bar on narrow screens, unit tests and Playwright tests on desktop and a Pixel 7 viewport.
- Phase 8b Studio multi-select, batch editing and layers (ADR 0014):
- select several shapes with Shift-click, a marquee drag on the background, the layers panel or select all; Space-drag, the middle button and touch pan;
- batch edit...