Skip to content

Latest commit

 

History

History
executable file
·
157 lines (115 loc) · 15.4 KB

changelog.en-US.md

File metadata and controls

executable file
·
157 lines (115 loc) · 15.4 KB
order title toc timeline
13
Change Log
false
true

ng-zorro-antd strictly follows Semantic Versioning 2.0.0.

Release Schedule

  • Weekly release: patch version at the end of every week for routine bugfix (anytime for urgent bugfix).
  • Monthly release: minor version at the end of every month for new features.
  • Major version release is not included in this schedule for breaking change and new features.

12.1.0

2021-11-30

Bug Fixes

Features

Performance Improvements

  • auto-complete: do not run change detection on mousedown and mouseenter for nz-auto-option (#7048) (d6ca43e)
  • core: do not run change detection when scrolling (#7062) (a972d7b)
  • graph: reduce change detections on click events (#7056) (1e2960a)
  • graph: resolve minimap memory leaks (#7052) (f93960c)
  • modal: do not run change detection when focusing element (#7070) (ffcb709)
  • radio: reduce change detection cycles (#7068) (b8cc94f)
  • resizable: reduce change detection cycles (#7036) (5cad154)
  • select: reduce change detections for nz-select-top-control (#7038) (d45f0ab)
  • upload: do not trigger change detection for nz-upload-btn (#7037) (7e587d1)
  • upload: previewing images should be cancellable when the component gets destroyed (#7067) (8f21ef1)

12.0.2

2021-11-04

Bug Fixes

  • core: correct hidden behavior (#6919) (987b1ca), closes #6918
  • pagination: pre-ellipsis show in the wrong position (#6793) (9700e89)
  • affix: fix update position when target resize (#6896) (d18a8ae), closes #6764
  • date-picker: added missing type attributes for buttons (#7013) (d69d374), closes #7012
  • datepicker: fixed opacity 0 on inline datepicker reopen (#6910) (d392b2e)
  • i18n: update en_GB.ts translations (#6982) (f89cb38), closes #6979
  • modal: footer onClick re-throw error in promise catch (#6928) (3277d22)
  • popconfirm: add nzOkDanger option for nz-popconfirm (#6866) (d889e98)
  • table: show empty state regardless of loading value (#6934) (013beda)
  • timepicker: fix ok button + selection of default open value (#6941) (daf9f57)
  • timepicker: fixed auto positioning picker (#6939) (65fdbc8)
  • tooltip: fix tooltip for deeply wrapped focusable elements (#6965) (78c16a2), closes #6955

Performance Improvements

  • autocomplete: resolve memory leak (#6851) (e61e350)
  • breadcrumb: do not re-enter the Angular zone when calling navigate (#6850) (830a1f2)
  • button: do not trigger change detections on click events (#6849) (85c79f6)
  • core: resolve memory leak (#6852) (25eb0fe)
  • code-editor: load Monaco only once (#7033) (e1eafec)
  • image: resolve memory leak (#6856) (6744eb1)
  • select: do not run change detection if the triggerWidth has not been changed (#6858) (055f4a1)
  • table: resolve leak within the nz-table-fixed-row (#7034) (cfa1ecd)
  • upload: do not trigger change detection for nz-upload-btn (#7032) (47f91c7)

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.

Old Versions

All releases notes can be found here