Repository navigation
v0.1.4
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): JSXtry/catchblocks can now be reactive. By passing a signal totry(), 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/catchto take precedence. - Removed:
ErrorBoundarycomponent.
- 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/catchblocks, 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-corev0.1.4.