16.2.0
2023-09-18
Bug Fixes
- list: fix the bug that synchrone action item are not displayed in the item (#7958) (3b6bdec)
- tree: fix nz-tree-node keep dragging class with nzBeforeDrop (#8015) (2d0b3f7)
- button: fix add class ant-btn-icon-only(#7631) (#7678) (7470ed6)
- cascader: customize the option title to undefined (#8011) (10003db), closes #8006
- core: resolve CSP errors (#8059) (295b333)
- cron-expression: clear console warnings (#7926) (b358345)
- date-picker: fix code comment (#7991) (8b6b653)
- i18n: update zh_TW.ts (#7901) (9bfce45)
- message: clean up DOM after usage (#7965) (71ead99), closes #7772
- message: fix the z-index of overlay (#8081) (b1d2095)
- notification: don't create new messageId for update (#8000) (e240264)
- qrcode: optimize demo display and nzPadding value (#8020) (078aaf9)
- table: remove empty space in custom columns (#8022) (15e244c)
- time-picker: modelChange trigger twice (#7902) (74c13a4)
- tree-view: re-rendering fix (#8035) (68cb4b2)
- tree: remove console.log (#8019) (fa0312a)
- watermark: removing the watermark fails to redraw (#8012) (030318e)
- showcase: ui bug in rtl mode inside the doc site (#8063) (d57b7da)
Features
- add provide function (#7952) (150c6ca)
- cascader: support for load options with observable (#8048) (1436f21)
- color-picker: add color-picker component (#8013) (8439704)
- cron-expression: add Unit Testing (#7993) (605e969)
- cron-expression: support nzDisabled && nzBorderless (#7992) (6d31bde)
- dropdown: close context menu on escape (#7915) (6d0032e)
- dropdown: improve
NzContextMenuService#create()
(#7768) (9b3e6cb) - form: support form label wrap (#7892) (37391de)
- input: hide stepper for type number (#8003) (0f3aed5)
- modal: Remove nzComponentParams in v16 (#7930) (baab16c)
- qrcode: padding & background color for qrcode (#8001) (718ba29)
- resizable: add direction parameter in NzResizeEvent (#7987) (4143473)
- resizable: support for multiple cursor types (#8042) (e564714)
- table: support display and sorting of custom table columns (#7966) (d26870f)
Performance Improvements
- select: ability to pass nzKey to nz-option (#8033) (e94da4e)
- select: remove unused types (#7850) (71c2138)
- tabs: need add .ant-tabs-tab class reduce css computing time consuming(#7935) (#7936) (198644a)
16.2.0
2023-09-18
Bug Fixes
- list: 修复同步操作项不显示在项目中的问题 (#7958) (3b6bdec)
- tree: 修复
nzBeforeDrop
拖拽样式不消失问题 (#8015) (2d0b3f7) - button: 添加
ant-btn-icon-only
class (#7631) (#7678) (7470ed6) - cascader: 修复自定义已选项后会出现 title undefined 问题 (#8011) (10003db), closes #8006
- core: 修复 CSP 问题 (#8059) (295b333)
- cron-expression: 清除 console 警告 (#7926) (b358345)
- date-picker: 更新代码注释 (#7991) (8b6b653)
- i18n: 更新国际化文案 (#7901) (9bfce45)
- message: 关闭后清理 DOM (#7965) (71ead99), closes #7772
- message: 修复
overlay
的z-index
(#8081) (b1d2095) - notification: 更新操作不创建新的
messageId
(#8000) (e240264) - qrcode: 优化 demo 样式 (#8020) (078aaf9)
- table: 自定义列移除空格 (#8022) (15e244c)
- time-picker: 修复
modelChange
触发两次问题 (#7902) (74c13a4) - tree-view: 修复重复渲染问题 (#8035) (68cb4b2)
- tree: 移除 console (#8019) (fa0312a)
- watermark: 修复重绘问题 (#8012) (030318e)
- showcase: 修复
rtl
模式的样式问题 (#8063) (d57b7da)
Features
- core: 支持
provide
使用方式 (#7952) (150c6ca) - cascader: 支持
observable
加载数据 (#8048) (1436f21) - color-picker: 支持颜色选择器组件 (#8013) (8439704)
- cron-expression: 新增单元测试 (#7993) (605e969)
- cron-expression: 支持
nzDisabled
&&nzBorderless
属性 (#7992) (6d31bde) - dropdown: close context menu on escape (#7915) (6d0032e)
- dropdown: 优化
NzContextMenuService#create()
(#7768) (9b3e6cb) - form: 支持
label wrap
(#7892) (37391de) - input:
number
类型支持隐藏步骤 (#8003) (0f3aed5) - modal: 移除
nzComponentParams
过期属性 (#7930) (baab16c) - qrcode: 支持新特性 (#8001) (718ba29)
- resizable:
NzResizeEvent
暴露direction
(#7987) (4143473) - resizable: 支持更多鼠标类型 (#8042) (e564714)
- table: 支持自定义展示列 (#7966) (d26870f)