Releases: baidu/amis
Releases · baidu/amis
v2.7.1
2023-02-01
问题修复 Bugfix 🐛
- fix: 修复 sdk 报 index.html 找不到的问题 (#6122) @2betop
- fix: 修复sdk导出报错问题 (#6120) @wanglinfang2014
样式调整 Style 🌈
- styles: 优化图片上传组件图标样式 (#6114) @qinhaoyan
v2.7.0
2023-01-31
新功能 Features 🚀
- feat: Nav支持layout可视化 (#6063) @wanglinfang2014
- feat: mapping组件默认值value支持表达式 (#6034) @CheshireJCat
- feat: 核心组件相关改动 (#6025) @tooeast
- feat: transfer & select 其他模式支持 showInvalidMatch 字段; tree 模式带 deferApi 情况下不添加 unmatched option (#6022) @tooeast
- feat: 动作上下文补充__rendererData用于获取组件当前数据域 (#6026) @hsm-lv
- feat: Tag&Icon接入事件 (#6016) @hsm-lv
- feat: 扩充setValue动作, 支持beforeSetData (#5585) @lurunze1226
- feat: Container支持可拖拽 (#5949) @lurunze1226
问题修复 Bugfix 🐛
- fix: 修复toast失败图标丢失问题 (#6111) @qinhaoyan
- fix: 单测问题修复 (#6107) @tooeast
- fix: 修复 imageGallery 开启 showToolbar 功能后导致页面不可滚动的问题 (#6108) @2betop
- fix: Tabs、table2 warning 问题修复 (#6072) @tooeast
- fix: panel renderLabel 透传问题;tableCell inputOnly 透传问题修改 (#6083) @tooeast
- fix: 修复staticClassName变化时被shouldComponentUpdate优化掉不重新渲染的问题 (#6038) @CheshireJCat
- fix: 修复Tree outline 偏移 (#6085) @meerkat-morecats
- fix: Tree编辑子节点无法取消的情况 (#6079) @meerkat-morecats
- fix: NestedSelect搜索后未重置数据源; chore: NestedSelect搜索支持value字段 (#6055) @lurunze1226
- fix: 修复 select 级联模式和分组模式下 labelField 丢失问题 (#6057) @KillenMr
- fix: 判断 defer tree 条件补充 (#6060) @tooeast
- fix: 修复 tree 配置了 defer 属性时,展开错误 (#6056) @meerkat-morecats
- fix: 修复 Tree 在拖拽后item使用旧的key导致的渲染异常 (#6043) @meerkat-morecats
- fix: ajax动作responseData配置失效问题 (#6041) @hsm-lv
- fix: 修复inputDate组件有默认值时首次触发blur值会被清空的问题 (#6011) @CheshireJCat
- fix: 修复anchor锚点导航组件设置visible隐藏时,组件报错的bug (#6014) @CheshireJCat
- fix: InputQuarterRange 单测问题修改 (#6008) @tooeast
- fix: NestedSelect搜索后未重置数据源 (#6055) @lurunze1226
- fix: dateRangePicker 取消问题修复 (#6090) @tooeast
日常维护 Chore
- chore: Each 组件单元测试补充 (#6095) @tooeast
- chore: SearchBox 组件单元测试补充 (#6094) @tooeast
- chore: Steps 组件单元测试补充 (#6093) @tooeast
- chore: InputSubForm 单测补充 (#6049) @tooeast
- chore: ListSelect 单测补充 (#6048) @tooeast
- chore: NestedSelect搜索支持value字段 (#6055) @lurunze1226
- chore: 处理Scope中setData参数声明 (#6036) @lurunze1226
- chore: tooltipWrapper 单测补充 (#6007) @tooeast
- chore: image/images 单测补充 (#6006) @tooeast
- chore: 调整 api jsonql 逻辑 (#6017) @2betop
- chore: api 支持 jsonql 格式 (#6009) @2betop
- chore: TplSchema属性声明 (#6053) @CheshireJCat
- chore: Picker 单测补充 (#6050) @tooeast
样式调整 Style 🌈
- styles: 修复toast组件图标问题 (#6062) @qinhaoyan
- styles: 修复status图标颜色问题 (#6045) @qinhaoyan
- styles: 修复公式编辑器样式 (#6031) @qinhaoyan
- styles: 云舍样式对齐 (#6030) @qinhaoyan
- styles: 主题二期合入 (#6023) @qinhaoyan
- styles: 主题变量bugfix (#6015) @qinhaoyan
文档更新 Docs
2.6.0
2022-12-30
新功能 Features 🚀
- feat: input-excel 支持解析图片 (#5937) @nwind
- feat: Spinner 增加 loadingConfig 属性,控制Spinner不展示、指定挂载节点 (#5933) @meerkat-morecats
- feat: formula支持函数注册 (#5988) @hsm-lv
- feat: 添加自定义解析页面URL方法 (#5987) @igrowp
- feat: 动态删除已注册的语料数据的方法 (#5986) @QKflame
- feat: tabsTransfer tree模式支持autoCheckChildren (#5981) @allenve
- feat: 图片上传成功事件参数优化 (#5977) @hsm-lv
- feat: 移动端选人组件支持自定义字段 (#5967) @z1769057083
- feat: 文字和表格数据元素支持鼠标事件 (#5963) @hsm-lv
- feat: Add autoresize plugin for tinymce component (#5919) @haoziwithinspace
问题修复 Bugfix 🐛
- fix: 修复表单项静态展示除水平布局外不生效的问题 (#6003) @CheshireJCat
- fix: inputMonth 动态minDate不更新 (#5909) @tooeast
- fix: transform is undefined (#5905) @wleven
- fix: 修复CRUD的filter中clearValueOnHidden字段使用上次保留值的问题 (#5896) @lurunze1226
- fix: tabs 标签滚动问题修复, 优化滚动逻辑 (#5871) @tooeast
- fix: 表单类组件和代码高亮组件支持style响应式 (#6001) @wibetter
- fix: dropdownButton 更新快照 (#5993) @tooeast
- fix: 表单组件和面板组件style设置细节完善 (#5992) @wibetter
- fix: input-formula 选项无value时报错 (#5990) @allenve
- fix: 解决tree异步数据不渲染的问题 (#5980) @meerkat-morecats
- fix: 修复 sendOn 可能被绕过的问题 (#5978) @2betop
- fix: 移动端人员选择静态展示头像url回显 (#5976) @z1769057083
- fix: 处理 Tree 组件 warning (#5970) @meerkat-morecats
- fix: 统一组件style属性ts校验格式 (#5968) @wibetter
- fix: 修复inputNumber静态展示时未处理前后缀,千分隔的问题 (#5957) @CheshireJCat
- fix(InputImage): 细节调整 (#5964) @wibetter
- fix: input-image配置initAutoFill为false不生效问题修复 (#5954) @wibetter
- fix: container增加wrapperBody属性, 可用于控制body外是否加一层div包裹 (#5939) @wibetter
- fix: Spinner 在初始化时触发react warning (#5893) @meerkat-morecats
- fix: inputTable编辑按钮Bug (#5878) @guanyue-leo
- fix: 增加动态注册渲染器机制后,自定义控件无法传入 autoVar 参数 #5886 (#5940) @hotlong
日常维护 Chore
- chore: Service组件提供__response字段用于区分接口失败情况 (#5792) @lurunze1226
- chore: 修复 git pages cros 报错 (#6000) @nwind
- chore: 表单验证错误稀释 10s 内只弹一次 (#5999) @2betop
- chore: table 不应该透传 autoGenerateFilter (#5998) @2betop
- chore: amis-core Form 的 props 类型中增加 loadingConfig (#5995) @meerkat-morecats
- chore: 轮播图单测布补充 (#5972) @tooeast
- chore: Progress 单测补充 (#5973) @tooeast
- chore: DropDownButton 单测补充 (#5974) @tooeast
- chore: 补充 Tree source 单测 (#5983) @meerkat-morecats
- chore: 去除 popover 部分快照 (#5965) @tooeast
- chore: nav 单测补充 (#5911) @tooeast
- chore: conditionBuilder 单测补充 (#5950) @tooeast
- chore: popOver 单测补充 (#5948) @tooeast
- chore: 修正 input-tree 文档中对 extractValue 的描述 (#5907) @meerkat-morecats
- chore: AnchorNav 单测补充 (#5912) @tooeast
- chore: action 单测补充 (#5910) @tooeast
- chore: cfc 服务接口允许Access-Control-Allow-Credentials (#5928) @nwind
- chore: 处理ts warning (#5994) @meerkat-morecats
- chore: 修改 render 方法中 replaceText 从 options 中取值; 2. replaceText 方法增加拷贝逻辑; … (#5944) @QKflame
样式调整 Style 🌈
- style: 表单类组件和代码高亮组件支持style响应式 (#6001) @wibetter
- style: 表单组件和面板组件style设置细节完善 (#5992) @wibetter
- style: 统一组件style属性ts校验格式 (#5968) @wibetter
- style: 修复select组件删除\编辑图标样式 (#5946) @qinhaoyan
- style: 所有UI组件支持style设置 (#5931) @wibetter
- style: select-tree-style-fix (#5920) @qinhaoyan
- style: 边栏样式调整 & select clear icon (#5898) @qinhaoyan
- style: select-tree-style-fix (#5920) @qinhaoyan
文档更新 Docs
- docs: 補充namespace缺少的cookie (#5926) @mao-shonen
- doc: 补充 amis-editor 文档 (#5996) @2betop
- docs: 修改切换主题中多余的. (#5913) @maojunxyz
2.5.2
更新记录
- chore: collapse & fieldSet 组件单测补充 (#5873) @tooeast
- feat: mapping组件支持数组数据源,自定义渲染模板itemSchema (#5882) @CheshireJCat
- feat: debounce event (#5848) @pianruijie
新功能 Features 🚀
- feat: amis-ui>form 支持受控模式 (#5895) @2betop
- feat: 增加动态注册渲染器机制 (#5875) @wibetter
- feat: 组件可见性、可用性动作支持表达式 (#5876) @zhaojianhui-a
问题修复 Bugfix 🐛
- fix: tree 组件重复添加父节点问题, tabsTransfer tree 模式onlyChildren默认值 (#5894) @tooeast
- fix: 修复旧版static-xxx组件inputClassName重复的问题 (#5885) @CheshireJCat
- fix: 国际化兜底处理 (#5877) @qinhaoyan
- fix: 修复css变量文件编译报错问题&chore:新增样式校验 (#5862) @qinhaoyan
- fix: 日期范围组件,比较日期粒度问题 (#5863) @tooeast
日常维护 Chore
- chore: CRUD调整查找父容器逻辑, 避免React Warning (#5891) @lurunze1226
- chore: confirmBox 的 onConfirm 也可能是异步的 如果存在异步错误也需要捕获 (#5856) @2betop
- chore: pagination 单测 (#5872) @tooeast
- fix: 修复css变量文件编译报错问题&chore:新增样式校验 (#5862) @qinhaoyan
- chore: 修复内网发包时部分ESM模块中路径未替换问题 (#5843) @lurunze1226
样式调整 Style 🌈
- style: ang主题调整 (#5890) @qinhaoyan
- styles: 修正右键菜单hover时icon异常 (#5868) @wibetter
2.5.1
2022-12-01
因为rc-input-number
依赖的不兼容升级, 导致构建可能会报错, 可以通过升级到2.5.1
版本解决
日常维护 Chore
- chore: 修复rc-input-number非兼容升级的依赖 (#5860) @lurunze1226
- chore: inputQuarterRange 单测问题修复 (#5857) @tooeast
2.5.0
2022-12-01
新功能 Features 🚀
- feat: bytes 过滤器 支持指定 step (#5737) @502647092
- feat: Combo组件minLength, maxLength支持变量传入 (#5739) @lurunze1226
- feat: Tree, Transfer, Select特殊选择模式支持虚拟列表 (#5829) @tooeast
- feat: 在分支条件时允许给 dropdown-button 添加类名 (#5733) @sheeepli
- feat: tree-select 支持 maxTagCount 属性 (#5784) @tooeast
- feat: Timeline组件节点icon支持图片url (#5794) @lurunze1226
- feat: Image开启工具栏后支持滚轮放大/缩小图片 (#5786) @lurunze1226
- feat: api支持自定义提示信息 (#5761) @hsm-lv
- feat: combo组件添加addItem动作 (#5756) @sqzhou
- feat: iframe接入事件动作 (#5754) @hsm-lv
- feat: SearchBox接入事件 (#5753) @hsm-lv
- feat: 部分组件支持init事件&部分选项组件支持selectedItems参数 (#5700) @hsm-lv
- feat: confirmText 当运算结果为空时不展示,可以实现根据条件二次弹窗的需求场景 (#5714) @2betop
- feat: inputTable 支持配置 minLength maxLength 限制个数 (#5717) @2betop
- feat: 补充 ConfirmBox ui 控件, 并将 PickerContainer 改成 ConfirmBox 实现 (#5708) @2betop
- feat: ui 组件 form 支持 autoSubmit (#5695) @2betop
- feat: Remark组件支持自定义图标 (#5694) @blue-squirrel
- feat: 添加 Combo InputTable ui 组件 (#5690) @2betop
- feat: chart 支持配置加载 geojson 及百度地图 (#5674) @nwind
- feat: timeline时间轴支持自定义图标 (#5668) @blue-squirrel
- feat:chart接入事件动作 (#5669) @hsm-lv
- feat: iframe支持base64编码的mime类型 (#5624) @lurunze1226
- feat: 添加 isVariableName 验证器 (#5729) @2betop
- feat: Form添加puresubmit (#5326) @pianruijie
- feat: pickerContainer 增加 bodyClassName (#5740) @allenve
问题修复 Bugfix 🐛
- fix: picker 默认 valueField 下的问题, 参照录入增加传递 valueField 字段 (#5845) @tooeast
- fix: Select选项编辑和删除提示遮挡问题修正,改用top展示 (#5842) @wibetter
- fix: 修复 combo 单条模式 subFormMode 配置无效问题 (#5834) @2betop
- fix(默认值支持公式): 清空value时删除数据域中对应的数值 (#5840) @wibetter
- fix(默认值支持表达式): 兼容非法公式展示,避免渲染异常 (#5839) @wibetter
- fix: formItem 在 shouldUpdate 属性列表中增加 loading (#5830) @meerkat-morecats
- fix: maxKeepItemSelectionLength默认值为0导致Picker无法选择问题 (#5801) @lurunze1226
- fix: 优化多个loading时的性能 (#5804) @meerkat-morecats
- fix: table 开启快速编辑即时保存依然展示提交按钮 (#5802) @tooeast
- fix: 设置menuTpl时title内容被错误转义问题 (#5798) @lurunze1226
- fix: inputTable组件中嵌套Combo时数据域覆盖问题 (#5791) @tooeast
- fix: 修复textarea focus逻辑不生效 (#5795) @meerkat-morecats
- fix[types]: 补充组件类型声明 (#5789) @jiatianqi
- fix: pc端城市选择香港、澳门不能选择市 (#5774) @z1769057083
- fix: 修复安全风险,避免调用原型上方法 (#5797) @2betop
- styles: input-image固定尺寸后fixedSize下预览失败 (#5785) @pcdqc
- fix: table itemActions 左右滚动位置问题修复 (#5746) @tooeast
- fix: inputTable 复制取消问题修复 (#5748) @tooeast
- fix: combo组件文档draggableTip字段默认值问题 (#5768) @sqzhou
- fix: log文档 (#5770) @lghxuelang
- fix[CodeMirror] 聚焦、失焦事件补充 (#5764) @jiatianqi
- fix:chart事件失效问题 (#5765) @hsm-lv
- fix: 日期类组件字体大小修复 (#5743) @qiaogg
- fix: 修复 showSteps 为 false 时不生效的问题(#5723) (#5727) @sheeepli
- fix: 修复 xxxOn 在 store 里面可能不更新的问题 (#5721) @2betop
- fix: InputText组件开启autoComplete添加重复内容时错误清空value问题 (#5673) @lurunze1226
- fix: dateRange test 快照去除 (#5715) @tooeast
- fix: 评分组件 count 支持变量获取 (#5681) @tooeast
- fix: 修复查看代码报 require is not defined 错误 (#5704) @2betop
- fix: filter 过滤器 isTrue/isFalse 问题修复 (#5676) @tooeast
- fix: #4681 (#5477) @h7ml
- fix: 数字输入框-属性配置-placeholder置灰+边框与form-input统一 (#5666) @swjtulmy
- fix: input-number 大数模式下, min、max 支持大数 (#5660) @tooeast
- fix: 调整echarts-stat使用方式,兼容vite打包异步非esm模块 (#5672) @wibetter
- fix: Table组件开启checkOnItemClick后无法限制选择上限问题 (#5632) @lurunze1226
- fix: CURD列label为变量时export-excel未替换 (#5627) @lurunze1226
- fix: 修复condition-builder组件select类型placeholder属性不生效的bug (#5809) @iceqing
日常维护 Chore
- chore: form 渲染器添加 setErrors 方法可以外部设置表单错误 (#5851) @2betop
- chore: 一些单测偶现问题修改 (#5849) @tooeast
- chore: Jest测试环境下关闭log输出 (#5846) @lurunze1226
- chore: getTheme默认入参为cxd (#5823) @lurunze1226
- chore: tabs、tabsTransfer、tabsTransferPicker 单测补充 (#5821) @tooeast
- chore: 避免 stack 不存在导致的报错 (#5815) @nwind
- chore: 修复inputRef类型错误 (#5806) @meerkat-morecats
- chore: combo 单测补充 (#5752) @tooeast
- chore: button-group-select 单测补充 (#5782) @tooeast
- chore: input-city chained-select 单测补充 (#5777) @tooeast
- chore: 修复主题编辑器报错导致没法用 Close #5316 (#5775) @nwind
- chore: 调整 svg 配置能在文件夹中一眼看出来是啥样 (#5738) @2betop
- chore: ui form 支持 onValidate (#5747) @2betop
- chore: 优化数组类表单输入,解决编辑失去焦点问题 (#5728) @2betop
- chore: 日期范围类组件单元测试补充 (#5705) @tooeast
- chore: 优化 locale, theme hoc, 存在 context 直接复用 (#5702) @2betop
- chore: InputNumber严格判断大数模式,避免错误抛出string类型值 (#5703) @lurunze1226
- chore: InputArray新增默认值示例, 调整Combo组件scaffold逻辑 (#5701) @lurunze1226
- chore: sdk embed 方法添加 callback 在 callback 中可确保 scoped 方法是可用的 (#5698) @2betop
- chore: 本地开发 app 模式也支持 vite (#5686) @2betop
- chore: 调整 vite 后 gh-pages 问题修复 (#5682) @2betop
- chore: 开发环境切成 vite (#5677) @2betop
- chore: coverage 执行换成 v8 解决内存问题 (#5679) @nwind
- chore: 修复 coverage 运行报错 (#5678) @nwind
- chore: 处理编译TS Warning,调整TableStore中label解析的顺序 (#5670) @lurunze1226
- chore: input-group 没有 name 不应该报 warning (#5667) @nwind
- chore: 设置 tsconfig.json 修改 vscode 文件定位到源码 (#5665) @2betop
- chore: 人员选择组件关闭下拉框后清空搜索结果 (#5658) @lurunze1226
- chore: 调整useMobileUI参数判断 (#5616) @lurunze1226
- chore: 开发模式下替换__buildVersion (#5663) @lurunze1226
- chore: TabsTransfer透传multiple属性 (#5735) @allenve
- chore: 修正 react-hook-form 及 qrcode 未 ES5 编译问题 (#5617) @tianyk
- chore: combo组件items扩充编辑器的拖拽点位 (#5693) @sqzhou
样式调整 Style 🌈
- styles: CRUD工具栏中的Select自动计算挂载点避免遮挡 (#5800) @lurunze1226
- styles: 修复card\images样式 (#5744) @qinhaoyan
- style: 主题变量整理 (#5712) @qinhaoyan
- styles: Transfer组件默认值与option不匹配时错误提示 (#5604) @lurunze1226
- styles: Table组件label与表头按钮重叠问题修复 (#5749) @tooeast
文档更新 Docs
- doc: 过滤器bytes支持传参step (#5760) @duqingyu
- doc: 完善 Spinner 文档 (#5837) @meerkat-morecats
- doc: 增加 Spinner 默认表现说明 (#5831) @meerkat-morecats
- docs: 文档-快速开始-切换主题,不必要的文字 (#5719) @juetan
- docs: 修复formItem文档属性表展示错乱问题 (#5731) @CheshireJCat
- docs: InputTable文档needConfirm属性细化描述 (#5724) @lurunze1226
2.4.0
2022-10-31
新功能 Features 🚀
- feat: transfer结果搜索支持labelField和label (#5630) @sqzhou
- feat: List组件支持itemClick事件; chore: Picker组件事件名称修正为驼峰格式 (#5620) @lurunze1226
- feat: input-text 支持配置 clearValueOnEmpty 在内容为空时删除表单项的值 (#5568) @nwind
- feat: 中性色变量修改 (#5613) @hy993658052
- feat: tinymce 添加 quickbars 插件 (#5603) @2betop
- feat: 将默认px替换为rem 2px===0.125rem (#5600) @blue-squirrel
- feat: 表单项组件展示态 (#5589) @CheshireJCat
- feat: 新版主题、新版图标 (#5588) @qinhaoyan
- feat: crud reload增加resetPage (#5561) @hsm-lv
- feat: formula 扩充公式 ARRAYFILTER 用来做数组过滤 (#5554) @2betop
- feat: 优化动作数据域 (#5544) @hsm-lv
- feat: TreeSelect支持创建顶层节点 (#5377) @Dalinaqiu
- feat: 拆分动作属性和数据 (#5583) @hsm-lv
- feat: condition-builder 交互优化 (#5570) @RickCole21
问题修复 Bugfix 🐛
- fix: Code组件部分情况无法渲染问题,自定义高亮失效问题 (#5642) @lurunze1226
- fix: 修复dialog内执行更新表单数据动作没有触发表单数据更新问题 (#5657) @hsm-lv
- fix: buildApi无数据情况下url多余?问题 (#5649) @hsm-lv
- fix: FormulaPicker value值不同步问题 (#5614) @tooeast
- fix: CRUD组件export-csv的api未携带filter参数问题 (#5558) @lurunze1226
- fix: Picker组件开启内联模式时默认值错误回显问题 (#5563) @tooeast
- fix: input-table 内部校验问题 (#5518) @tooeast
- fix: InputNumber组件设置精度为0时仍然可以输入小数问题 (#5599) @lurunze1226
- fix:select组件选中项很长的情况下,输入框内容的label显示问题 & 同样移动端也是存在显示问题 (#5240) @jiatianqi
- fix: 调整 path 的最大长度限制 (#5605) @meerkat-morecats
- fix: amis-ui Multiline Text 组件css提取 (#5607) @CheshireJCat
- fix: 修复多行文本展开收起不能自适应宽度的问题 (#5606) @CheshireJCat
- fix: CRUD缺少resetpage参数 (#5594) @hsm-lv
- fix: input-number单位报错&增强button样式 (#5593) @hy993658052
- fix:折叠器Collapse自定义图标&inputNumber对含后缀生效 (#5591) @blue-squirrel
- fix: 移动端级联选择器选中值bug修复 & fix: 移动端城市选择值回显 (#5576) @z1769057083
- fix: 修复 input-array 无法使用问题 (#5587) @nwind
- fix crud reload error (#5581) @hsm-lv
- fix: 修复渲染器id被覆盖问题 (#5571) @hsm-lv
- fix: 修复form 描述一行溢出问题 (#5552) @sqzhou
- fix: transfer全选事件问题 (#5549) @hsm-lv
- fix: formula函数说明错误 (#5548) @hsm-lv
- fix: 修复 crud 导出时会导出首列-操作列 (#5333) @meerkat-morecats
- fix: inputdate输入超过范围的日期后会在 blur 时恢复成旧的日期 (#5485) @meerkat-morecats
- fix: 城市选择组件移动端回显问题 (#5496) @z1769057083
- fix: Transfer 全选问题修复 (#5498) @tooeast
- fix: crud 表头固定宽度对齐问题 (#5499) @tooeast
- fix: Image 修改图片地址,图片显示问题修复 (#5537) @tooeast
- fix: 表单静态展示文档更新及问题修复 (#5643) @CheshireJCat
- fix: 修复root store数据处理问题 (#5610) @hsm-lv
日常维护 Chore
- chore: env 中处理器的包裹逻辑调整, 避免重复处理 (#5652) @2betop
- chore: amis 暴露版本信息供外部读取 (#5656) @2betop
- chore: ConditionBuilder组件i18n文案补充 (#5648) @lurunze1226
- chore: Excel 导出支持 input-city 类型的转换 (#5640) @nwind
- chore: 事件动作增加调试日志方便了解中间参数及中间结果 (#5641) @nwind
- chore: CRUD批量操作数据域新增currentPageData字段,优化文档描述 (#5635) @lurunze1226
- chore: 修复vite启动报错问题 (#5638) @qinhaoyan
- chore: 规范引入方式,兼容vite启动 (#5636) @qinhaoyan
- feat: List组件支持itemClick事件; chore: Picker组件事件名称修正为驼峰格式 (#5620) @lurunze1226
- chore: 公式添加 ISTYPE 用来判断类型 (#5597) @2betop
- chore: condition-builder 样式优化 (#5592) @RickCole21
- chore: Excel 导出时自动对 tpl 里的 html 实体进行解码 (#5560) @nwind
- chore: amis 暴露信息中补充 schema.json (#5551) @2betop
- chore: 删除SchemaType声明中重复的type定义 (#5512) @h7ml
- chore: 修复动作数据域优化问题 (#5602) @hsm-lv
- chore: 修改表单项静态展示配置优先级 @CheshireJCat
样式调整 Style 🌈
- style: quickEdit 列去掉 min-width 设置 (#5659) @2betop
- style: 修复select组件宽度溢出问题 (#5623) @qinhaoyan
- style: 优化input-image组件disabled态的样式 (#5595) @qinhaoyan
文档更新 Docs
- docs: CURD列配置文档优化 (#5625) @lurunze1226
- docs: 补充 tabs 作为表单项值的示例 (#5618) @nwind
- docs: Form组件debug区域配置项说明 (#5468) @lurunze1226
- docs: 处理移动端HTML报错 (#5536) @lurunze1226
- docs: 修复Date日期组件文档错误 (#5569) @WangXueZhi
- docs: 增加静态展示态相关文档 (#5609) @CheshireJCat
2.3.1
2022-10-11
问题修复 Bugfix 🐛
- fix: Spinner卡死问题 resolve #5515 (#5538) @meerkat-morecats
- fix: Picker组件开启embed模式无限渲染问题 (#5535) @lurunze1226
- fix:修复时间类、Transfer的事件动作 (#5530) @sqzhou
- fix: AutoFill的key为路径时不生效问题 (#5522) @lurunze1226
- fix:编译报错问题 (#5526) @hsm-lv
- fix:action.args为null时数据问题 (#5523) @hsm-lv
- fix: InputImage组件自动填充失效问题 (#5505) @lurunze1226
日常维护 Chore
2.3.0
2022-09-30
Break Change 🔥
- 由于ansi-to-react不支持React 18,我们取消了Log组件的高亮功能,组件的
disableColor
属性从2.3.0
版本起不再支持 - 规范了Range组件
change
事件的命名,updateValue => onChange
新功能 Features 🚀
- feat: input-number 支持大数模式 (#5332) @nwind
- feat: table2展开行支持多种方式 (#5320) @wanglinfang2014
- feat: 优化 Spinner 控制 loading 状态的逻辑 (#5458) @meerkat-morecats
- feat: Image/Images组件工具栏支持自定义 (#5247) @lurunze1226
- feat: Status组件图标支持数据映射 (#5460) @lurunze1226
- feat: Service组件dataProvider支持触发事件 (#5451) @lurunze1226
- feat: Combo Option to add item at the top of the list (#5270) @abasse
- feat: Added item click event to picker (#5253) @abasse
- feat: 人员选择组件增加确定按钮 & fix: saveAs 图片下载名称以配置项优先 (#5385) @z1769057083
- feat: fnUPPERMONEY 支持到兆 (#5403) @h7ml
- feat: 多个 Spinner 处于 loading 状态时, 只有最外层元素处在 loading 状态 (#5096) (#5375) @lurunze1226
- feat: ConditionBuilder组件左侧选项支持树形结构 (#5342) @igrowp
- feat: input-formula 支持 mixedMode 支持字符串和表达式混合输入 (#5372) @2betop
- feat: 表单支持配置 persistDataKeys 限制只持久化部分表单项 (#5289) @nwind
- feat: fnUPPERMONEY 支持到兆 (#5403) @h7ml
- feat: 人员选择组件增加确定按钮 @z1769057083
问题修复 Bugfix 🐛
- fix: inputRange更换事件名称 (#5470) @kano233333
- fix:修复富文本api高级配置上传报错问题 (#5483) @hsm-lv
- fix: 修复 fieldset 嵌套使用时样式问题及配置干扰问题 (#5479) @2betop
- fix: Form中嵌套容器后,容器中组件disabled失效问题 (#5473) @lurunze1226
- fix: Table开启表头分组和固定列时,固定列表头尺寸错误 (#5474) @lurunze1226
- fix: transfer 结果搜索默认提示语句错误&统计信息设置不生效 (#5371) @sqzhou
- fix: 修复 lazycomponent 因为 spinner 的调整可能不渲染的问题 (#5454) @2betop
- fix: 修复 inputText 对日期对象显示问题 (#5450) @2betop
- fix: xor 改奇数真时为真 (#5445) @2betop
- fix: 修复公式 xor (#5444) @2betop
- fix: 修复金额组件转换问题 (#5415) @tiezhu111
- fix: InputExcel表头包含RichText时解析错误问题 (#5441) @lurunze1226
- fix: json组件支持boolean基础类型 (#5413) @igrowp
- fix: 导出Excel时取字段的逻辑和CRUD fetch逻辑保持一致 (#5434) @lurunze1226
- fix: 人员组件搜索点选值展示问题及选中回显不是 label 的问题 (#5438) @2betop
- fix: save 语言替换 (#5436) @allenve
- fix: conditionBuilder ts类型报错修改 (#5428) @igrowp
- fix: 人员选择ts类型错误 (#5427) @z1769057083
- fix: saveAs 图片下载名称以配置项优先 (#5385) @z1769057083
- fix: 修复 @fex 替换不全导致内网版本部分组件无法加载问题 (#5412) @nwind
- fix: 修复 fnUPPERMONEY 导致单测挂掉问题 (#5410) @nwind
- fix: input-datetimerange 在起始时间大于 0 的时候,结束时间无法再选当天的问题 (#5407) @nwind
- fix: 修复 visibleOn 新公式用法结果为 undefined 时的依然可见的问题 (#5408) @2betop
- fix: 加回误删的 filterHtml 功能 (#5404) @nwind
- fix: input-formula 不同模式下高亮问题 (#5390) @allenve
- fix: 修复drawer组件设置closeOnOutside为false后,点击外部仍能关闭的问题 (#5387) @edogawaconan1996
- fix: 2.1.0 及以上版本升级到tinymce 6上传图片不兼容的问题 (#5382) @iceqing
- fix: crud id重复选择不一致问题修复 (#5246) @wanglinfang2014
- fix: table column 快捷操作同时支持 sortable 和一个非 sortable 的操作组合 (#5341) @meerkat-morecats
- fix: 修复文档错误(可以通过手动设置"close": true 来禁止该默认特性 (#5245) @lengqingfeng
- fix: inputText autoComplete 输入内容导致选项重复问题 (#5272) @tooeast
- fix: 修复 PopOver offset 属性失效问题 (#5311) @tooeast
- fix: 修复 minLength 验证数字时异常的问题 (#5357) @2betop
- fix: 修复 table 获取滚动的父元素不准确的问题 (#5329) @meerkat-morecats
- fix: 不要通过 isEqual 去比对 props.data 里面可能存在循环引用导致死循环 (#5353) @2betop
- fix: CRUD设置filterable时数字0默认被选中问题 (#5325) @lurunze1226
- fix: 用 dangerouslyHTML 代替 innerHTML 以使 tpl 中的标签有 diff 优化 (#5291) @corgii-123
- fix: 修复 debug 没有拿到最新的属性的问题 (#5345) @2betop
- fix: 修复选项类控件 placeholder 没有被翻译的问题 (#5336) @2betop
- fix: pullRefresh增加移动端判断 (#5343) @hy993658052
- fix: options 组件 clear 导致值为 undefined 问题 (#5334) @tooeast
- fix: 修复第三方 css 内联问题 (#5318) @2betop
- fix: 修复 Form Serivce 等自身带 store 的渲染器配置 disabledOn 或者 visibleOn 不及时生效的问题 (#5314) @2betop
- fix: getExprProperties 内部报错修复 (#5308) @2betop
- fix: 显示列字段不展示隐藏列 (#5307) @lurunze1226
- fix: 修复 disabledOn 可能无效的问题 (#5305) @2betop
- fix: formItem label translate error (#5300) @pcdqc
- fix: 选中关联编辑相关弹窗数据映射不统一 (#5296) @2betop
- fix: input-image 图片上传回显问题修复 (#5102) @biley
- fix: richtext设计态死循环问题 (#5489) @hsm-lv
- fix: 2.1.0 及以上版本升级到tinymce 6上传图片不兼容的问题 (#5382) @iceqing
日常维护 Chore
- chore: remove redundant log in build-schemas.ts (#5480) @lurunze1226
- chore: 处理Jest 28 => 29后snapshot格式不兼容问题 (#5487) @lurunze1226
- chore: 兼容hash mode下url获取query参数 (#5464) (#5466) @lurunze1226
- chore: 升级第三方依赖 react@5.4.0 downshift@6.1.7 sortablejs@1.15.0 (#5442) @nwind
- chore: iframe 在 https 页面加载 http 时报错提示 (#5414) @nwind
- chore: 过滤器url_encode将不合法的输入处理为undefined (#5423) @lurunze1226
- chore: treeSelector 显示箭头 (#5398) @2betop
- chore: 去除 ansi-to-react 依赖,日志模块不再提供高亮功能 (#5376) @nwind
- chore: 默认关掉 tinymce 的广告 (#5393) @nwind
- chore: evalMode 模式不应该支持${}语法 (#5392) @2betop
- chore: 修复编译 internal 版本未替换包名问题 (#5383) @nwind
- chore: 国际化词典兜底处理 (#5359) @qinhaoyan
- chore: 调整一下判断循序, 如果放在后面貌似已经没太多必要了 (#5355) @2betop
- chore: 修复 iframe 里 amis 字符被替换问题 (#5350) @nwind
- chore: merge master into feat-form-preview (#5365) @lurunze1226
- chore: 调整文件上传文件体积展示,转成 KB, MB 等展示,而不是字节 (#5328) @2betop
- chore: internal publish with revision.json (#5315) @lurunze1226
- chore: InputText, Textarea组件maxLength限制输入长度 @lurunze1226
样式调整 Style 🌈
- styles: AnchorNav组件标题溢出问题 (#5469) @lurunze1226
- styles: Table组件rowClassNameExpr使用bg-*类名失效问题 (#5453) @lurunze1226
- styles: 统一InputText和Select禁用态文字颜色 (#5432) @lurunze1226
- styles: Pagination每页条数浮层自动调整位置 (#5389) (#5422) @lurunze1226
- styles: 修复组合输入svg图标没有大小问题 (#5317) @qinhaoyan
- styles: Textarea清除按钮避免重叠 (#5433) @lurunze1226
文档更新 Docs
2.2.0
2022-09-01
新功能 Features✨
- feat: table 上 autoFillHeight 支持 {height: number} 来固定表格高度 (#5147) @meerkat-morecats
- feat: quickEdit 支持配置 reload 可以实现不自动刷新的功能 (#5260) @2betop
- feat: 增加图片裁剪属性配置 & 增加根据名称获取自定义FormItem方法 (#5120) @z1769057083
- feat: 大文件上传分块支持重试 (#5258) @2betop
- feat: FormItem格式校验支持日期时间规则 (#5241) @lurunze1226
- fix: DateRange组件关闭面板时写入InValid Date问题; feat: DateRange游标动画支持控制 (#5223) @lurunze1226
- feat: editor 支持配置 placeholder (#5196) @2betop
- feat: Calendar组件今日高亮样式支持自定义 (#5186) @lurunze1226
- feat: crud 的 autoGenerateFilter 模式交互优化 支持展开收起 (#5167) @2betop
- feat: tabs 支持collapseOnExceed 菜单超出多少个时剩余的开始折叠 (#5148) @2betop
- feat: progress支持设置阈值 (#5145) @qinhaoyan
- feat: icon支持schema (#5132) @qinhaoyan
- feat: 接口增加defaultMsg处理 (#5118) @allenve
- feat: optinos 支持配置新增和编辑的弹框属性;修复编辑属性 popover 无法显示问题;去掉代码里遗漏的 component… (#5085) @nwind
- feat: Form Debug区域使用json显示 (#5056) @lurunze1226
- feat: 自定义js动作支持异步 (#5044) @hsm-lv
问题修复 Bugfix 🐛
- fix: 修复弹窗可多次点击问题 (#5284) @2betop
- fix: 移动端人员组件默认值无效问题修复 (#5079) @z1769057083
- fix: options value normalize 修改 (#5280) @tooeast
- fix: InputNumber输入值带单位时渲染错误问题 (#5268) @lurunze1226
- fix: options value 为 undefined 不进行 normalize (#5263) @tooeast
- fix: crud 单条删除后空列表页码重置问题修复、跳转页码不合法问题修复 (#5220) @tooeast
- chore: table2 修复ts报错问题 (#5259) @wanglinfang2014
- fix: form item options 组件,初始值格式不符合预期问题修复 (#5181) @tooeast
- fix: formula 的加法支持字符串拼接 (#5251) @nwind
- fix: drawer、dialog 不显示 errorMessage 问题; drawer错误信息错位问题 (#5242) @tooeast
- fix: table 添加 toggled: false 的列不参与持久化 (#5236) @tooeast
- fix: 修复 FormulaPicker value值不同步问题 (#5233) @RickCole21
- fix: DateRange组件关闭面板时写入InValid Date问题; feat: DateRange游标动画支持控制 (#5223) @lurunze1226
- fix: InputNumber组件初始值未按照精度处理问题 (#5226) @lurunze1226
- fix: 修复 select 其它模式不支持配置 placeholder 问题 (#5221) @nwind
- fix: 在 modal 触发关闭动画时, 设置 dialog 的按钮 disabled, 防止二次点击 (#5216) @meerkat-morecats
- fix: select 树形模式选项点击区域不撑满、单选模式问题修复, 事件动作跳转页面文档补充 (#5179) @tooeast
- fix: #3994 修复tooltip不可获取变量问题 (#5208) @jiatianqi
- fix: 修复弹窗中的表单提交不自动关闭弹窗的问题 (#5207) @2betop
- fix: 修复 wizard 组件在 step 内容无法格式化为数字时显示配置错误 (#5215) @nwind
- fix: 修复drawer点击左上角取消动作无响应 (#5202) @z1769057083
- fix: crud2 columns更新问题修复;table-v2调整为table2;table2的key调整为name (#5141) @wanglinfang2014
- fix: fieldset className 被替换逻辑 (#5209) @allenve
- fix: Calendar组件schedule日期展示错误 (#5189) @lurunze1226
- fix: 修复 amis-formula ROUND FLOOR CEIL 的位数默认不是 2 问题 (#5171) @nwind
- fix: 日期范围/日期时间范围组件minDate,maxDate失效问题 (#5128) @lurunze1226
- fix: remove table head/footer toolbar repeated className (#5174) @pcdqc
- fix: checkbox 分组情况单独分列 (#5177) @tooeast
- fix: 日期表达式兼容 unix 时间参数 (#5184) @meerkat-morecats
- fix: input-text labelField 问题修复 (#5180) @tooeast
- fix: input-image 开启multiple重新上传未覆盖问题 (#5178) @tooeast
- fix: 弹窗中的 table, fixed 列高度不准确 (#5175) @meerkat-morecats
- fix: 修复弹窗 toast 不提示问题 (#5182) @2betop
- fix: Card组件内容区带有label的表单项组件默认不渲染label (#5176) @lurunze1226
- fix: Table表头分组仅有一列时分组名称错误问题 (#5160) @lurunze1226
- fix: Card组件内置label不显示问题 (#5164) @lurunze1226
- fix: i18n文案错误 (#5163) @lurunze1226
- fix: Form开启trimValues时会将File字段错误转换问题 (#5162) @lurunze1226
- fix: InputTable错误触发编辑态问题,CRUD设置查询字段样式问题 (#5157) @lurunze1226
- fix: 修复 amis-formula 数字操作返回浮点问题 (#5127) @nwind
- fix: 修复弹窗右上角取消事件动作不执行 (#5140) @z1769057083
- fix: 修复 table affixHeader 在 dialog 中不生效的问题 (#5110) @meerkat-morecats
- fix: 修复 tree-select 搜索内容时卡顿 (#5125) @meerkat-morecats
- fix: 修复collapse在form下icon右对齐不生效问题 (#5126) @qinhaoyan
- fix: 修复 nestedSelect 移动端下选中数据异常问题 (#5121) @RickCole21
- fix:配置指定某个字段的值校验情况,导致校验可能出错 (#5123) @jiatianqi
- fix: 锚点导航定位问题修复 (#5114) @tooeast
- fix: Page css、cssVars属性更新问题修复 (#5113) @wanglinfang2014
- fix: options 内容过多时超出显示问题 (#5112) @nwind
- Revert "fix: 兼容低版本浏览器配置table:autoFillHeight(不支持sticky) (#5020)" (#5109) @lurunze1226
- fix: 修复导出 CSV 时如果值是对象就无法显示问题 (#5103) @nwind
- fix: InputTable组件needConfirm为true时无法新增行问题 (#5108) @lurunze1226
- fix: CRUD列字段无返回值时会错误展示字段值问题 (#5094) @lurunze1226
- fix(CRUD): 操作栏列不派发loading (#5046) @qianxiaofendou
- fix: table中toolbar增加padding效果(#4757) (#5069) @meerkat-morecats
- fix: tree校验问题 & minLength和maxLength属性提示问题 (#5048) @jiatianqi
- fix: fix doc parse error caused by vulnerable example. (#5068) @vikiboss
- fix: crud2 CRUD2TableSchema mode value (#5090) @allenve
- fix:修复 CRUD组件更改columns字段不立刻生效问题 (#5077) @jiatianqi
- fix: #4566 PR 补丁 [pullRefresh.disabled为 false情况下,内容区展示异常问题] (#5074) @jiatianqi
- fix: CRUD设置combineNum不生效 (#5059) @meerkat-morecats
- fix: CRUD开启超级表头时展开列显示错误,合并列元素只有1个时无法显示remark问题 (#5047) @lurunze1226
- fix:修复table存在异步数据时,固定表头宽度错位问题 (#5036) @qinhaoyan
- fix: Condition builder disabled 后还能拖动和删除 (#4655) (#5045) @meerkat-morecats
- fix: select 接口报错时 url 应该显示为实际请求地址 (#5033) @nwind
- fix: 避免 react 报控件值从 uncontrolled 到 controlled 切换 (#5032) @2betop
- fix: 修复DateRangePicker可能存在多个active (#5035) @meerkat-morecats
样式调整 Style 🌈
- styles: merge master (#5230) @qinhaoyan
- styles: form-static 增加文字换行 (#5244) @meerkat-morecats
- styles: CRUD显示列底部操作区样式问题 (#5159) @lurunze1226
- styles: tree最大宽度优化 (#5161) @qinhaoyan
- styles: 折叠器\列排序样式修复 (#5155) @qinhaoyan
- styles: Dialog显/隐切换卡顿问题 (#5107) @lurunze1226
日常维护 Chore
- chore: 合并master分支到theme (#5197) @qiaogg
- chore: typescript erros (#5273) @lurunze1226
- chore:优化多语言注册方式 (#5227) @qinhaoyan
- chore:统一子依赖的版本 (#5225) @qinhaoyan
- chore: checkboxes 单测、文档补充 (#5213) @tooeast
- chore: 补充几个 formula 现有实现的用例避免后续改错 (#5218) @nwind
- chore: input-date 单测补充 (#5190) @tooeast
- chore: drawer 每层宽度递减,方便视觉上分辨是更高层级 (#5154) @nwind
- chore: input-array、textarea、input-rating 单元测试补充 (#5129) @tooeast
- chore: iframe 类型定义拼写错误 (#5124) @nwind
- chore: 发布 2.1.1-beta.2 (#5086) @nwind
- chore: input-number、input-range、checkbox 单测用例补充 & range styles: 百分比最多保留两位 (#5076) @tooeast
文档更新 Docs
- docs: form表单 事件表 validateError 事件说明 typos (#5262) @littleee
- docs: InputPassword标题typos (#5135) @littleee
- docs:Page页面 自定义 CSS 关于 myClass的说明,位置调整 (#5238) @sunhaolin
- docs: 修复说明中dialog, drawer链接 (#5192) @yuanzzhang
- docs: InputPassword标题typos (#5135) @littleee
- docs: 修复单页跳转示例中的介绍页链接 (#5130) @yuanzzhang
- docs: 修复主干版本跳转链接出错的问题 (#5099) @yuanzzhang
- docs: 修复GitHub编辑链接错误,Flexbox文档链接和文件链接统一 (#5037) @lurunze1226
- docs: fix doc parse error caused by vulnerable example. (#5068) @vikiboss
- docs:补充更新组件数据时获取数据域的说明 (#5055) @hsm-lv
单元测试 test
- test: 补充Steps, Pagination单测 (#5034) @meerkat-morecats
- test: Timeline Wizard (#5031) @meerkat-morecats