Skip to content

Latest commit

 

History

History
2604 lines (1673 loc) · 277 KB

CHANGELOG.md

File metadata and controls

2604 lines (1673 loc) · 277 KB

12.0.1 (2021-07-12)

Bug Fixes

  • code-editor: dispose the event listener when the component is destroyed (#6847) (503c6f9)
  • code-editor: resolve memory leak (#6846) (6d43b6c)
  • code-editor: re-enter the Angular zone only if the value has been changed (##6845) (5c09948)
  • drawer: trigger change detection only if there are nzOnViewInit listeners (#6841) (c5b5741)
  • icon: resolve memory leak (#6839) (bdc2a55)
  • remove the default resize observer polyfill (#6843) (29d44af), closes #6696

If you want to support older browsers, you can provide polyfill in the following way.

import { NzResizeObserverFactory } from 'ng-zorro-antd/cdk/resize-observer';
import ResizeObserver from 'resize-observer-polyfill';

@NgModule({
  providers: [
    { provide: NzResizeObserverFactory, useValue: {
        create(callback: ResizeObserverCallback): ResizeObserver | null {
          return typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(callback);
        }
      }
    }
  ]
})
export class AppModule {}

12.0.0 (2021-07-11)

Bug Fixes

  • pagination: mark for check when the total number of pages changes (#6780) (2f1f8dc)
  • pagination: pagination in form will trigger submit (#6744) (f77ab28)
  • cascader: add nzClear functionality to cascader (#6761) (3dd9534), closes #6751
  • select: focus input when selector is clicked (#6786) (1c9331a)
  • time-picker: close time-picker after tabbing out (#6602) (0e53053)
  • tree: stop change url in firefox (#6771) (be20114)
  • typography: single line ellipsis style (#6776) (e192a70)

Features

BREAKING CHANGES

button

  • [nz-button][nzType="danger"] input value are no longer supported, please use [nz-button][nzDanger] instead.

modal

  • usage of ng-content has been removed, please use <ng-template nzModalContent></ng-template> instead.

drawer

  • usage of ng-content has been removed, please use <ng-template nzDrawerContent></ng-template> instead.

tree-view

  • [nzNodeWidth] has been removed, please use [nzItemSize] instead.

nz-space-item

  • nz-space-item, [nz-space-item] has been removed, please use <ng-template nzSpaceItem></ng-template> instead.

11.4.2 (2021-06-08)

Bug Fixes

11.4.1 (2021-04-22)

Bug Fixes

  • *: create image using document method to avoid ReferenceError in SSR (#6569) (d7b9291)
  • date-picker: click outside not change value (#6596) (62e4bb6), closes #6595
  • date-picker: not switch month panel when range is same month (#6616) (bf4ae4d)
  • date-picker: time picker panel not scroll at first time (#6604) (b97dfbe)
  • graph: fix edge default style and wrong toggling group nodes (#6615) (c434ea9)
  • i18n: added property missing in ka_GE (#6589) (825925c)
  • slider: fix range slider not working for arrow keys (#6612) (51f33e6), closes #6586
  • typography: add type="button" attribute to button element in nz-text-copy component (#6606) (48a9714), closes #6605

11.4.0 (2021-04-08)

Bug Fixes

Features

11.3.0 (2021-03-23)

Bug Fixes

Features

Deprecated

  • space: nz-space-item in nz-space will be removed in 12.0.0, please use *nzSpaceItem instead.

11.2.0 (2021-02-26)

Bug Fixes

Features

  • date-picker: add nzInline property (#6436) (4d80873)
  • time-picker: support updating OK and Now button text (#6410) (ef3af58)
  • time-picker,select,tree-select: support nzId (#6379) (85d423d)

Performance Improvements

11.1.0 (2021-01-22)

Bug Fixes

Features

11.0.2 (2021-01-18)

Bug Fixes

11.0.1 (2020-12-31)

Bug Fixes

11.0.0 (2020-12-21)

Highlights

RTL Support

Set the dir attribute on the document body or html tag.

<html dir="rtl"></html>

Or use Angular CDK bidi module for bi-directional.

import {BidiModule} from '@angular/cdk/bidi';

Super thanks to @saeedrahimi @hdm91 @HDaghash @hmdnikoo for contributing this!

New Image component

Used to handle progressive loading of images; failure fallback, and preview of image(s).

Super thanks to @stygian-desolator for contributing this!

New Graph experimental component

Support customized multi-level graph rendering.

New Tree View component

The previous Tree already contains many common features, and to handle more customizable scenarios we developed a more basic Tree View component with higher ability of customization and better control over performance.

New built-in Aliyun theme

@import "~ng-zorro-antd/ng-zorro-antd.aliyun.less";

Bug Fixes

Features

BREAKING CHANGES

date-picker

  • [nzMode] does not support NzDateMode[] type any more, please adjust it manually.

modal

  • [nzGetContainer] has been removed, please remove it manually.
  • open method in NzModalRef has been removed, please remove it manually.

tabs

  • [nzShowPagination] input has been removed, please remove it manually.
  • (nzOnPrevClick) output has been removed, please remove it manually.
  • (nzOnNextClick) output has been removed, please remove it manually.
  • a[nz-tab-link] selector has been removed, please use ng-template[nzTabLink] > a[nz-tab-link] instead.

10.2.1 (2020-12-11)

Bug Fixes

10.2.0 (2020-12-01)

Bug Fixes

Features

Deprecated

  • modal
    • Usage <ng-content></ng-content> is deprecated, which will be removed in 12.0.0. Please instead use <ng-template nzModalContent></ng-template> to declare the content of the modal.
  • drawer
    • Usage <ng-content></ng-content> is deprecated, which will be removed in 12.0.0. Please instead use <ng-template nzDrawerContent></ng-template> to declare the content of the drawer.

10.1.2 (2020-11-16)

Bug Fixes

10.1.1 (2020-11-09)

Bug Fixes

10.1.0 (2020-10-30)

Bug Fixes

Features

10.0.2 (2020-10-16)

Bug Fixes

10.0.1 (2020-10-09)

Bug Fixes

10.0.0 (2020-09-28)

Bug Fixes

Code Refactoring

  • anchor: remove deprecated APIs for v10 (#5776) (e50d530)
  • cascader: remove deprecated APIs for v10 (#5778) (7e64e4c)
  • code-editor: remove deprecated APIs for v10 (#5798) (353e657)
  • date-picker: remove deprecated APIs for v10 (#5793) (5159900)
  • form,grid: remove deprecated APIs for v10 (#5788) (b215efa)
  • notification: remove deprecated APIs for v10 (#5779) (e5ed4d2)
  • table: remove deprecated APIs for v10 (#5792) (132e425)
  • tooltip, popover, popconfirm: change deprecated APIs for v10 (#5817) (dc3088c)
  • tree: remove deprecated APIs for v10 (#5789) (b378cb7)
  • upload: remove deprecated APIs for v10 (#5774) (9f5baae)

Features

BREAKING CHANGES

tooltip, popover, popconfirm:

  • nz-tooltip
    • [nzOverlayStyle] has been removed, use [nzTooltipOverlayStyle] instead.
    • [nzOverlayClassName] has been removed, use [nzTooltipOverlayClassName] instead.
    • [nzMouseLeaveDelay] has been removed, use [nzTooltipMouseLeaveDelay] instead.
    • [nzMouseEnterDelay] has been removed, use [nzTooltipMouseEnterDelay] instead.
    • (nzVisibleChange) has been removed, use (nzTooltipVisibleChange) instead.
  • nz-popover
    • [nzOverlayStyle] has been removed, use [nzPopoverOverlayStyle] instead.
    • [nzOverlayClassName] has been removed, use [nzPopoverOverlayClassName] instead.
    • [nzMouseLeaveDelay] has been removed, use [nzPopoverMouseLeaveDelay] instead.
    • [nzMouseEnterDelay] has been removed, use [nzPopoverMouseEnterDelay] instead.
    • (nzVisibleChange) has been removed, use (nzPopoverVisibleChange) instead.
  • nz-popconfirm
    • [nzOverlayStyle] has been removed, use [nzPopconfirmOverlayStyle] instead.
    • [nzOverlayClassName] has been removed, use [nzPopconfirmOverlayClassName] instead.
    • [nzMouseLeaveDelay] has been removed, use [nzPopconfirmMouseLeaveDelay] instead.
    • [nzMouseEnterDelay] has been removed, use [nzPopconfirmMouseEnterDelay] instead.
    • (nzVisibleChange) has been removed, use (nzPopconfirmVisibleChange) instead.

code-editor:

  • NzCodeEditorService.updateDefaultOption has been removed, use NzConfigService.set instead.
  • Inject token NZ_CODE_EDITOR_CONFIG has been removed, use NZ_CONFIG instead.

date-picker:

  • NZ_DATE_FNS_COMPATIBLE has been removed. Please migrate to date-fns v2 manually.
  • nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker
    • [nzClassName] has been removed, use ngClass instead.
    • [nzStyle] has been removed, use ngStyle instead.

table:

  • th[nzSort] has been removed, use th[nzSortOrder] instead.
  • th(nzSortChange) has been removed, use th(nzSortOrderChange) instead.
  • th(nzSortChangeWithKey) has been removed. Please manually remove it.
  • thead(nzSortChange) has been removed, use thead(nzSortOrderChange) instead.
  • thead[nzSingleSort] and th[nzSortKey] has been removed. Please manually change to th[nzSortFn].

form,grid:

  • nz-form-item[nzFlex] has been removed. Please manually remove this input.
  • nz-form-item[nzType] has been removed. Please manually remove this input.
  • nz-row[nzType] has been removed. Please manually remove this input.

tree:

  • NzTreeNode.isAllChecked has been removed, use NzTreeNode.isChecked instead.
  • NzTreeNode.setSelected(boolean) has been removed, use NzTreeNode.isSelected = boolean instead.

notification:

  • NzNotificationDataFilled has been removed, use NzNotificationRef instead.
  • NzNotificationDataOptions.nzPosition has been removed, use NzNotificationDataOptions.nzPlacement instead.

anchor:

  • nzTarget has been removed, use nzContainer instead.

cascader:

  • CascaderOption has been removed, use NzCascaderOption instead.
  • CascaderSearchOption has been removed, use NzCascaderSearchOption instead.

upload:

  • UploadType has been removed, use NzUploadType instead.
  • UploadListType has been removed, use NzUploadListType instead.
  • UploadFile has been removed, use NzUploadFile instead.
  • UploadChangeParam has been removed, use NzUploadChangeParam instead.
  • ShowUploadListInterface has been removed, use NzShowUploadList instead.
  • UploadTransformFileType has been removed, use NzUploadTransformFileType instead.
  • UploadXHRArgs has been removed, use NzUploadXHRArgs instead.

9.3.0 (2020-07-09)

Bug Fixes

Features

9.2.2 (2020-06-23)

Bug Fixes

9.2.1 (2020-06-17)

Bug Fixes

9.2.0 (2020-06-16)

Bug Fixes

Features

9.1.2 (2020-05-13)

Bug Fixes

9.1.1 (2020-05-11)

Bug Fixes

  • auto-complete, drawer: cannot reopen when reuse route snapshots(#5165) (7101782), closes #5142
  • alert: nzNoAnimation not work with the alert component (#5211) (de9ef6b)
  • breadcrumb: fix breadcrumb when Routes path='' (#4966) (5ffa45c)
  • button: disabled not work with anchor (#5233) (36ab993), closes #5226
  • dropdown: fix dropdown break SSR (#5244) (016cca1), closes #5186
  • modal: global config cannot work with service mode (#5228) (95aab9a), closes #5223
  • modal: modal cannot close after the host view destroyed (#5161) (5cb618e), closes #5128
  • modal: rollback to component types can be the content of confirm-mode (#5177) (5fa4c1e), closes #5172
  • schematics: invalid version will be added when the package already exists (#5210) (f406803), closes #5209
  • table: fix table expand in multiple thead tr (#5246) (cbaeb38), closes #5207
  • timeline: fix timeline check error (#5245) (ee2859f), closes #5230
  • typography: ellipsis line measurement error (#5175) (93676c9)
  • upload: fix invalid preview image in picture card (#5205) (cbe8225), closes #5201

9.1.0 (2020-04-26)

Bug Fixes

Features

9.0.2 (2020-04-20)

Bug Fixes

9.0.0 (2020-04-15)

Intro

Welcome to the 9.0.0 version of ng-zorro-antd,some APIs were deprecated in version 8.x, and warning message was given under dev mode. All deprecated APIs is removed in 9.0.0, if you have fixed all warnings in the 8.x version, you can follow these steps to upgrade your version.

Environmental Requirement

  1. Make sure Node.js >= 10.13
  2. Create a new branch, or use other methods to back up the current project
  3. delete the package-lock.json file

Upgrade dependencies

  • Upgrade Angular to 9.x version, ref https://update.angular.io/
  • Run ng update @angular/cdk, if you have used @angular/cdk.
  • if you have used date-fns in your project, upgrade it to 2.x version, ref https://github.com/date-fns/date-fns-upgrade.
  • if you have used monaco-editor please upgrade it to 0.2.x, don't forget to upgrade monaco-editor-webpack-plugin to 1.9.x if you have used it.

Upgrade NG-ZORRO

  • Run ng update ng-zorro-antd
  • If a warning message appears in the console, follow the prompts to modify the corresponding code

date-fns update

We have upgraded date-fns to v2. When you switch to date-fns, some date formats will have a breaking change. Such as:

<!-- datefns v1 -->
<nz-date-picker nzFormat="YYYY-MM-DD"></nz-date-picker>

<!-- datefns v2 -->
<nz-date-picker nzFormat="yyyy-MM-dd"></nz-date-picker>

We recommend using date-fns v2 date format. If you don't want to use the new date format, you can use NZ_DATE_FNS_COMPATIBLE. When set to true, ng-zorro-antd will convert the format of v1 to v2. See the comparison of the old and new formats here.

providers: [
  { provide: NZ_DATE_FNS_COMPATIBLE, useValue: true }
]

** NZ_DATE_FNS_COMPATIBLE won't be kept for too long, we will remove the support for date-fns v1 format until ng-zorro-antd v10**, we hope you can update the date-fns date format in time. For date-fns upgrade guide, see here.

Angular Ivy Supported

We have upgraded the @angular/* and @angular/cdk versions to v9, and now you can use the Ivy rendering engine to run your project, and enable the strictTemplates option to use more strict template type checking.

More help go to Angular Ivy and Template type checking.

Ant Design 4 Spec

We have synced the Ant Design 4 design specification and support the Dark and Compact themes.

Enhanced Performance and Usability

  • In previous versions, the Table component has integrated virtual scrolling, also now supported for Select and Tree components.
  • Form and Table simplify usage and now allow for writing fewer templates and configurations.
  • Allow adding icons in sub-modules to reduce the first screen load time.
  • Now, the pop-up menu is automatically closed when the route is changed, and corresponding options have been added for components such as Modal.

9.0.0-beta.4 (2020-04-14)

Bug Fixes

Features

BREAKING CHANGES

  • notification:
  • NzMessageDataFilled is replaced by NzMessageRef
  • NzNotificationDataFilled is replaced by NzNotificationRef

9.0.0-beta.3 (2020-03-24)

Bug Fixes

Features

9.0.0-beta.2 (2020-03-19)

Bug Fixes

9.0.0-beta.1 (2020-03-15)

Bug Fixes

Chores

Code Refactoring

Features

Performance Improvements

  • checkbox: use css empty selector instead of observeContent (#4761) (da8821a)
  • input: improve input-group perf (7af643b), closes #3950
  • radio: refactor radio group data flow (#4770) (423a382)

BREAKING CHANGES

  • icon: - NZ_ICON_DEFAULT_TWOTONE_COLOR is removed. Use NzGlobalConfigService instead.

chore: remove strange file

test: fix test

feat: add forRoot

docs: change doc

docs: fix icon English doc

  • form: - nz-form-extra is removed. Please use nzExtra is nz-form-control instead.
  • nz-form-explain is removed. Please use nzSuccessTip | nzWarningTip | nzErrorTip | nzValidatingTip is nz-form-control instead.
  • refactor(module:form): refactor and sync antd v4.0

  • refactor(module:form): refactor test

  • refactor(module:form): fix test

  • refactor(module:form): refactor form control and remove useless styles

  • form: - nz-form-extra is removed. Please use nzExtra is nz-form-control instead.

  • nz-form-explain is removed. Please use nzSuccessTip | nzWarningTip | nzErrorTip | nzValidatingTip is nz-form-control instead.
  • chore: merge code

  • refactor(module:form): sync antd and fix test

  • input-number: ngModelChange trigger at once when user typing

  • pagination: prev_5 and next_5 is needed when use nzItemRender 'pre' typo was corrected to 'prev'

  • tree, tree-select: * tree

  • Removed [nzDefaultExpandAll] use [nzExpandAll] instead.
  • Removed [nzDefaultExpandedKeys] use [nzExpandedKeys] instead.
  • Removed [nzDefaultSelectedKeys] use [nzSelectedKeys] instead.
  • Removed [nzDefaultCheckedKeys] use [nzCheckedKeys] instead.
  • Removed (nzOnSearchNode) use (nzSearchValueChange) instead.
  • tree-select
  • Removed [nzDefaultExpandedKeys] use [nzExpandedKeys] instead.
  • message,notification: - NZ_MESSAGE_CONFIG is removed. Please use NzGlobalConfigService instead.
  • NZ_NOTIFICATION_CONFIG is removed. Please use NzGlobalConfigService instead.
  • config method of NzMessageService and NzNotificationService is removed. Please use set method of NzGlobalConfigService instead.
  • empty: - NZ_DEFAULT_EMPTY_CONTENT is removed. Please use NzConfigService instead.
  • carousel: Carousel
  • nzVertical is removed. Please use 'nzDotPosition' instead.
  • Removed deprecated API NgZorroAntdModule.forRoot()

  • docs: update README.md and getting-started.md

  • chore: fix tslint hook

  • style: fix lint

  • build: fix generate-iframe script

  • style: fix lint

  • icon: - i[nz-icon]: twoToneColor theme spin iconfont type inputs has been removed, use nzTwoToneColor nzTheme nzSpin nzIconfont nzType instead.

  • i.anticon selector has been removed, use i[nz-icon] instead.
  • calendar: <nz-calendar> nzCard input has been removed, use nzFullscreen instead.
  • tooltip,popover,popconfirm: <nz-tooltip> <nz-popover> <nz-popconfirm> components has been removed, use its directives instead.

8.5.1 (2019-11-18)

Bug Fixes

8.5.0 (2019-11-08)

Bug Fixes

Features

8.4.1 (2019-10-23)

Bug Fixes

8.4.0 (2019-10-15)

Bug Fixes

Features

Performance Improvements

  • tree: change the collapsed of the treeNode to ngIf (#3947) (cbfc5ed)
  • typography, tabs: make the destroy$ complete when destroy (#4271) (51f4713)

8.3.1 (2019-09-24)

Bug Fixes

8.3.0 (2019-09-09)

Bug Fixes

Features

Performance Improvements

  • resizable: listen document events when resizing start (#4021) (66afcf0)

8.2.1 (2019-08-26)

Bug Fixes

  • cascader: fix column is not dropped in hover mode (#3916) (906849b)
  • code-editor: fix destroying error when editor is not initialized (#4002) (a35fb09)
  • code-editor: remove overflow styles (#4016) (ab832d9)
  • descriptions: fix colspan calcuation in horizontal bordered (#4014) (345712f)
  • table: fix border-right of small size and bordered table (#4027) (a3bd531)
  • tabs: fix tabs still shows when no route is matched (#4034) (7ca0a52)

8.2.0 (2019-08-13)

Bug Fixes

Features

8.1.2 (2019-07-29)

Bug Fixes

8.1.1 (2019-07-29)

Bug Fixes

  • *: import PlatformModule when use platform in component (#3823) (6ec85a4)
  • dropdown: hide backdrop when disabled and restore escape (#3831) (b758572), closes #3835
  • form: fix form feedback error when init with tips (#3868) (7c0aa51), closes #3865
  • select: fix select with tokenization bug (#3869) (fa462c7), closes #3825
  • table: fix table small sticky style (#3849) (c4de8ff)
  • tabs: fix the pagnation padding-right when scrolling (#3539) (#3709) (9a4df38)
  • tooltip: fix position change not set back (#3857) (3dbb6dc)
  • schematics: fix parse module name error (#3848) (d4e7210), closes #3844
  • schematics: update copy-resources script to support Windows path (#3856) (915b67d)

8.1.0 (2019-07-19)

Bug Fixes

Features

8.0.3 (2019-07-14)

Bug Fixes

8.0.2 (2019-07-03)

Fix the dependencies version ranges.

8.0.1 (2019-07-01)

Bug Fixes

  • tree: fix warning bug (#3692) (637c334)
  • breadcrumb: fix warning startWith operators (fe28a0d)
  • schematics: missing routing module in sidemenu template (#3695) (fdcef82)

8.0.0 (2019-06-29)

Bug Fixes

  • button: fix order of DOM nodes in button (#3578) (c3df8b5), closes #3079
  • card: fix card tab ng-template (#3654) (7585ba4)
  • descriptions: fix warning without logger (#3663) (5826fc1)
  • dropdown: dropdown should close when set disabled (0bd1ae3), closes #3420
  • dropdown: fix dropdown change after checked bug (16d5c2d)
  • dropdown: fix dropdown SSR bug (#3628) (ade1abd)
  • form: fix form control validate with formControl (bc54e90), closes #3551
  • form: fix form overlap (#3633) (0fc7d05), closes #3607
  • form: fix nzValidateStatus & nzHasFeedback overlap (fb4965b), closes #3607
  • grid: Make all properties in EmbeddedProperty optional (#3473) (107e731)
  • input: fix ng-content nzAddOnBeforeIcon transclusion (#3597) (a37ec0a), closes #3596
  • mention: fix cannot to switch trigger (#3632) (c8b5b09), closes #3629
  • menu: fix menu title ExpressionChangedAfterItHasBeenCheckedError (52975ff), closes #3023
  • menu: fix submenu not active when collapsed (67f6fa2), closes #3345
  • pagination: fix pagination nzTotal 0 bug (#3651) (d28fc49), closes #3648
  • select: fix nzOpen state when nzOnSearch trigger (3ca816d), closes #3626
  • select: fix select enter open when disabled (36db36c), closes #3408
  • select: fix the bug of duplication when keyboard input chinese char (#3440) (3c82f26), closes #3439
  • table: compatible with @angular/material/table (79b02ca)
  • table: fix sortChange with dynamic columns (#3603) (#3605) (c85743d)
  • typography: fix the actions button order (#3677) (c2c28a4)
  • typography: not render when the edit text has no changes (51b9ce0)

Features

  • avatar: add nzSrcSet & nzAlt properites (#3583) (d0ad5e8), closes #3543
  • breadcrumb: support dropdown (#3636) (9dfab45)
  • carousel: support dot position (#3575) (0566331)
  • core: add universal logger funcs and deprecation warnings (#3538) (b893520)
  • form: refactor form to support better template driven (10d0e28)
  • input-number: support nzId (a6500c8)
  • menu: support auto active menu-item via routerLink (c9e84c7)
  • menu: support nzTitle & nzIcon in nz-submenu (0cde4d7)
  • pagination: support pagination nzDisabled (141bef8)
  • select: support custom template in select component (#3071) (aad02a5), closes #2946
  • table: support nzVirtualForTrackBy (cb14096)
  • transfer: add nzShowSelectAll & nzRenderList properties (#3588) (1619f30), closes #3567 #2870
  • typography: add typography component (#3119) (4d739ef)
  • schematics: add template option in ng-add (#3674) (69072de)

7.5.0 (2019-06-05)

Bug Fixes

Features

7.4.1 (2019-05-21)

Bug Fixes

  • build: unable to build in production when importing secondary module (#3266)

7.4.0 (2019-05-19)

Bug Fixes

  • breadcrumb: fix input boolean and router event not caught error (#3185) (fd43ec5), closes #3186
  • carousel: fix carousel in entry components (#3367) (9d495fc)
  • cascader,checkbox,switch,tooltip: fix memory leak problem (#3416) (c63849f)
  • drawer: fix z-index level (#3405) (663f6c1), closes #3402
  • menu: submenu should not remain highlighted (#3455) (fd47605)
  • modal: cannot to close in order of overlay opens when using esc (#3339) (0533c32), closes #3338
  • modal: content not work in confirm mode when the type is component (#3415) (6458c57), closes #3407
  • modal: should not close when mousedown in the body (#3400) (82e488a), closes #3394
  • progress: fix stroke color is not updated (#3445) (80c6ed4), closes #3441
  • tree,tree-select: fix the styles of connecting line (#3385) (f7e9a7c), closes #3382

Features

7.3.3 (2019-04-25)

Bug Fixes

7.3.2 (2019-04-22)

Bug Fixes

  • build: fix bundling error of components.less (#3331) (fb19921)

7.3.1 (2019-04-22)

Bug Fixes

7.3.0 (2019-04-21)

Features

Bug Fixes

7.2.0 (2019-03-27)

Bug Fixes

Features

7.1.0 (2019-03-21)

Bug Fixes

Features

7.0.3 (2019-03-14)

Bug Fixes

  • select: fix select init touched state error when disabled (#3084) (ba9d454), closes #3059

Build

  • build: add strictNullCheck config (#2126)
  • build: upgrade icon to 2.0.2 (#3085) (fc72d7d)

7.0.2 (2019-03-11)

Bug Fixes

7.0.1 (2019-03-04)

Bug Fixes

7.0.0 (2019-02-28)

Update Guidance

  1. Update Angular and other packages to newest versions.

  2. Update ng-zorro-antd to 7.0.

Notice

Pay attention to these changes to ensure that your code works as expected:

  1. All components now work with OnPush strategy. Components with this strategy would not respond to mutations on object properties or array child items, even decorated with @Input(). So you should make all your @Input properties immutable objects. Not only this would ensure your code works correctly but also improve performance if you use immutable objects right. Please checkout our example below.
  2. We correct the meaning of nzDropdownMatchSelectWidth of Select component. Now it means exactly opposite of the old one.
  3. If you want to add a button to an input-group in search mode, you should use nzAddOnAfter instead of nzSuffix.

Bug Fixes

Features

7.0.0-rc.3 (2018-12-26)

Bug Fixes

7.0.0-rc.2 (2018-12-24) [deprecated]

Bug Fixes

Features

7.0.0-rc.1 (2018-12-12)

Bug Fixes

Features

7.0.0-rc.0 (2018-11-30)

Bug Fixes

Features

1.8.1 (2018-11-24)

Bug Fixes

Features

1.8.0 (2018-10-26)

Bug Fixes

Features

Performance Improvements

1.7.1 (2018-10-23)

Bug Fixes

1.7.0 (2018-10-18)

Bug Fixes

  • tabs: hide next and prev buttons when nzTabPosition is left or right (#2239) (3bb8be5)
  • breadcrumb: navigate within angular (#2283) (0c41306), closes #2254
  • button: fix button loading bug (#2251) (cb71e9b), closes #2191
  • cascader: fix error when nzOptions change and in search mode (#2241) (c3c2d26), closes #2105
  • cascader: fix support to nzLabelProperty (#2231) (37523c8), closes #2103
  • date-picker: fix the calendar not shown up when click on the icon (#2235) (8ffcfac), closes #2221
  • date-picker: use fixed width when "nzShowTime" settled for picker (#2236) (463a14c)
  • icon: fix broken icons (#2248) (e0d9987)
  • icon: fix icon classname writeback (#2259) (c6337c2)
  • list: fix does not trigger change detection correctly when from empty array to data array (#2199) (92c1a85)
  • select: fix space closing select panel (#2240) (3d7fe39), closes #2201
  • select,tree-select: prevent pop the dropdown when click remove (#2290) (4fa9367), closes #2276
  • spin: fix cdk change detection (#2255) (25671b6), closes #1819
  • table: fix filter table header in ant design 3.10 (#2260) (ebf151a)
  • upload: fix only allow type is picture or picture-card generate thumbnail (#2219) (8306111), closes #2216

Features

1.6.0 (2018-09-22)

Bug Fixes

Features

Build

  • build: use ng-packagr to generate library (#2126)

Performance Improvements

1.5.0 (2018-09-09)

Bug Fixes

  • drawer: provide custom scroll strategy (#2095) (b993068), closes #2070
  • modal: fix generic type of the "nzComponentParams" for user to gain more type intellisense (#1812) (6ef1185)

Features

1.4.1 (2018-09-02)

Bug Fixes

1.4.0 (2018-08-19)

Bug Fixes

Features

1.3.0 (2018-08-03)

Bug Fixes

  • auto-complete: reposition when open the first time (#1863) (c80bc8d), closes #1840
  • date-picker: restrict the date when it overflows at the month panel (#1903) (3c654a5), closes #1899

Features

1.2.0 (2018-07-22)

Bug Fixes

Features

1.1.1 (2018-07-02)

Bug Fixes

Features

1.1.0 (2018-06-25)

Bug Fixes

Features

1.0.0 (2018-06-11)

Bug Fixes

Features

0.7.1 (2018-05-24)

Bug Fixes

Features

  • input-number: support input-number placeholder (#1512) (7e3d4e4)
  • autocomplete: support bind any types to the nzModule of trigger element (#1397) (b44296e), closes #1298
  • switch: support fully control by user (#1514) (70ca8bd)

0.7.0 (2018-05-15)

Bug Fixes

0.7.0-beta.5 (2018-05-01)

Bug Fixes

  • input-number: fix display value after formatter changed (#1371) (179c1e2)
  • upload: fix ngModel was changed to nzPercent in nz-progress (#1320) (9b7336e), closes #1209

Features

  • time-picker: support null value in time-picker-panel (#1388) (1ca1490)

0.7.0-beta.4 (2018-04-12)

Bug Fixes

Features

  • mention: add mention component (#1182) (e28c1b5)
  • mention: add prefix property to nzOnSearchChange payload (#1296) (1af5b42)

0.7.0-beta.3 (2018-03-26)

Bug Fixes

Features

  • modal: add afterOpen/afterClose/afterAllClose/closeAll/openModals, adjust the boolean props and changeBodyOverflow and complete testing. (#1165) (10227b8), closes #1155 #1162
  • modal: support triggerOk/triggerCancel to trigger nzOnOk/nzOnCancel manually (#1201) (8cc016e)

0.7.0-beta.1 (2018-03-15)

Bug Fixes

Features

0.6.10 (2018-01-06)

Bug Fixes

Features

0.6.9 (2018-01-02)

Bug Fixes

  • calendar: fix month/year view switched (#768) (383a0f4)
  • transfer: 1.fix the "checkAll" status not updated 2.change "ArrayObservable.of" to "of" (#834) (9c023fa)

Features

  • radio: use nz-radio components alone (#825) (15c968c)
  • transfer: add canMove property & make component using OnPush (#824) (d31c596)

0.6.8 (2017-12-21)

Bug Fixes

  • modal: fix modal type error (#784) (cb0ab64)
  • overlay: update overlay width when the host component's width change (#780) (62fc733), closes #779
  • popconfirm: fix backdrop of popconfirm (#786) (60cf7a9), closes #785
  • table: fix the missing of init table sort class (#781) (b828025), closes #771

0.6.7 (2017-12-15)

Bug Fixes

  • datepicker: disable datepicker when user input (#738) (84c0f23)
  • select: reset select component this._value (#754) (4a50d0d)
  • slider: fix set value in slider (#743) (d0a6793), closes #739

Features

  • calendar: use months short format (#737) (805538c), closes #736
  • tooltip,popover,popconfirm: support "nzMouseEnterDelay" and "nzMouseLeaveDelay" (#758) (3a894f0), closes #757

0.6.6 (2017-12-11)

Bug Fixes

Features

  • input-number: use boundary value instead of previous value (#731) (48e40f4)

0.6.5 (2017-12-10)

0.6.4 (2017-12-10)

Bug Fixes

  • input-number: check value when press tab key (#706) (9923a86), closes #651

Features

  • form: support default nzValidateStatus & support more error status (#696) (3d4213f), closes #693 #692
  • grid: support zero input in grid (#704) (e50b72f), closes #702
  • select: support placeholder for basic select (#703) (a842cdd), closes #413
  • tooltip,popover,popconfirm: do not show tooltip when it's content is empty (54ff189), closes #631
  • tooltip,popover,popconfirm: support hover on the content of it's overlay (e712d87), closes #701

0.6.3 (2017-12-06)

Bug Fixes

  • affix: fix position offset when has deferred render componets. (#672) (74b01da), closes #671
  • radio: value can not be dynamically update (#677) (bedcf96), closes #668
  • select: fix choose disabled item via direction key control (#675) (80d637d), closes #674
  • select: usage public property in accessing other components (#679) (8ba3ea8)

Features

BREAKING CHANGES

  • packaging: umd file name simplified from 'ng-zorro-antd.js' to 'antd.js'

0.6.2 (2017-11-29)

Features

  • slider: support dynamic update nzMarks from outside (#636) (aea80c4), closes #624
  • table and pagination: support custom the page size changer select values(#608) (#626) (034bd71)

0.6.1 (2017-11-26)

Bug Fixes

Features

  • datepicker: support string and number type as value (#593) (aee7abe)

0.6.0 (2017-11-18)

Bug Fixes

  • menu: do not remove submenu when click title (#576) (37cef47), closes #454
  • popover,steps: fix popover always show title placeholder & steps nzDescription property support TemplateRef (#556) (4a4e393), closes #555 #523
  • select: fix multiple select width (#575) (7006766), closes #560

Features

0.6.0-rc.3 (2017-11-04)

Bug Fixes

Features

  • datepicker: support [nzDisabledDate] property in month mode (#451) (cdc0716), closes #442

Performance Improvements

  • classMap: improve classMap performance (#528) (e5b5cc9)
  • polyfill: polyfill all request animation (#527) (8c5a41a)

0.6.0-rc.2 (2017-10-29)

0.6.0-rc.1 (2017-10-28)

Bug Fixes

  • table: fix the wrong semantics about param "nzShowExpand" of nz-row-expand-icon (e4f8337)

build

Features

  • i18n: support i18n functionality (zh-CN, en-US currently) (552fa50), closes #427
  • locale: support change locale at the runtime (globally) (af6c926)

BREAKING CHANGES

  • packaging: 1. usage related to cdk is changed 2. @angular version dependence update to ^4.4.3 (due to @angular/cdk)
  • table: the usage of param "nzShowExpand" is changed to the opposite value. The former, "nzShowExpand" represent as "hide the expand icon", now this change correct it to "show the expand icon".

And the default value of "nzShowExpand" has changed to "true".

0.5.5 (2017-10-21)

Bug Fixes

Features

  • calendar: add year number to month template (#465) (0eba3ae), closes #461
  • steps: support [nzProgressDot] property in vertical mode (#446) (98e2579)

0.5.4 (2017-10-14)

Bug Fixes

  • datepicker: data binding not work when mode is month (#421) (dca0895)
  • modal: restore body overflow before destroyed the component (#415) (083dd03), closes #412

Features

  • input-number: add nzBlur & nzFocus property (#406) (a49a382), closes #396

0.5.3 (2017-09-30)

Bug Fixes

Features

0.5.2 (2017-09-23)

Bug Fixes

  • cascader: select and render leaf label & reset in reactive form (#335) (#336) (#356) (c80bb8e)
  • menu: fix submenu ExpressionChangedAfterItHasBeenCheckedError (#368) (10989ae), closes #367
  • select: fix select style in inline form (#362) (ae06649), closes #306
  • table: fix nzWidth with ngIf (#349) (d5d379b), closes #302
  • moment: rollup compile with incorrect sourcemap (#331) (aec9f83)

Features

  • modal: show confirm loading status of modal opened by nzModalService (#340) (90b7e12), closes #365
  • select: support undefined reset select (#363) (1a997c2), closes #284
  • table: add nzIsPageIndexReset option (#348) (#359) (60e3da9)

0.5.1 (2017-09-16)

Bug Fixes

Features

  • menu: selected child item, its parent highlight (#264) (970e968), closes #262

0.5.0 (2017-09-09)

Bug Fixes

  • all: patch all components with setDisabledState (#188) (69b8979), closes #134
  • carousel: carousel slide height depend on inner content (#242) (94bac1b), closes #162 #170
  • cascader: fix nz-cascader don't refresh when nzOptions binding data changed (#219) (#221) (74b2506)
  • checkbox: fix trigger twitce in safari (#256) (cd5b511)
  • core,root: ensure compatibility to v4 (#233) (2b5c083)
  • datepicker: year and month display in opposite way (#243) (4b5ea54), closes #232
  • dropdown: should always debouce before subscribe visibleChange$ (#237) (0180e1c), closes #234
  • input,datepicker,input-number,select,slider: still dirty when "form.reset()" called (#257) (4233db1), closes #114
  • inputnumber: validate inputnumber value & rewrite strategy (#230) (28669ae), closes #42 #203
  • select, datepicker, timepicker: close dropdown when change to disable status (#222) (6e1b144), closes #190 #195
  • select, datepicker, timepicker, radio, checkbox, input-number: fix touched state (#248) (07f48bc), closes #228

Features

0.5.0-rc.4 (2017-08-31)

Bug Fixes

  • pagination: fix nzPageIndexChange event does not emit (#189) (371b98a)

Features

  • modal: provide open & close & setConfirmLoading function (#125) (0f87f6c), closes #118
  • tooltip,popconfirm,popover: support OnPush (#143) (2f2c9ac), closes #136

0.5.0-rc.3 (2017-08-26)

Bug Fixes

Features

  • affix&anchor&back-top&avatar: add components to library (#88) (468e80b)
  • root: make nz-root optional (#36) (9de3de1)
  • showcase: auto scroll to top when router change & sync code icon with antd (#124) (9a1de83), closes #26

0.5.0-rc.2 (2017-08-19)

Bug Fixes

  • pagination: Pagination QuickJumper bug #37 (a122238)
  • carousel: support dynamic change of nz-carousel-content (#60) (44865c2), closes #56
  • menu: fix submenu level bug & fix menu routerLinkActive bug in lazyload module (#77) (b914afd), closes #35 #52 #74
  • pagination: remove active class when reach first and last page index (#93) (2bcddc7), closes #17
  • steps: fix steps width bug in tab component (#94) (ee4428d), closes #83
  • timeline: eliminate ExpressionChangedAfterItHasBeenCheckedError when use ngFor to render (67df061)

Features

Performance Improvements

0.5.0-rc.0 (2017-08-15)