Repository navigation
Round v0.0.3
Round v0.0.3 Release Notes
Improvements & Bug Fixes
This release focuses on stability, error handling, and developer experience improvements.
Bug Fixes
- Runtime Stability: Fixed a critical issue where asynchronous signal updates triggering a
Suspenseboundary would cause an uncaught[object Promise]error in the window. This was resolved by implementing robust Context propagation for effects. - Compiler Parser: Fixed a bug in the template transformer where
ifblocks containing strings with braces or comments were not correctly wrapped, causing syntax errors.
Developer Experience
- Lazy Loading Validation: Added a specific error message when trying to render a
lazy()component outside of a<Suspense>boundary:cannot instance a lazy component outside a suspense. - Component Name Validation: The framework now enforces PascalCase for custom components. Using a lowercase tag (e.g.,
<counter />) for a component will now throw a descriptive error:Component names must start with an uppercase letter. - Implicit Fragments: improved automatic
Fragmentwrapping for multi-elementifblocks, making manual wrapping unnecessary in more complex scenarios.
core
- Internal: Added
SuspenseContextandcaptureContextAPI to support better async coordination.