0.1.6 latest April 12, 2026

Bug Fixes

  • Fix AI agents (ChatGPT, Claude, etc.) unable to access /.well-known/webdna.json due to missing CORS headers
  • Auto-inject Access-Control-Allow-Origin: * and Content-Type: application/json headers for all WebDNA paths

New Features

  • Auto-generate fallback API route at /api/webdna with full CORS support for hosts that block .well-known
  • Add rewrite aliases: /webdna.json and /webdna-custom.json work without the .well-known prefix
  • API route auto-detects App Router vs Pages Router and generates the correct format
  • Generated API route is marked @generated by next-webdna and won't overwrite user files

Docs

  • Add "How AI Agents Access WebDNA" section to README and landing page
  • Add access troubleshooting card to Common Issues
0.1.5 April 6, 2026

New Features (Phase 2)

  • Element-level exclusions: scan JSX for data-webdna="exclude" attributes at build time
  • Granular config exclusions: excludeComponents, excludeApi, excludeBrand (all with glob pattern support)
  • Rewrite two-tier generation: auto manifest always full, custom manifest applies all exclusions
  • Auto-clean dangling references when items are excluded
  • Two AI setup prompts: quick setup and guided exclusion questionnaire

Improvements

  • Update validator for new component object format
  • Add lint warnings: unresolved CSS variables, missing component roles, routes referencing missing components
  • Update config parser for all new exclusion fields
0.1.4 April 6, 2026

New Features

  • Semantic depth: resolve CSS variables to actual color values (no more var(--primary) in output)
  • Normalize color values: bare numbers wrapped in hsl()/oklch(), Tailwind v4 shorthand handled
  • Infer semantic color roles: primary, accent, background, text, border, etc.
  • Detect Next.js font imports from layout files (next/font/google)
  • Rich component metadata: extract props from TypeScript interfaces, infer semantic roles (layout, navigation, content, form, feedback), detect child component imports
  • Route relationships: detect which components and API endpoints each route uses
  • API relationships: extract request params (query/body/path), response schemas, and consumedBy routes
  • Bidirectional wiring: post-processing pass populates component.usedIn and api.consumedBy
0.1.3 April 5, 2026

Changes

  • Update licensing: proprietary (all rights reserved), NPM package freely usable
  • Remove all open-source references from README, LICENSE, package.json, landing page
  • Update tsup banner from MIT to "All rights reserved"
0.1.2 April 5, 2026

Improvements

  • Landing page: copy buttons on all code blocks, AI setup prompt section, troubleshooting cards
  • Add AI setup prompt to README
0.1.1 April 5, 2026

Bug Fixes

  • Turbopack crash fix: auto-detect Turbopack (Next.js 15+/16) and generate directly instead of via Webpack hooks
  • Fix "Call retries were exceeded" error on Next.js 16 builds

New Features

  • Static landing page at site/index.html
  • Turbopack detection via process args, env vars, experimental config, and Next.js version
0.1.0 April 5, 2026

Initial Release (Phase 1 MVP)

  • withWebDNA() Next.js config wrapper
  • Route scanner: App Router (app/) and Pages Router (pages/), including src/ variants
  • Brand extractor: Tailwind config colors/fonts + CSS variable fallback
  • Component scanner: scans standard component directories, extracts JSDoc descriptions
  • API route scanner: detects HTTP methods in App Router route.ts and Pages Router handlers
  • Meta generator: reads package.json for name/description/version
  • Config loader: webdna.config.js + inline config support
  • CLI: npx webdna generate, npx webdna lint, npx webdna inspect
  • Validator/linter: checks auth scopes, schemas, descriptions, brand tokens
  • JSON Schema spec: spec/webdna-schema.json
  • Two-tier output: webdna.json (auto) + webdna-custom.json (custom)