Skip to content

Conversation

@iota9star
Copy link
Member

This pull request introduces a major update to the API structure and the example app, focusing on improved organization, comprehensive testing, and enhanced developer experience. Key changes include a breaking API restructure, fixes and optimizations for Promise handling, new integration tests, and significant improvements to the example app’s navigation and documentation screens.

API Restructuring and Core Fixes

  • BREAKING: Deprecated the old js module and introduced new engine, error, runtime, and source modules for clearer API organization.
  • Fixed several Promise handling issues: proper unwrapping of results, correct awaiting of nested Promises, and improved handling of undefined values.
  • Performance optimizations for BigInt and Symbol conversions using native APIs, and improved file reading efficiency.

Testing and Internal Improvements

  • Added over 130 integration tests covering Promise edge cases, boundary conditions, and memory management.
  • Improved internal logic for Promise result detection, removed unused variables, and clarified code.
  • Removed legacy test files: test_js_examples.dart and test_load_verification.dart are deleted as part of the test suite refactor. [1] [2]

Example App Navigation and Screens

  • Updated AppRouter to support new API screens (engine, error, runtime, source, etc.) and replaced HomePage with HomeScreen. [1] [2]
  • Added a new ApiOverviewScreen providing a navigable reference for all API categories, with hero section, category grid, and quick usage reference.

Documentation

  • Updated CHANGELOG.md to reflect all breaking changes, fixes, optimizations, and improvements for version 1.4.0.

…odules

- Remove deprecated js API modules
- Add new engine, error, runtime, and source API modules
- Update example app with new API screens
- Add widgets directory for UI components
- Update package dependencies and changelog
- Update CHANGELOG.md with latest changes
- Modify integration test in example
- Update runtime.rs implementation
- Sync package dependencies
@iota9star iota9star merged commit ed34995 into main Dec 1, 2025
@iota9star iota9star deleted the feat/nice branch December 1, 2025 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants