base/CHANGELOG.md

35 lines
1.9 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# CHANGELOG
## v1.0.3 (2026-05-18)
### 修复
- **渲染引擎兼容**: 适配了最新的 State.js 架构,解决了由于组件扫描时序导致的 `FastList``FastTree` 等组件无法正确初始化的问题。确保了 `RefreshState` 的正确执行。
- **模板合并增强**: 解决了当 `slot` 内容为 `TEMPLATE` 标签时,内容无法正确合并至组件内部的问题。
- **状态透传**: 修复了 `FastGroupedList``FastTree` 内部嵌套 `FastList` 时,列表数据未正确透传的 Bug。
- **接口对齐**: 统一了 `FastTree``FastGroupedList``refresh` 方法,支持外部通过组件实例直接触发重绘。
## v1.0.2 (2026-05-18)
### 新特性
- **AutoForm**: 新增 `inline` 模式,支持紧凑的单行表单布局,并增强了与 `DataTable` 的联动能力(数据变化自动刷新)。
- **Resizer**:
- 支持 `$bind` 指令,实现尺寸的双向绑定。
- 新增 `resizing``change` 事件,便于监听实时与最终缩放结果。
### 优化
- **UI**:
- `Modal`, `Dialog`, `Toast` 默认主题色由 `body` 改为 `primary`,提升视觉引导。
- `Toast` 增加 `rounded` 圆角样式。
- 统一所有表单控件input/select/textarea`AutoForm` 中的设置默认为 `{}`
- **FastList**: 重构虚拟滚动逻辑为独立的 `VirtualScroll` 模块,提升代码复用性与可维护性。
## v1.0.1 (2026-05-14)
- **Perf**: 优化 `FastList` 渲染逻辑,消除 Layout Thrashing提升复杂列表GroupedList/Tree滚动性能达 10 倍以上。
- **Refactor**: 采用 `requestAnimationFrame` 优化初始化高度计算,减少闪烁。
## v1.0.0 (2026-05-14)
- **Feat**: 初始化项目结构,建立 ESM 开发环境。
- **Refactor**: 将 `base.js` 迁移至 `src/index.js`,采用 ESM 导出。
- **Build**: 配置 Vite 双轨构建系统。
- **Test**: 集成 Playwright 自动化测试。