Skip to content

Releases: baidu/amis

v2.7.1

01 Feb 11:06
Compare
Choose a tag to compare

2023-02-01

问题修复 Bugfix 🐛

样式调整 Style 🌈

v2.7.0

31 Jan 13:20
Compare
Choose a tag to compare

2023-01-31

新功能 Features 🚀

问题修复 Bugfix 🐛

日常维护 Chore

样式调整 Style 🌈

文档更新 Docs

2.6.0

30 Dec 13:36
Compare
Choose a tag to compare

2022-12-30

新功能 Features 🚀

问题修复 Bugfix 🐛

日常维护 Chore

样式调整 Style 🌈

文档更新 Docs

  • docs: 補充namespace缺少的cookie (#5926) @mao-shonen
  • doc: 补充 amis-editor 文档 (#5996) @2betop
  • docs: 修改切换主题中多余的. (#5913) @maojunxyz

2.5.2

09 Dec 08:29
52da216
Compare
Choose a tag to compare

更新记录

新功能 Features 🚀

问题修复 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 🌈

2.5.1

01 Dec 12:59
Compare
Choose a tag to compare

2022-12-01

因为rc-input-number依赖的不兼容升级, 导致构建可能会报错, 可以通过升级到2.5.1版本解决

日常维护 Chore

2.5.0

01 Dec 03:29
Compare
Choose a tag to compare

2022-12-01

新功能 Features 🚀

问题修复 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 🌈

文档更新 Docs

2.4.0

31 Oct 16:01
Compare
Choose a tag to compare

2022-10-31

新功能 Features 🚀

问题修复 Bugfix 🐛

日常维护 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 🌈

文档更新 Docs

2.3.1

11 Oct 13:39
Compare
Choose a tag to compare

2022-10-11

问题修复 Bugfix 🐛

日常维护 Chore

  • chore: 优化刷新组件动作 (#5521) @hsm-lv
  • chore: action args优化 (#5500) @hsm-lv
  • chore: 补充 input-image 的 autoFill 单元测试 (#5507) @nwind
  • chore: crud 加载更多按钮在无数据时变成 disable 而不是隐藏,避免在编辑器里看不见 (#5506) @nwind

2.3.0

30 Sep 11:07
Compare
Choose a tag to compare

2022-09-30

Break Change 🔥

  • 由于ansi-to-react不支持React 18,我们取消了Log组件的高亮功能,组件的disableColor属性从2.3.0版本起不再支持
  • 规范了Range组件change事件的命名,updateValue => onChange

新功能 Features 🚀

问题修复 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 🌈

文档更新 Docs

2.2.0

01 Sep 14:24
Compare
Choose a tag to compare

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 🐛

样式调整 Style 🌈

日常维护 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

单元测试 test