Skip to content

v0.1.4

Choose a tag to compare

@ZtaMDev ZtaMDev released this 25 Dec 17:36
· 34 commits to main since this release

Release Notes - v0.1.4

round-core v0.1.4

This release focuses on simplifying the core framework and introducing powerful new reactive primitives for asynchronous data.

New Features

  • asyncSignal(fetcher): A new way to handle asynchronous data with built-in reactive states:
    • .pending(): Indicates if the fetch is in progress.
    • .error(): Contains any error that occurred.
    • .refetch(): Manually trigger a re-fetch.
  • Reactive try(signal): JSX try/catch blocks can now be reactive. By passing a signal to try(), the block will automatically re-run and attempt recovery when the signal updates.

Breaking Changes & Improvements

  • Global Error Handling Overhaul:
    • Removed internal global error boundaries and the red "Error in Provider" overlay.
    • The runtime now re-throws errors after logging them to the console, allowing standard JSX try/catch to take precedence.
    • Removed: ErrorBoundary component.
  • Descriptive Console Logs: Runtime errors now provide clear context, including the render phase and the component name where the error occurred.

VS Code Extension v0.1.4

Better developer experience and smarter code assistance.

Improvements

  • Smart Completion Icons: Fixed a bug where all completions appeared as generic text ("abc"). Variables, functions, methods, and keywords now show their correct VS Code icons.
  • Enhanced Syntax Mapping: Precision mapping refined for reactive try/catch blocks, ensuring squiggles and hovers align perfectly.
  • New Snippets:
    • round:try: Quickly scaffold a reactive try/catch block.
    • round:asyncSignal: Scaffold an asynchronous signal.

Bug Fixes

  • Fixed an issue where generic "abc" suggestions were shown instead of typed symbols.
  • Synced the compiler logic with round-core v0.1.4.