Releases: NG-ZORRO/ng-zorro-antd
Releases · NG-ZORRO/ng-zorro-antd
18.0.1
18.0.1
2024-06-27
Bug Fixes
- graph: fix @for track function (#8587) (7687ff2)
- icon: fix @for track function (#8588) (8a27bab)
- table: fix @for track function (#8593) (b275063)
- pagination: fix @for track function (#8586) (6bb95c0)
- i18n: add missing german translations
de_DE
(#8605) (8d75378) - i18n: add scanned field to QRCode
fa_IR
(#8597) (9c6e4bf) - table: missing no-result in fixed header table (#8574) (6cff80e)
18.0.1
2024-06-27
Bug Fixes
- graph: 修复 @for track 表达式异常 (#8587) (7687ff2)
- icon: 修复 @for track 表达式异常 (#8588) (8a27bab)
- table: 修复 @for track 表达式异常 (#8593) (b275063)
- pagination: 修复 @for track 表达式异常 (#8586) (6bb95c0)
- i18n: 更新
de_DE
国际化文案 (#8605) (8d75378) - i18n: 更新
fa_IR
国际化文案 (#8597) (9c6e4bf) - table: 修复固定表头下渲染内容缺失问题 (#8574) (6cff80e)
18.0.0
18.0.0
2024-06-06
⚠ BREAKING CHANGES
- collapse: change nzExpandIconPosition type from
left
|right
tostart
|end
(#8561) (3ad5674) - no longer use inline JavaScript in Less (#8552) (7e873c8)
No need to wrap Less functions provided by antd (including colorEasing
, colorPalette
, tinycolor
) with ~`` anymore.
- color(~`colorPalette('@{primary-color}', 5)`)
+ color(colorPalette('@{primary-color}', 5))
Bug Fixes
- cascader,select,time-picker,tooltip,tree-select: take in account shadow dom when getting the target of an event (#7853) (843b703)
- tooltip: fix arrow color when custom color (#8555) (92c586b)
- upload: prevent drop event for firefox only (#8551) (c6e7bd7)
- rate: half value when allow half is false (#8536) (7742fe3)
Features
- date-picker: support quarter selection of date picker (#8478) (3513889), closes #7818 #7380
- qrcode: qrcode supports scanned state (#8447) (0be6178)
- rate: emit hover change when leave (#8448) (38dcc31)
- statistic: support for loading state (#8537) (21c8b62)
- table: support setting virtual height when having no data (#8457) (724d841)
18.0.0
2024-06-06
⚠ BREAKING CHANGES
- collapse:
nzExpandIconPosition
类型从left
|right
变更为start
|end
(#8561) (3ad5674) - Less 中不再使用 inline JavaScript (#8552) (7e873c8)
使用 antd 提供的 Less 函数时不再需要用 ~`` 包裹,例如:
- color(~`colorPalette('@{primary-color}', 5)`)
+ color(colorPalette('@{primary-color}', 5))
受影响的函数包括:colorEasing
,colorPalette
,tinycolor
Bug Fixes
- cascader,select,time-picker,tooltip,tree-select: 修复在 shadow DOM 中获取
EventTarget
异常问题 (#7853) (843b703) - tooltip: 修复箭头颜色未被自定义颜色覆盖问题 (#8555) (92c586b)
- upload: 仅在 firefox 浏览器中阻止拖拽事件 (#8551) (c6e7bd7)
- rate: 修复
nzAllowHalf
为false
时展示半星 (#8536) (7742fe3)
Features
17.4.1
17.4.1
2024-05-24
Bug Fixes
- card: use skeleton instead to card-loading-content (#8528) (a36ebd3)
- color-picker: avoid emitted twice nzOnChange event (#8530) (5dea059)
- list: static query list-item-action template (#8527) (85301e0)
- popconfirm: fix message icon style (#8511) (4f1f9bb)
- tooltip,popover,popconfirm: fix hydration error (#8512) (5009ec0)
Features
Performance Improvements
- back-top: remove the redundant changeDetectorRef (c1e39e7)
- qr-code: improved background drawing efficiency (#8543) (db09bf7)
17.4.1
2024-05-24
Bug Fixes
- card: 使用
skeleton
代替card-loading-content
(#8528) (a36ebd3) - color-picker: 避免两次
nzOnChange
事件 (#8530) (5dea059) - list: 静态查询列表项操作模板 (#8527) (85301e0)
- popconfirm: icon 样式丢失 (#8511) (4f1f9bb)
- tooltip,popover,popconfirm: SSR 引入的异常 (#8512) (5009ec0)
Features
Performance Improvements
17.4.0
17.4.0
2024-04-19
Bug Fixes
- autocomplete: remove
NgZone
dependency (#8462) (24bb1bc) - button: add
ant-btn-default
class (#8501) (1588199) - calendar: year dropdown update issue when date is changed programmatically (#8286) (ee68a2c)
- date-picker: remove unsafe style (#8458) (e6b83eb)
- drawer: remove inline style to resolve CSP issue (#8065) (5e89441)
- graph: bring back the disappeared arrows of edge (#8493) (342841c)
- graph: remove
NgZone
dependency (#8460) (a4ec21a) - icon: missing swap icon (#8433) (f1a4050)
- image: wrong next/prev btn in rtl mode (#8468) (886138d)
- list: remove
NgZone
dependency (#8439) (1ec0e76) - notification:
nzMaxStack
initial value error (#8451) (2c09162) - pagination: add accessible name for
nz-pagination-item
(#8476) (47ee143) - slider: fix the style of markers in vertical mode (#8494) (9bcce6c)
- tag: borderless style is invalid in default state (#8495) (b35e6d6), closes #8492
- typography: remove
NgZone
dependency (#8440) (af7fb5d) - upload: remove inline style to resolve CSP issue (#8064) (1ac84a8)
Features
- modal: supports masked layer response for each click (#8429) (31b90fa)
- notification: popup order adjustment (#8450) (742f14a)
- select: support
nzOptionHeightPx
in global config (#8504) (4efc5ab), closes #8503 - skeleton: support for square shape of skeleton button (#8481) (af1483a)
17.4.0
2024-04-19
Bug Fixes
- autocomplete: 移除
NgZone
依赖 (#8462) (24bb1bc) - button: 补充
ant-btn-default
Class (#8501) (1588199) - calendar: 修复年份下拉框数据更新异常问题 (#8286) (ee68a2c)
- date-picker: 移除内联样式 (#8458) (e6b83eb)
- drawer: 移除内联样式 (#8065) (5e89441)
- graph: 修复箭头渲染异常问题 (#8493) (342841c)
- graph: 移除
NgZone
依赖 (#8460) (a4ec21a) - icon: 补充 SwapOutline 图标 (#8433) (f1a4050)
- image: 修复 rtl 模式下预览切换按钮位置异常 (#8468) (886138d)
- list: 移除
NgZone
依赖 (#8439) (1ec0e76) - notification: 修复
nzMaxStack
初始值问题 (#8451) (2c09162) - pagination:
nz-pagination-item
支持可访问名称 (#8476) (47ee143) - slider: 修复垂直模式下标度刻记样式异常 (#8494) (9bcce6c)
- tag: 修复无边框样式异常 (#8495) (b35e6d6), closes #8492
- typography: 移除
NgZone
依赖 (#8440) (af7fb5d) - upload: 移除内联样式 (#8064) (1ac84a8)
Features
17.3.0
17.3.0
2024-03-11
Bug Fixes
- doc: replaced link for monaco editor options (#8393) (fdfc816)
- docs: fix progress, code-editor docs error (#8383) (407e76a)
- select: issue with nzScrollToBottom while display scaling (#8355) (bb0468e)
- avatar: avatar not re-scaling properly (#8365) (e7b1fa0)
- carousel: not adapting to new size when resizing (#8374) (6e1decb)
- cdk: zIndex is not used properly when creating overlay (#8373) (b932d65)
- i18n: add missing pt texts (#8426) (d575c53)
- i18n: added missing translations to ja_JP (#8290) (662b730)
- i18n: added missing translations to vi_VN (#8295) (987a799)
- tabs: slide indicator missing in small screens (#8372) (a0b08be)
- tabs: wrong cursor (#8386) (3dc1579)
Features
- improve schematics (#8411) (921f1c1)
- anchor: horizontal anchors (#8342) (9cc44f8)
- calendar: custom header (#8418) (ec7ec35)
- color-picker: built-in color-picker package (#8428) (534fe62)
- drawer: return componentRef when nzContent is a component (#8339) (f71162b)
- image: now supports horizontal and vertical flip (#8168) (e856515)
- image: zoom using mouse wheel (#8180) (4235c29)
- modal: draggable (#8419) (ce33294)
- modal: expose componentRef nzContent (#8389) (e53000e)
- segmented: now supports segmented with icon only (#8368) (e8dea7a)
- select: select max tag count (#8371) (18b898e)
17.3.0
2024-03-11
Bug Fixes
- doc: 更新 monaco editor 参考链接 (#8393) (fdfc816)
- docs: 修复部分文档问题 (#8383) (407e76a)
- select: 修复缩放页面时
nzScrollToBottom
未触发问题 (#8355) (bb0468e) - avatar: 修复部分场景无法正确缩放问题 (#8365) (e7b1fa0)
- carousel: 修复调整大小时不适应新的大小问题 (#8374) (6e1decb)
- cdk:
zIndex
设置问题 (#8373) (b932d65) - i18n: 添加国际化文案 (#8426) (d575c53)
- i18n: 添加国际化文案
ja_JP
(#8290) (662b730) - i18n: 添加国际化文案
vi_VN
(#8295) (987a799) - tabs: 修复小屏幕下
tab
定位样式丢失问题 (#8372) (a0b08be) - tabs: 修复光标样式 (#8386) (3dc1579)
Features
- 优化 schematics (#8411) (921f1c1)
- anchor: 支持水平锚点 (#8342) (9cc44f8)
- calendar: 支持自定义 header (#8418) (ec7ec35)
- color-picker: 转为内置
color-picker
组件 (#8428) (534fe62) - drawer:
nzContent
类型为组件时返回componentRef
(#8339) (f71162b) - image: 支持水平和垂直翻转 (#8168) (e856515)
- image: 支持鼠标滚动缩放 (#8180) (4235c29)
- modal: 支持拖拽 (#8419) (ce33294)
- modal:
nzContent
返回componentRef
对象 (#8389) (e53000e) - segmented: 支持仅图标展示 (#8368) (e8dea7a)
- select: 支持多选最大值设置 (#8371) (18b898e)
17.2.0
17.2.0
2024-01-29
Bug Fixes
- table: add missing import to nz-table-inner-scroll (#8328) (936317e)
- tree-select: fix search box exception when Chinese search (#8324) (aacd62b)
- pipeline job failed (#8367) (6024bcc)
Features
- color-picker: make color picker standalone (#8316) (b050474)
- tag: borderless mode (#8320) (e428083)
- timeline: allow custom color (#8335) (66a88db)
17.2.0
2024-01-29
Bug Fixes
- table: 修复
nz-table-inner-scroll
未正确 import 问题 (#8328) (936317e) - tree-select: 修复中文搜索异常问题 (#8324) (aacd62b)
- 修复 pipeline 依赖报错问题 (#8367) (6024bcc)
Features
17.1.0
17.1.0
2023-12-17
Bug Fixes
- fix logic for generating directive tags (#8171) (e37eab2)
- calendar: style radio button not apply (#8298) (996e141)
- core: warning cron parser common js dependencies (#8277) (138d666)
- cron-expression: output type error (#8189) (ad02381), closes #8188
- select: input clear when nzAutoClear (#8167) (fefcb68)
- tabs: aria controls have wrong value (#8237) (d9a2d27)
- tooltip: color of the tooltip arrow does not change (#8192) (bc344ed)
Features
- alert: support standalone component (#8182) (167bed0)
- anchor: support standalone component (#8185) (03cda21)
- autocomplete: support standalone component (#8193) (548e842)
- avatar: support standalone component (#8194) (4e2cb74)
- back-top: support standalone component (#8195) (db5d5f4)
- badge: support standalone component (#8201) (3d1427f)
- breadcrumb: support standalone component (#8202) (165f171)
- button: support standalone component (#8275) (3c09507)
- calendar: support standalone component (#8274) (80d68a3)
- card: component support standalone (#8273) (0902a4b)
- carousel: support standalone component (#8272) (e4244fb)
- cascader: support standalone component (#8271) (3ab6e5b)
- cdk: support standalone component (#8270) (d66bcba)
- checkbox: support standalone component (#8269) (1491fb3)
- code-editor: support standalone component (#8268) (24547c6)
- collapse: support standalone component (#8267) (dc43fa5)
- color-picker: disable alpha (#8178) (0bebd6a)
- comment: support standalone component (#8266) (5af11ea)
- core: make no-animation standalone (#8257) (de579bc)
- core: support standalone component (#8265) (c51e8da)
- cron-expression: support standalone component (#8264) (ae6ceeb)
- date-picker: support standalone component (#8263) (ac48fba)
- description: support standalone component (#8262) (128f4c0)
- divider: support standalone component (#8258) (3a7cd50)
- drawer: support standalone component (#8256) (2fbe4c0)
- dropdown: support standalone component #8254 (#8255) (c5df26f)
- empty: support standalone component (#8254) (15636d2)
- experimental-image: support standalone component (#8253) (7325781)
- flex: add flex component (#8145) (f8fedfc)
- form: support standalone component (#8252) (e742e39)
- graph: support standalone component (#8251) (d2f1d30)
- grid: support standalone component (#8250) (208652c)
- i18n: support standalone component (#8249) (a91cac7)
- icon: support standalone component (#8248) (b0dbfbc)
- image: support standalone component (#8200) (63b8777)
- input-number: support standalone component (#8246) (6210fa0)
- input: support standalone component (#8247) (0a7028c)
- layout: support standalone component (#8245) (d21f8a1)
- list: support standalone component (#8244) (1f3010f...
17.0.1
17.0.0
17.0.0
2023-11-19
Bug Fixes
- autocomplete: fix the wrong value of internal nz-auto-option (#7907) (0a312e3)
- cron-expression: exception error & cancel format prompt copy (#8114) (ea69790)
- form: wrong element to focus when clicking label (#8135) (b3d135f)
- i18n: added missing translations to pl_PL (#7950) (7819426)
- i18n: update fa_IR translations (#8143) (4f63198)
- i18n: Update fr/be/ca translations (#8137) (211db31)
- mention: page not loading entirely (#8146) (9505c7c)
- resizable: fix pointer capture bug (#8169) (a0b8a0b)
- select: do not run tick when scrolling to activated value (#8159) (7ce50b3)
- slider: step can not click the problem (#7820) (1e1c753)
- table: custom column styles collapse when using nzScroll (#8044) (fde48f9)
- tree-select: 修复回显顺序问题 (#8108) (eb4077d)
- tree: nzCheckBoxChange never emitting (#8038) (a9dc205)
Features
- affix: support standalone component (#8037) (583883c)
- hash-code: add HashCode component (#8111) (0254ee2)
- image: add scale step (#8163) (5aa4db9)
- notification: support for more custom templates (#8046) (9689c42)
- schematics: support ng-add in standalone app (#8095) (c1b61f7)
- slider: add the ability to use a template (#7505) (7c79ab3)
- table: add
nzLabel
to include aria-label in checkboxes (#7903) (5834e46) - table: nzExpand supports custom icon (#7886) (1507ed0)
- tooltip,popover,popconfirm: make cdkConnectedOverlayPush open for tooltip (#8166) (a821c62)
17.0.0
2023-11-19
Bug Fixes
- autocomplete: 修复内部
nz-auto-option
的错误值 (#7907) (0a312e3) - cron-expression: 修复报错信息 (#8114) (ea69790)
- form: 修复点击 label 聚焦元素错误问题 (#8135) (b3d135f)
- i18n: 添加
pl_PL
语言 (#7950) (7819426) - i18n: 更新
fa_IR
语言 (#8143) (4f63198) - i18n: 更新
fr/be/ca
语言 (#8137) (211db31) - mention: 修复表单内未完全加载问题 (#8146) (9505c7c)
- resizable: 修复 pointer capture 问题 (#8169) (a0b8a0b)
- select: 性能优化 (#8159) (7ce50b3)
- slider: 修复 step 不可点击问题 (#7820) (1e1c753)
- table: 优化样式文件 (#8044) (fde48f9)
- tree-select: 修复回显顺序问题 (#8108) (eb4077d)
- tree: 修复 nzCheckBoxChange 事件未发出问题 (#8038) (a9dc205)
Features
- affix: 支持
standalone
用法 (#8037) (583883c) - hash-code: 新增
HashCode
组件 (#8111) (0254ee2) - image: 支持指定缩放步骤比例 (#8163) (5aa4db9)
- notification: 支持自定义 template (#8046) (9689c42)
- schematics: 支持
standalone
下 ng-add 命令 (#8095) (c1b61f7) - slider:
nzTipFormatter
支持 Template 类型 (#7505) (7c79ab3) - table: 添加
nzLabel
以在复选框中包含aria-label
(#7903) (5834e46) - table: 支持自定义展开图标 (#7886) (1507ed0)
- tooltip,popover,popconfirm: 暴露
cdkConnectedOverlayPush
配置 (#8166) (a821c62)