Skip to content

Round v0.0.3

Choose a tag to compare

@ZtaMDev ZtaMDev released this 17 Dec 01:40
· 70 commits to main since this release

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 Suspense boundary 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 if blocks 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 Fragment wrapping for multi-element if blocks, making manual wrapping unnecessary in more complex scenarios.

core

  • Internal: Added SuspenseContext and captureContext API to support better async coordination.