Skip to content

Latest commit

 

History

History
1714 lines (1055 loc) · 176 KB

CHANGELOG.md

File metadata and controls

1714 lines (1055 loc) · 176 KB

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)