lemon_js_ui 0.2.1
lemon_js_ui: ^0.2.1 copied to clipboard
Declarative Flutter UI layer powered by package:lemon_js.
更新日志 / Changelog #
0.2.1 #
- 升级
archive依赖,并要求lemon_js ^0.2.1。 - Upgraded the
archivedependency and now requireslemon_js ^0.2.1.
0.2.0 #
中文 #
- 破坏性更新: 本次重构调整了公开类型、构造入口、参数和 JS helper,且不提供旧名称 兼容别名。升级前必须阅读 破坏性 API 迁移指南。
- 公开类型统一使用
JsUi*;低层JsUiSession移至独立的package:lemon_js_ui/lemon_js_ui_session.dart入口。 JsUiView、Bundle、Manifest、网络加载、资源引用、导航和生命周期 API 已简化并统一命名。- 宿主注入模型统一为
JsUiHostFeatures和JsUiCapabilityGroup.methods()。 - 删除重复的 Snapshot Map、Inspector Map、网络刷新和事件合并入口。
- JS helper 删除
defineComponent/action/event,页面组件统一使用Component()和标准事件对象。 - 启用完整公开 API 文档检查,并明确区分稳定导出与内部 renderer/helper 实现。
English #
- Breaking update: This refactor changes public types, constructors, parameters, and JavaScript helpers. No compatibility aliases are provided. Read the breaking API migration guide before upgrading.
- Standardized public types on the
JsUi*prefix and moved the low-levelJsUiSessionAPI topackage:lemon_js_ui/lemon_js_ui_session.dart. - Simplified and standardized
JsUiView, bundle, manifest, network loading, resource reference, navigation, and lifecycle APIs. - Replaced host injection with
JsUiHostFeaturesandJsUiCapabilityGroup.methods(). - Removed duplicate snapshot-map, inspector-map, network-refresh, and event-coalescing entry points.
- Removed the
defineComponent/action/eventJavaScript helpers in favor ofComponent()and standard event objects. - Enabled complete public API documentation checks and clarified stable exports versus internal renderer/helper implementations.
0.1.1 #
0.1.0 #
中文 #
- 提供由 JavaScript 描述、Flutter 原生渲染的动态 UI 页面运行时。
- 提供
Page、内置布局/控件、事件分发、生命周期、导航和宿主能力注入。 - 提供 Canvas 2D、粒子、动画、快照、Overlay、滚动和通用控件效果。
- 提供页面资源包、manifest 校验、网络加载、诊断面板和性能质量降级。
- 提供
quickjs_ui.d.ts、Schema 和lemon_js_ui:codegen代码提示生成工具。
English #
- Added a dynamic UI runtime described in JavaScript and rendered with native Flutter widgets.
- Added
Page, built-in layouts and controls, event dispatch, lifecycle handling, navigation, and host capability injection. - Added Canvas 2D, particles, animation, snapshots, overlays, scrolling, and general widget effects.
- Added page bundles, manifest validation, network loading, diagnostics, and adaptive performance quality.
- Added
quickjs_ui.d.ts, schemas, and thelemon_js_ui:codegeneditor tooling.