Skip to content

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, this project adheres to Semantic Versioning, commits follow Conventional Commits, and this changelog is generated by Structured Changelog.

Unreleased

v0.1.0 - 2026-02-21

Highlights

  • Non-polymorphic JSON IR for Apache ECharts enabling reliable AI-assisted chart generation
  • TypeScript-first architecture with Zod schemas as source of truth
  • Dual-language support: TypeScript/JavaScript and Go implementations

Added

  • ChartIR types for non-polymorphic ECharts configuration (Dataset, Mark, Axis, Legend, Tooltip, Grid) (261fe51)
  • TypeScript implementation with Zod schemas for validation (b8a6ab2)
  • IR-to-ECharts compiler supporting line, bar, pie, scatter, and area charts (b8a6ab2)
  • Go types matching the TypeScript schema definitions (261fe51)
  • JSON Schema generation from Zod schemas (2123ff4)
  • Embedded JSON Schema in Go via //go:embed (2123ff4)
  • Example chart definitions: line, bar, pie, multi-series (2a5aea7)
  • Interactive browser demo with live chart rendering (b8a6ab2)
  • CodeQL SAST security scanning workflow (28c08b5)

Fixed

  • Use local EChartsOption type to avoid echarts import issues in CI (397d5d7)
  • Add ESLint configuration for TypeScript CI (bac9b4a)

Documentation

  • Product Requirements Document (PRD.md) with problem statement and design goals (f489fa9)
  • Technical Requirements Document (TRD.md) with architecture overview (f489fa9)
  • README with Quick Start, IR Schema Reference, and API documentation (f489fa9)
  • Example usage for AI assistant integration (f489fa9)
  • MkDocs site with Material theme: Getting Started, Schema Reference, Examples, API Reference, Architecture, Development guides (f52644f)

Build

  • Go CI workflow with multi-platform matrix (Go 1.26.x/1.25.x, Linux/macOS/Windows) (9a06b69)
  • Go Lint workflow with golangci-lint (9a06b69)
  • TypeScript CI workflow with Node.js 20.x/22.x (9a06b69)
  • TypeScript Lint workflow with ESLint 9.x flat config (bac9b4a)
  • Reusable workflow architecture via grokify/.github (9a06b69)

Tests

  • 53 TypeScript tests covering schemas, compiler, and examples (b8a6ab2)
  • 10 Go tests for chartir types and schema embedding (261fe51)