Skip to content

Releases: angular/components

cloth-shirt

02 Sep 23:39
55b7111
Compare
Choose a tag to compare

10.2.0 "cloth-shirt" (2020-09-02)

cdk

bug fix overlay: ensure error isn't thrown when many overlay items are closed from handler (#20377) (8ed5ba7)
bug fix testing: fix change detection timing in testbed (#20465) (29468fa)

material

bug fix button: don't use divs in button template (#20376) (ecde050)
bug fix drag-drop: expose some missing injection tokens (#20410) (a97b050), closes #20406

material-experimental

bug fix mdc-button: double outline for FAB in high contrast mode (#20391) (80bc6cb)

cotton-cactus

27 Aug 00:25
9094de8
Compare
Choose a tag to compare
cotton-cactus Pre-release
Pre-release

cdk

feature add support for TypeScript 4.0 (#20368) (f33210c)
bug fix a11y: add parent node check to AriaDescriber (#19951) (16a3730), closes #19949
bug fix clipboard: scroll position changing while copying on some browsers (#20073) (a6f1a33)
bug fix drag-drop: preserve checked state for grouped radio inputs (#20237) (8c336c9), closes #20236
bug fix layout: support readonly arrays for public methods (#20252) (e3699dc)
bug fix overlay: ensure OverlayOutsideClickDispatcher listens to contextmenu events (#20373) (7a63ad6)
bug fix overlay: fix wrong overflow calculation (#17791) (d2b499d)
bug fix testing: emit pointer events on hover and mouseAway (#20098) (a5274a9)
feature collections: extract view repeater strategies from virtualForOf and CDK table. (#19964) (3b3b55f)
feature testing: add optional excludes to TestElement text method (#20145) (8eb6754)
feature testing: add test harnesses for the datepicker module (#20219) (90d6b70)
bug fix testing: filtering by regex not working (#20148) (20e5ea9)

material

Deprecations:

  • autocomplete: * AUTOCOMPLETE_OPTION_HEIGHT is deprecated, because it isn't being used anymore.
  • AUTOCOMPLETE_PANEL_HEIGHT is deprecated, because it isn't being used anymore.
feature add support for TypeScript 4.0 (#20368) (f33210c)
bug fix badge: allow more data types for badge content (#20331) (75f73ae), closes #20326
bug fix checkbox: not handling unknown color palette (#18467) (64145fd), closes #18465
bug fix chips: support readonly collections in inputs (#20292) (134cbf3)
bug fix core: allow for default color and tabindex to be set per instance (#20125) (c4b7604), closes #18467
bug fix datepicker: add coercion for opened input (#20250) (490a893)
bug fix datepicker: not showing single-day comparison ranges (#20102) (0433cd9), closes #20100
bug fix datepicker: range selection strategy not picking up custom date adapter (#19914) (984ca88), closes #19902
bug fix datepicker: support dateClass on year and multi-year views (#20256) (2683b3d), closes #20017
bug fix dialog: backdrop not detaching if container view is destroyed (#20232) (199f728)
bug fix drag-drop: remove redundant style changes from handle directive (#20330) (fc67ff3), closes #19919
bug fix form-field: add a type check for userAriaDescribedBy (7a2a732)
bug fix form-field: fix form-field comment for google sync (#20109) (28f8edf)
bug fix input: do not override existing aria-describedby value (#19587) (7d511ba)
bug fix list: determine if option value changed (#19828) (#19870) (f9c5ffe)
bug fix list: don't redirect focus to first option on mouse focus (#19889) (22eca83), closes #18948
bug fix overlay: only dispatch position change event if requested (#19785) (bbf5670)
bug fix platform: detect and ignore scrollBehavior polyfills (#20155) (6569041), closes #17847
bug fix portal: running change detection before nodes have been moved to outlet (#16407) (a388cc3), closes #16346
bug fix progress-spinner: Progress spinner animation fails for floating point diameter values (#20192) (2c47b06), closes #20158
bug fix scrolling: virtual scroll not accounting for margin when measuring range (#19852) (a62a50a), closes #19851
bug fix select: emitting change event twice for reset values (#13598) (77b11f4), closes #10859 #10675 #13579
bug fix select: use combobox pattern for accessibility (#20082) (6fbf142), closes #11083
bug fix sidenav: run autosize debounce timer outside the NgZone (#18898) (27e3b9d), closes #18894
bug fix slider: don't emit change events on mousedown (#20240) (ce72369), closes #14363
bug fix stepper: parent stepper picking up steps from child stepper (#18458) (9d309f7), closes #18448
bug fix stepper: remove tabindex from content (#16809) (df7156e), closes #14892 #16692
bug fix table: correctly sort columns with mixed data types ([21f2df3](https://github...
Read more

silver-potato

10 Aug 22:40
df7f880
Compare
Choose a tag to compare

cdk

bug fix overlay: fix wrong overflow calculation (#17791) (6ddcd04)

material

bug fix stepper: remove tabindex from content (#16809) (237a6cc), closes #14892 #16692
bug fix tree: Apply aria-level to all nodes (#17818) (c60fc9e)
performance column-resize: Coalesce style updates along with sticky styler (#20086) (7e2079a)
performance table: Do column name string interpolation once per column instead of once per cell (#19801) (19dd8bb)
performance table: Slightly improve speed of adding/remvoing sticky styles (#19823) (ba35ee1)

pearl-parachute

03 Aug 20:11
7b0bb2c
Compare
Choose a tag to compare

cdk

bug fix clipboard: scroll position changing while copying on some browsers (#20073) (f58407d)
bug fix overlay: only dispatch position change event if requested (#19785) (37b9664)
bug fix portal: running change detection before nodes have been moved to outlet (#16407) (30da7e1), closes #16346
bug fix scrolling: virtual scroll not accounting for margin when measuring range (#19852) (5892285), closes #19851
bug fix testing: emit pointer events on hover and mouseAway (#20098) (5b63309)
performance table: Reduce calls to updateStickyColumnStyles (#19739) (c1d4597)

material

bug fix select: emitting change event twice for reset values (#13598) (0c4ed0a), closes #10859 #10675 #13579
bug fix sidenav: run autosize debounce timer outside the NgZone (#18898) (02210d8), closes #18894
performance tooltip: Hook up to pointer leave events when pointer enter events fire (#19777) (3c9a4ac)

google-maps

bug fix avoid re-initializing info window for same marker (#19299) (d62c70d)

material-experimental

feature add MDC-based mat-option and mdc-core entry point (#19557) (3d0f827)

tin-hat

27 Jul 18:45
34abb58
Compare
Choose a tag to compare

10.1.1 "tin-hat" (2020-07-27)

cdk

bug fix a11y: interactivity checker detecting tabbable state incorrectly for videos, audio and object elements (2825a9b)
bug fix drag-drop: warn if connected container ID doesn't exist (#20057) (4fa9eb9), closes #20056
bug fix drag-drop: not transferring input value when cloning element for preview (#20009) (9833eea), closes #19905
bug fix scrolling: viewport ruler events being run inside zone (#15814) (200ca35), closes #18471

material

bug fix datepicker: emitting dateChange event when opposite range input changes (#19995) (d383bba), closes #19968
bug fix select: indicating programmatic value change as user interaction in some cases (#19970) (88d8416), closes #19967
bug fix tabindex inputs not supporting coercion (#20037) (ec5986c), closes #20026
bug fix datepicker: not updating calendar state if input changes while open (#19973) (8b48a9b), closes #19959
bug fix menu: throw error if menu contains its own trigger (#19943) (16e8376), closes #19941
bug fix table: no data row not shown if data source is empty on init (#19994) (392e384), closes #19992

cdk-experimental

bug fix menu: fix bug preventing keyboard event handling if opened programmatically (#20004) (d7954d6)

material-experimental

bug fix mdc-snack-bar: blending in with background in high contrast mode (#19996) (7b2d6b0)
bug fix mdc-tabs: missing focus indication in high contrast mode (#17601) (ec87358)

plastic-vault

20 Jul 15:56
bff4e28
Compare
Choose a tag to compare

cdk

bug fix a11y: focus trap directive not capturing focus if auto capture input is set after init (#19689) (1acc608), closes #19664
bug fix a11y: list key manager not emitting change event if new item is added to active index (#19666) (3fbebe0), closes #19661
bug fix aria-describer: messages not being read out in IE and Edge (#12304) (0e22019), closes #12298
bug fix drag-drop: pointer position calculation for SVG with viewBox (#19863) (78483bf)
bug fix drag-drop: allow handle to be set on drag element if there is a different drag root (#19559) (2335571), closes #19555
bug fix drag-drop: error when cloning 0x0 canvas (#19707) (3614a0b)
bug fix drag-drop: not starting auto scroll when inside boundary (#19865) (39d48c7), closes #18596
bug fix drag-drop: placeholder element not available in started event (#19493) (bc88cc1), closes #19457
bug fix drag-drop: sometimes incorrectly swapping items at the ends of the list (#19633) (0a6e4d6), closes #19249
bug fix drag-drop: update free drag position on scroll (#19648) (9d903e0)
bug fix platform: rtl scroll axis incorrectly determined in Safari macOS (#19830) (0ddad07), closes #14609
bug fix schematics: errors when attempting to read some files (#19783) (00c5a53), closes #19779
bug fix scrolling: fixed-size-virtual-scroll wrong range and position when items length changes and current scroll is greater than new data length (#19578) (1d6ae58)
feature a11y: Add optional home/end key support to ListKeyManager (#19834) (544e335)
feature overlay: support closing when clicking outside the overlay (#16611) (210d054)
bug fix overlay: outside click dispatcher not accounting for shadow DOM (#19904) (7427b26)
bug fix overlay: overlay directives not emitting when detached externally (#7950) (4a3c960)
feature testing: add base class for harnesses that may contain other harnesses (#19944) (6d2fb1f)
feature tree: add trackBy to NestedTreeControl (#19602) (e2c7e1a)

material

bug fix autocomplete: don't close when clicking inside custom origin (#19784) (1319c0a), closes #19771
bug fix button-toggle: remove unused property and type ToggleType (#19497) (c225b28)
bug fix datepicker: add role to date range input (#19717) (cfe37d1)
bug fix datepicker: don't set aria-labelledby if form field does not have a label (#19639) (37e2171)
bug fix datepicker: label state not being updated in some cases (#19761) (fcfc224)
bug fix datepicker: not marking as dirty when invalid value is typed in (#19730) (8934feb), closes #19726
bug fix datepicker: range input separator not hidden in high contrast mode (#19706) (9af441d)
bug fix dialog: restore focus with the proper focus origin (#9257) (cf9bb1f), closes #8420
bug fix focus indicators: Improve styles that determine when focus indicators should render on selection controls. (#19546) (3d03bf3)
bug fix form-field: error in older versions of edge (#19698) (e1bfb92), closes #17810
bug fix input: changed after checked error if input has static placeholder (#20015) (0d43581)
bug fix input: incorrectly handling nested themes (#19637) (da9c707)
bug fix input: placeholder being read out twice by some screen readers (#10466) (d05ba60), closes #9721
bug fix list: single selection list selected state not shown on touch devices (#19877) (2eff545), closes #19876
bug fix list: use flexbox to size mat-line elements (#19809) (#19819) (998bb18)
bug fix ng-update: properly handle update from different working directory (05ec25f), closes #19779
bug fix progress-spinner: not respecting user colors in high contrast mode (#19786) (abc94c4)
bug fix sidenav: restore focus if drawer is closed through backdrop click (#19534) (5ed1a00), closes #17749
bug fix snack-bar: announcing same message twice to screen readers (#14504) (1bbfcf4)
bug fix sort: sorted state being read out when navigating cells (ea22e92), closes #13012
bug fix tree: allow use of FlatTreeControl's trackBy function in MatTreeFlatDataSource and MatTreeFlattener (#19600) (8ea3558)
bug fix focus monitor-based styles not working in some cases inside shadow ...
Read more

aluminum-alliteration

14 Jul 18:09
ba5c2fe
Compare
Choose a tag to compare

cdk

bug fix drag-drop: pointer position calculation for SVG with viewBox (#19863) (190500a)
bug fix platform: rtl scroll axis incorrectly determined in Safari macOS (#19830) (09b2ae0), closes #14609
bug fix schematics: errors when attempting to read some files (#19783) (4f76a28), closes #19779

material

bug fix autocomplete: don't close when clicking inside custom origin (#19784) (c4fe609), closes #19771
bug fix datepicker: don't set aria-labelledby if form field does not have a label (#19639) (89da95b)
bug fix dialog: restore focus with the proper focus origin (#9257) (8d7b020), closes #8420
bug fix drag-drop: not starting auto scroll when inside boundary (#19865) (3db41f6), closes #18596
bug fix list: single selection list selected state not shown on touch devices (#19877) (c88bf33), closes #19876
bug fix list: use flexbox to size mat-line elements (#19809) (#19819) (5db279e)
bug fix ng-update: properly handle update from different working directory (bb8e04b), closes #19779

google-maps

bug fix rendering blank if custom options with no center are provided (#19916) (a34e6bb), closes #19908

material-experimental

bug fix mdc-list: fix infinite loop on init (#19930) (9ad72cf)
bug fix mdc-snack-bar: error during server-side rendering (#19922) (8bb6cfa)
bug fix mdc-snack-bar: support dark themes (#19926) (9f8683a)
feature snack-bar: add MDC-based snack-bar (#19800) (3d1c539)

platinum-sideburns

29 Jun 23:09
Compare
Choose a tag to compare

10.0.1 "platinum-sideburns" (2020-06-29)

cdk

bug fix scrolling: fixed-size-virtual-scroll wrong range and position when items length changes and current scroll is greater than new data length (#19578) (f3b6555)

material

bug fix a11y: focus trap directive not capturing focus if auto capture input is set after init (#19689) (c23de0e), closes #19664
bug fix a11y: list key manager not emitting change event if new item is added to active index (#19666) (fdfec2f), closes #19661
bug fix button-toggle: remove unused property and type ToggleType (#19497) (cf53a70)
bug fix datepicker: add role to date range input (#19717) (aed23e8)
bug fix datepicker: label state not being updated in some cases (#19761) (0a22e0f)
bug fix datepicker: not marking as dirty when invalid value is typed in (#19730) (590fdd2), closes #19726
bug fix datepicker: range input separator not hidden in high contrast mode (#19706) (2894a71)
bug fix drag-drop: error when cloning 0x0 canvas (#19707) (92bc813)
bug fix drag-drop: placeholder element not available in started event (#19493) (94d3fda), closes #19457
bug fix drag-drop: sometimes incorrectly swapping items at the ends of the list (#19633) (63fe5ed), closes #19249
bug fix drag-drop: update free drag position on scroll (#19648) (ebbe8d7)
bug fix focus indicators: Improve styles that determine when focus indicators should render on selection controls. (#19546) (c85920d)
bug fix form-field: error in older versions of edge (#19698) (539ebf6), closes #17810
bug fix input: incorrectly handling nested themes (#19637) (4a8ce63)
bug fix sidenav: restore focus if drawer is closed through backdrop click (#19534) (c7eaec9), closes #17749
bug fix progress-spinner/testing: harness selector not matching mat-spinner selector (#19657) (d4804c1), closes #19649

material-experimental

bug fix mdc-form-field: update input alignment to match spec (27f5271)

ice-dice

24 Jun 22:31
d3f287d
Compare
Choose a tag to compare

Highlights

  • A number of previously deprecated APIs have been removed (see below for more details).
  • New date-range picker in @angular/material

node-sass deprecation

Support for node-sass with Angular CDK and Angular Material is now deprecated in favor of the
newer and more actively supported sass package. Ending support for node-sass will allow use of
the new Sass module system, which offers a number of benefits over the existing import system.

cdk

Breaking changes

  • CdkDropList.start has been removed.
  • CdkDropList.drop has been removed.
  • CdkDropList.enter has been removed.
  • CdkDropList.exit has been removed.
  • CdkDropList.getItemIndex has been removed.
  • CDK_DRAG_CONFIG_FACTORY has been removed.
  • CdkTable.setHeaderRowDef has been removed. Use CdkTable.addHeaderRowDef and CdkTable.removeHeaderRowDef instead.
  • CdkTable.setFooterRowDef has been removed. Use CdkTable.addFooterRowDef and CdkTable.removeFooterRowDef instead.
  • The _platformId parameter in the Platform constructor is now required.
  • The copied event from cdkCopyToClipboard has been renamed to cdkCopyToClipboardCopied.
  • The _ngZone parameter in the CdkCopyToClipboard constructor is now required.
bug fix table: project colgroup and col elements (#18135) (5b23084)
feature tree: support optional trackBy in FlatTreeControl (#18708) (04d1588)
bug fix testing/testbed: set defined event properties as configurable (94571c5)
bug fix testing/testbed: synthetic DOM events cannot be prevented multiple times (bde3af8), closes #19440
bug fix drag-drop: error during device emulation on firefox (#19396) (d309ee2), closes #19385
bug fix drag-drop: error when item enters from the top and last has an intermediate child (#19361) (fbd6440), closes #19116 #19359
feature table: add the ability to show a data row when no data is available (#18041) (e512581)
bug fix overlay: remove potentially leaky observable (#19146) (27a812b), closes #10573

material

Breaking changes

  • MAT_HAMMER_OPTIONS has been removed.
  • GestureConfig has been removed.
  • HammerInput has been removed.
  • HammerStatic has been removed.
  • Recognizer has been removed.
  • RecognizerStatic has been removed.
  • HammerInstance has been removed.
  • HammerManager has been removed.
  • HammerOptions has been removed.
  • MatButtonToggleGroupMultiple has been removed. Use MatButtonToggleGroup instead.
  • MatSlideToggleDefaultOptions.disableDragValue has been removed.
  • MatSlideToggle.dragChange has been removed.
  • The _ngZone and _dir parameters have been removed from the MatSlideToggle constructor.
  • The _viewportRuler parameter in the MatAutocompleteTrigger constructor is now required.
  • The _location and _errorHandler parameters in the MatIcon constructor are now required.
  • The _errorHandler parameter in the MatIconRegistry constructor is now required.
  • The _ngZone and _document parameters in the MatSlider constructor are now required.
  • The _focusMonitor and _elementRef parameters in the MatSortHeader constructor are now required.
  • The _hammerLoader parameter has been removed from the MatTooltip constructor.
bug fix chips: chip list overriding chip disabled value (#19228) (9be5156), closes #19213
bug fix dialog: focus trap not attached if autoFocus is disabled (#19251) (5bb81e8), closes #18826 #19246
bug fix form-field: add missing material common module (#19093) (ba521d2)
bug fix input: avoid repeat accesses to check if element is a textarea (#19115) (f8d9c96)
bug fix list: selection list marked as touched when tabbing in (#19177) (7fde305), closes #18445 #19171
bug fix tabs: don't prevent default space/enter action if action tab doesn't change (#19207) (b38c812), closes #19190
feature datepicker: add date range picker (#19125) (96efaad), closes #18090 #17363 #17497 #17766 #17363 #17942 #18159 #18213 #18247 #18278 #18292 #18369 #18404 #18531 #18630 #18660 #18753 #18819 #18874 #18884 #18943 #18936 #18980 #19031 #19098 #19088 #19111 #19174 #19088 #19179 #19176 #19187 #19211 #19219 #19239 #19170
feature datepicker: allow for the dropdown position to be customized (#16698) (9104a0b), closes #16550
feature icon: allow fetching icons with credentials (#18896) (77730e9), closes #18871
bug fix datepicker: set color on range separator (#19308) (2f8b271)
bug fix expansion: disable header height transition if noop animations is set (#19373) (189d98e)
feature report warning if duplicate theme styles are generated (6095e29), closes #19141
bug fix dialog: focus recapturing not accounting for autoFocus option (#19356) (72b0219), closes [#18826](https://github.com/angular/components/issues/...
Read more

leather-feather

22 Jun 21:59
02a642b
Compare
Choose a tag to compare
leather-feather Pre-release
Pre-release

material

bug fix datepicker: date range overriding model value if both fields are changed at the same time (#19593) (e2a579a), closes #19588
bug fix datepicker: not revalidating after value is changed through the calendar (#19695) (10888f3)

cdk-experimental

bug fix column-resize: not working inside OnPush component (#19671) (8ff9844), closes #19670

material-experimental

bug fix mdc-menu: menu items missing padding (#19634) (9b8baa6), closes #19548
bug fix popover-edit: closing instantly when opening with enter key (#18444) (23b9145), closes #18194
feature mdc-list: add MDC foundation for action/nav list (#19601) (5f15763)