Releases: angular/components
Releases · angular/components
chocolate-reality
Bug Fixes
- autocomplete: panel blending in with background in high contrast mode (#11190) (23fca28)
- autosize: error thrown by IE in some cases when component is destroyed (#11109) (408134f)
- button: ripples not being clipped by button border radius (#11181) (a1d98a9), closes #11160
- checkbox: update MatCheckbox disabled setter to trigger change detection (#11098) (22baefc)
- datepicker: dateInput event being fired if the value hasn't changed (#10952) (f3d436d)
- dialog: min-height and max-height not having an effect on dialog container (#11235) (7ea3900)
- icon: remove duplicate icon registry provider (#11214) (c66d6a5)
- add custom theme using string ref in angular.json (#11189) (f0b1529), closes #11188
- ripple: disable ripple animations when using NoopAnimationsModule (#11205) (29d7330)
- sidenav: disable all sidenav animations when using NoopAnimationsModule (#11180) (0c7998c)
- stepper: error being thrown if selected step is accessed too early (#11186) (834c6f7), closes #11158
- stepper: handle keyboard interactions if direction changes after init (#11067) (b15b8be)
- table: add missing constructors (#11252) (f02bb05)
- tabs: handle long tab labels in mat-tab-nav-bar (#10903) (f5eda86)
Performance Improvements
glass-spaceship
6.0.1 glass-spaceship (2018-05-07)
Bug Fixes
- chips: stacked chips overflowing chip list (#11143) (70ba46e)
- datepicker: don't autofocus calendar cell if used outside of overlay (#11049) (2a02ce2)
- focus-monitor: don't null-out focus until after event is finished with capture & bubble (#10721) (71ac0ae)
- focus-monitor: reenter ngzone before emitting (#10549) (8be7d4e)
- form-field: error on IE11 when using outline appearance (#11108) (3f87309)
- icon: log full error message when icon set fails to load (#10915) (f6af40c)
- ng-add: install added packages (#11163) (bf9d5bb)
- radio: update set disabled directly on MatRadioButton to trigger change detection (#11056) (a4597c9)
vibranium-vivarium
6.0.0 vibranium-vivarium (2018-05-03)
Highlights
MatTree
component is now available, @tinayuangao recently gave a talk at ng-conf about the new component<mat-table>
and<cdk-table>
now native<table>
elements in addition to the existingdisplay: flex
based layoutMatTable
now supports having an optional footer row- Schematics are now available for Angular Material, @jelbourn recently gave a talk at ng-conf about using schematics
MatTabs
content can now be lazy loadedMatBadge
andMatBottomSheet
components are now available@angular/cdk/overlay
has a new positioning strategy available,FlexibleConnectedPositionStrategy
, which intelligently handles sizing and positioning to ensure that overlay contents always remain on the screenMatIcon
now allows SVG icons to be registered from strings@angular/cdk/keycodes
now includes most keycodes you might need for building a web application- 130+ bug fixes
- Docs for v5 are now available at v5.material.angular.io
- A version picker is available material.angular.io to switch between docs versions
Upgrading to Angular Material 6.0
With the Angular CLI v6.0+, you can use the ng update
command to automatically migrate to the new APIs
ng update @angular/material
NOTE: There may be some cases where the tool may be unable to automatically migrate, but will notify you of those cases
Breaking Changes
- A number of APIs that were deprecated during beta have been removed, see here for complete list
- See
ng update
tooling above to automatically migrate to the new APIs
Bug Fixes
- autocomplete: panel direction not being updated if the trigger direction changes (#10916) (8c30cee)
- button-toggle: not usable in high contrast mode (#11097) (dd2f465)
- dialog: add generic parameter for the dialog result to open method (#11059) (bf1bdc0)
- form-field: inconsistent underline height at different DPIs (#11062) (0f7d503)
- form-field: scrollbars appear on autosize textarea in chrome (#10811) (385f96d)
- form-field,select: handle form field controls inside toolbar (#10627) (1a3993e)
- list: selection list always firing change event for selectAll and deselectAll (#11029) (54c0b00)
- menu: not updating panel direction after init (#11070) (294ba3c)
- menu: unable to open same sub-menu from different triggers and not picking up indirect descendant items (#10132) (5393bfe)
- overlay: error when rendering flexible overlay on the server (#11072) (422d102)
- paginator: handle negative pageSize and pageIndex correctly (#11068) (3f5e481)
- select: losing focus position when tabbing away after clicking inside multi select (#10905) (c6ad1f8)
- select: unable to toggle multi select option after using the mouse (#11061) (01d0993)
- sidenav: box shadow visible while closed when rendering on the server (#10969) (cfe6c1d)
6.0.0-rc.14
Bug Fixes
- card: flat card selector not working (#11028) (b67813e), closes #11014
- ci: Shard tests on CI across 3 browsers (#11048) (a647579)
- overlay: always dispatch keyboard events to top overlay in OverlayKeyboardDispatcher (#10807) (d96fa07), closes #10799
- schematics: allow more tsconfig locations for ng update (#11058) (7bbc040)
6.0.0-rc.12
Bug Fixes
- breakpoint-observer: split comma separated queries into separte queries (#10789) (7c1549a)
- datepicker: high contrast accessibility improvements (#10363) (4d23b08)
- datepicker: update popup direction if datepicker direction changes (#10871) (4cc72b8)
- directionality: complete change event on destroy (#10826) (b057391)
- form-field: incorrect label position for outline style in prod mode (#10803) (7484321)
- menu: svg icons not aligned inside menu item (#10837) (2af9c35), closes #10832
- schematics: correct path to ng-update entry-point (#10850) (6a82c65)
- schematics: ignore e2e projects w/
ng add
(#10883) (5554506) - schematics: make v6 migration work (#10853) (c9f5be6)
- scrolling: complete ScrollDispatcher.scrolled on destroy (#10794) (41be069)
- select: open method triggered twice on click (#7619) (991daac)
- selection-list: toggle newly-focused item when pressing arrow key + shift (#10828) (975fe7e)
- stepper: not resetting to first step when some of the steps aren't editable (#10804) (5df8d01), closes #10801
- table: Allow any iterable to be used as for
columns
in headerrow and row defs (#10822) (92e5f55) - tree: make toggle non-recursive by default (#10879) (5920bc3)
- stepper: add animationDone event (#10752) (358a12d), closes #9087
cardboard-kangaroo
Highlights
- Tweak peer deps to avoid warnings when updating Angular to 6.0
6.0.0-rc.5
Bug Fixes
- schematics: move ng-update under correct location (d98fb35)
6.0.0-rc.4
6.0.0-rc.3
Bug Fixes
- button-toggle: selected value not being maintained when changing value while toggles are being swapped out (#10707) (dec91ce), closes #10690
- focus-monitor: server-side rendering error when using focusVia (#10729) (44a0a4f)
- radio: checked radio button indistinguishable in high contrast mode (#10753) (a74099f)
- schematics: schematics now functioning with Angular CLI v6 (#10703) (023e8f4)
6.0.0-rc.2
Features
- coercion: add utility for coercing CSS values (#10654) (e30824c)
- icon: allow SVG icons to be registered from strings (#10757) (57efa13), closes #3132
- overlay: add the ability to set the default offsets on FlexibleConnectedPositionStrategy (#10555) (bcff93e)
- table: support native table selectors (#10594) (7774da2)
Bug Fixes
- autocomplete: panel width not being updated on window resize (#10629) (2dc4e70)
- badge: incorrectly handling rtl (#10630) (9c1f8a9)
- button-toggle: changed after checked error for repeated toggles with a preselected value (#10612) (9a3d3e8)
- button-toggle: setting blank aria-label attribute by default (#10605) (95dba59)
- datepicker: avoid accidental form submissions through calendar buttons (#10515) (edb57f9), closes #10514
- datepicker: close datepicker popup on alt + up arrow (#10662) (446ef66)
- datepicker: export
MatCalendarHeader
(#10633) (5df1af6) - datepicker: nested animation not working (#10355) (9fff92f), closes #9134
- datepicker: overly broad selector in theme (#10372) (5b7a6a3)
- datepicker: reformat valid values on blur (#10777) (603dfa4), closes #10645
- focus-monitor: hitting ngzone when using focusVia (#10608) (b38b966)
- focus-trap: wrong element being checked when logging deprecation warning (#10578) (52493d1)
- form-field: run change detection when prefix or suffix changes (#10670) (515cc06)
- form-field: server-side rendering error with outline appearance (#10719) (39887da)
- overlay: centered flexible positioning not working in some browsers (#10701) (dfc3b02)
- overlay: incorrect bottom offset using upward-flowing flexible position with a viewport margin (#10650) (306b704)
- platform: change isBrowser check to use Angular PLATFORM_ID (#10659) (f023579)
- progress-spinner: set spinner width to match diameter. (#10314) (c64cb7e)
- sidenav: remove dependency on OverlayModule (#10357) (27ef2dc)
- slide-toggle: run timeout outside the NgZone (#10655) (6f7765e)
- stepper: header icon collapsing with very long labels (#10341) (5b5f2ee), closes #10332
- stepper: horizontal stepper cutting off bottom part of content (#10644) (4fbde10), closes #10634
- table: MatTableDataSource incorrectly sorting zero (#10561) (bcb5697), closes #10556
- table,sort,paginator: incorrect spacing in rtl (#10617) (46ca6ce)
- tabs: hide mat-tab-nav-bar ink bar when no link is active (#9701) (51206ee), closes #9671
- tabs: tab content portal not being cleaned up on destroy (#10661) (2e3393a)
- theme: apply base theme classes at location the theme is included (#10737) (2aba8ab)
- tooltip: error when updating position while closed (#10704) (6449ae1)
- tree: fix exported symbol cannot be named error. (#10626) (6729b6d)
- tree: fix nested node cannot expand/collapse multiple times (#10671) (5570beb)
- tree: fix nested node is not working (#10635) (7857b92)