2026-03-08 23:12:54 -07:00
|
|
|
# Changelog
|
|
|
|
|
|
|
|
|
|
All notable changes to this package will be documented in this file.
|
|
|
|
|
|
2026-03-10 21:07:22 -07:00
|
|
|
## [0.6.0] - 2026-03-10
|
2026-03-08 23:12:54 -07:00
|
|
|
|
2026-03-10 21:07:22 -07:00
|
|
|
### Changed
|
|
|
|
|
- Constructor match patterns now emit `s.tag === 'Ok'` with `.value` binding (was bare `=== "Ok"` with no binding)
|
|
|
|
|
- `emit_pattern_check()` supports all 7 Pattern variants including Tuple, IntLiteral, BoolLiteral
|
2026-03-08 23:12:54 -07:00
|
|
|
|
2026-03-10 21:07:22 -07:00
|
|
|
### Added
|
|
|
|
|
- **JS emitter**: 12 new tests — routes, layout constraints, timers (`every`), stream declaration, component slots, nested when/else, style bindings, exports, imports, reactive each, doc comments, minify flag
|
|
|
|
|
- **JS emitter**: 5 match codegen tests — constructor binding, wildcard fallback, let-match expression, int/bool literal codegen
|
|
|
|
|
- **Panel IR emitter**: 4 new tests — multi-signal, container children, empty view, button handler
|
|
|
|
|
- `emit_minified()` test helper
|
|
|
|
|
- Tuple destructuring → `Array.isArray` with indexed binding
|
|
|
|
|
- IntLiteral/BoolLiteral patterns → direct `===` comparisons
|
2026-03-08 23:12:54 -07:00
|
|
|
|
2026-03-10 21:07:22 -07:00
|
|
|
### Test Coverage
|
|
|
|
|
- **35 tests** (was 14 in v0.5.0)
|
|
|
|
|
|
|
|
|
|
## [0.5.0] - 2026-03-09
|
|
|
|
|
|
|
|
|
|
- Initial release with JS and Panel IR emitters
|