Skip to content

Releases

Deq 1.0.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 09:16
v1.0.0
94d4ca4

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 .deb assets are named with . instead of ~ (as GitHub stores them) before SHA256SUMS is written, so sha256sum -c matches 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

Deq 1.0.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 24 Nov 06:20
v1.0.0-rc.1
9f22087

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 minimatch to 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 in docs/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 verify runs in just test and 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 in docs/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 lint runs in just test and 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, expand and resolveOptions;
    • every render option with a documented default in DEFAULT_OPTIONS;
    • layer colours, and accessible role="img", <title> and aria-label (or decorative aria-hidden);
    • runtime validation with valibot 1.5.0, and typed DeqError codes 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-wasm 2.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 copyToClipboard for 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, composeShape and cosSin for exporters, and an @0xdolan/source export condition for workspace type checking.
  • CI job exporter-tools runs the exporter tests with Inkscape 1.4.3 and Ghostscript in Ubuntu 26.04, and just test-tools does 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.json and toSvg with size, color, strokeWidth, absoluteStrokeWidth and title; default output equals core's render byte for byte;
    • @0xdolan/deq-react, @0xdolan/deq-vue and @0xdolan/deq-svelte: a tree-shakeable component per icon and a dynamic DeqIcon by name;
    • @0xdolan/deq-elements: the <deq-icon> custom element (light DOM, SSR-safe), a /define entry and a minified CDN bundle (about 9 kB gzipped);
    • integrity.json with 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-fonts tool:
    • 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 roj shows the half sun);
    • Deq Icons variable font with a wght axis (stroke 0.5 to 3) and a DOTS axis (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.json and the code point table docs/fonts/codepoints.md; usage and install guide in docs/fonts/README.md;
    • licensed GPL-3.0-or-later with the GPL Font Exception (fonts/LICENSE.md);
    • just fonts and just fonts-check, and a fonts CI job that runs fontbakery (with ots, no FAILs) and a fontconfig install check.
  • Phase 6 ports and CLIs (ADR 0011):
    • renderFlag, flagSize, listFlagVariants and FLAG in @0xdolan/deq-core, with flag cases in the golden fixtures;
    • Python deq-shapes (import deq_shapes) and the Rust crate deq-shapes: the full renderer (render, compose, render_flag, registry, options and errors), matching all 287 golden fixtures byte for byte, plus exporters for svg, svg-layered, svg-sprite, pdf, png, jpg, webp and ico;
    • the deq CLI in Node (@0xdolan/deq-cli, every format), Python (script deq) and Rust (crate deq-cli), with list, info, render, export, flag, validate and completion; 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 in spec/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.txt and llms-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 site CI job and just site;
    • the Pages workflow: develop deploys a preview until PAGES_PRODUCTION is 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.json by uv run deq-spec brand and checked fresh by deq-spec lint; just brand renders 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...
Read more