# Changelog All notable changes to this project will be documented in this file. ## [Unreleased] ### πŸš€ Features - V2 phase 1 β€” array access, timer, string interpolation - Step sequencer demo β€” reactive pads, playhead, BPM - V2 built-in functions β€” 90+ native functions - V2 module system β€” import/export with multi-file compilation - V2 codegen hardening β€” scoped local variables - Todo app demo β€” streamable, showcases v2 builtins - Bidirectional signal streaming sync - Peer mode relay + self-echo filtering for true bidirectional sync - Per-signal version counters for conflict resolution - Explicit signal output API for stream declarations - 4-app signal composition demo with explicit outputs - Chained signal composition β€” 3β†’1β†’final + mood mixing - Stream composition API β€” select, schema, relay filtering - Dependent types β€” refinement types, type aliases, type annotations - Dependent types review β€” cycle detection, precision, error quality - Component registry with styled variants, dreamstack add/convert CLI, and showcase - Container variant props, 11-component registry, rich dashboard - Each loop, dreamstack init, expanded registry - When/else conditional branching - Slot/children composition for components - Dev server improvements - recursive watching, auto-open browser - Dynamic lists (push/remove/pop) + TodoMVC demo - Component event callbacks + function prop forwarding - Upgrade init starter app to showcase all DreamStack features - Multi-page routing demo with 4 routes - Project Manager demo β€” comprehensive 4-page routed app - Multi-statement event handlers with semicolons - Streaming dashboard with imported components + live data - Comprehensive streaming improvements - HTTP /meta API, signal dedup, periodic auto-sync - Enhanced 14 registry components + component gallery - Expanded variant system β€” 30+ new CSS class mappings - *= /= operators + 6 new array methods - Snake game streaming via relay - Game-pong.ds + two compiler improvements - Keyboard input, Web Audio synthesis, and multiplayer demo - Pong spectator viewer + stream proxy reactivity fix - Beats viewer, score sounds, audio early-exit guards - Core language & stream improvements - Complete type system β€” HM unification, signal-aware types, effect scoping - Tetris β€” signal composition showcase with 6 reactive layers - Live signal debug panel for tetris - Full grid collision, freeze, and T-piece support (20 rows) - Complete tetris rewrite β€” flat grid, SRS rotation, ghost piece toggle - Add Waveshare P4 panel device integration with display streaming and touch input, alongside core streaming engine - Implement Panel IR emitter to generate JSON UI descriptions for LVGL panels. - Implement ds-screencast engine, panel preview, and Waveshare ESP-NOW communication. ### πŸ› Bug Fixes - Bidirectional streaming sync β€” phoneβ†’laptop now works - Add _streamDiff to push/pop/reverse built-ins - Streaming polish β€” bind diff, state snapshot, dead code cleanup - Signal composition β€” stream derived signals, fix identity check, correct relay routing - Use explicit /peer/counter channel for streaming-counter - Integer division + streaming restart - Component prop signal wrapping + import demo - When/else parentNode null guard for slot context + match parser boundaries + showcase demo - Match parser allows container bodies in arms - Merge duplicate click props + upgrade streaming examples - For-in parser token mismatch + enhanced step sequencer - Reactive component props + breakout improvements - Tetris collision detection β€” pieces now stack properly - Collision off-by-one β€” pieces now stack adjacently - Keyboard inputs now respect collision β€” soft drop and hard drop gated on blocked - Complete collision β€” checks both top row and bottom cell - Piece-type aware collision β€” only T-piece checks bottom cell - No-overlap rendering β€” hide foot cell for non-T pieces, render all 20 rows - I-piece now persists all 4 cells and renders at correct row ### πŸ”§ Refactoring - Type system second pass β€” deeper unification throughout - Complete collision system rewrite β€” decomposed sub-signals ### πŸ“š Documentation - Add STREAM_COMPOSITION.md β€” full API reference and protocol spec - Comprehensive documentation update ### ⚑ Performance - Streaming core improvements β€” batched diffs, RTT tracking, relay merging - Merge same-interval timers + breakout game + beats viewer ## [0.1.0] - 2026-02-26 ### πŸš€ Features - Add DreamStack project vision and detailed implementation plan documentation. - DreamStack compiler foundation β€” Phase 0/1 - TodoMVC example with full reactivity - Phase 2+3 β€” effects, streams, springs, search + dashboard - Phase 3+4 β€” Cassowary constraint solver + type system - Phase 5 β€” Live Playground with editor, preview, signal graph, console - Showcase β€” What DreamStack Does That Nothing Else Can - Dev server with file watching + poll-based HMR - Signal propagation benchmarks + dev server HMR fix - For-in list rendering + component system - Hash-based router + keyed list reconciliation - Two-way binding, form props, and async resources - Universal bitstream streaming β€” any input β†’ any output - Physics language integration β€” scene container with Rapier2D WASM - **ds-stream:** RLE compression, input events, keyframe caching - **demos:** Sync protocol with Rust codec, add touch/gamepad support - **compiler:** Full bitstream integration across 7 pipeline stages - **compiler:** Complete bitstream integration β€” all 9 changes - **examples:** Add streaming .ds examples β€” compiler-native streaming - **wasm:** Add ds-stream-wasm crate β€” browser codec via WebAssembly - **relay:** Multi-source routing β€” /source/{name} and /stream/{name} - **examples:** Add streaming-physics.ds, mark all roadmap items complete - WebRTC transport β€” peer-to-peer data channels with auto-fallback - Production hardening β€” relay v1.0.0, receiver protocol completeness ### πŸ“š Documentation - Add implementation status, benchmarks, and React comparison to DREAMSTACK.md - Add router to DREAMSTACK.md features and comparison - Mark all integration spec changes as implemented, update test counts - Add Next Steps roadmap (Phases A-C) to integration spec - Add compiler-native streaming syntax to language reference - Add USE_CASES.md β€” vision, revenue paths, and demo roadmap