Tags: fluttercandies/fjs
Tags
📝 docs: add Mikan Flutter as real-world usage example Add new "Real-world Usage" section showcasing Mikan Flutter, a production Flutter client that uses FJS to power its JavaScript execution engine. This demonstrates practical application of FJS in anime subscription and management platform.
📝 docs: add Mikan Flutter as real-world usage example Add new "Real-world Usage" section showcasing Mikan Flutter, a production Flutter client that uses FJS to power its JavaScript execution engine. This demonstrates practical application of FJS in anime subscription and management platform.
👷 ci: fix Android signing config for Groovy DSL build.gradle
修正工作流中 Android 签名配置脚本,适配实际项目之 build.gradle(Groovy DSL):
- 文件名:build.gradle.kts → build.gradle
- signingConfigs 语法:create("release") → release
- 属性赋值:移除 Kotlin DSL 等号(storeFile = → storeFile)
- 正则匹配:signingConfigs.getByName("debug") → signingConfigs.debug
此前因预设 Kotlin DSL 配置文件,致构建失败。今已修正,Android APK 构建当可通行。
🎨 style: format code with dart formatter 应用 dart format 自动格式化,调整代码风格以符 Dart 规范。 受影响文件: - example/lib/app/home_screen.dart - example/lib/screens/*.dart(6 个屏幕文件) - example/lib/services/*.dart(3 个服务文件) - example/lib/widgets/*.dart(2 个组件文件) - example/integration_test/simple_test.dart - example/pubspec.lock(依赖锁定文件)
📝 docs: update documentation for v2.0.0 with new API Update CHANGELOG with v2.0.0 breaking changes and features. Rewrite README and README_zh to match new API signatures. Update pubspec.yaml to version 2.0.0. Key changes documented: - JsEngineCore renamed to JsEngine - Removed exec() method in favor of direct methods - Named parameters throughout for clarity - New methods: call(), evaluateModule(), isModuleDeclared() - Updated all code examples and API documentation BREAKING CHANGE: Version 2.0.0 - Major API restructuring
✨ refactor: restructure API with engine, error, runtime, and source m… …odules (#4) - 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
fix: improve result display in example apps to use .value and jsonEncode
- Replace result.toString() with JsonEncoder.withIndent(' ').convert(result.value)
- Update playground_screen.dart to use proper JSON formatting for results
- Update app.dart to use proper JSON formatting for results
- Add dart:convert import where needed
- Ensures consistent and properly formatted result display across all example apps
PreviousNext