This version is covered by your current version range and after updating it in your project the build failed.
@angular/material is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this :muscle:
md-input-container renamed to md-form-field (while still being backwards compatible)
Almost all components now use OnPush change detection (dialog being the exception)
You can now get back the EmbeddedViewRef when attaching a TemplatePortal
MdSidenav has been split into MdSidenav and MdDrawer. The MdSidenav is now meant to be
used for top-level application navigation, while the drawer is meant to be used for more local
split views. While there are no differences introduced between the two in this release, future
releases will see different features added to each
Breaking changes
Imports from @angular/cdk are now scoped to a specific sub-package. For example, if you
previously had:
This helps ensure you're only pulling in the pieces of the cdk being used as well as providing more
context about what an imported symbol is being used for.
The current set of public @angular/cdk subpackages are:
a11y, bidi, coercion, collections, keycodes, observers, overlay, platform, portal, rxjs,
scrolling, table.
If you are using SystemJS, each package you use must be added to the SystemJS configuration.
All Overlay code has been moved from @angular/material to @angular/cdk. The symbols are
still re-exported through @angular/material, but these re-exports will be removed in a
subsequent release.
cdkScrollable, ScrollDispatcher, and ViewportRuler have been moved from overlay into its
own scrolling subpackage in @angular/cdk.
input: Inputs have a width of 200px by default (similar to native input elements). The
width can be overridden by via the mat-form-field css class.
input: CSS classes have changed from mat-input-container- to mat-form-field-.
input:md-prefix and md-suffix are now mdPrefix and mdSuffix.
portal:TemplatePortal now requires a generic type (C) to align with TemplateRef.
This will usually be any.
portal: Attaching a template portal will now return an EmbeddedViewRef<C> instead of an
empty Map.
observe-content:ObserveContentModule has been renamed to ObserversModule
overlay:PositionStrategy now has an attach method and no longer passes the overlay
DOM element to apply.
datepicker: You must now use a date object (of whatever type your DateAdapter uses) rather
than a string when setting the value of the datepicker programmatically (through value, ngModel,
or formControl).
datepicker:mdDatepickerToggle is now an element <md-datepicker-toggle> with a for
property that points to the MdDatepicker instance
datepicker:NativeDateAdapter will now use Angular's LOCALE_ID instead of the browser's
locale.
sidenav: CSS classes have changed from mat-sidenav- to mat-drawer-
theming: The nonstandard 0 and 1000 hues have been removed from the mat-gray palette
chips: The selectable property of the md-chip-list has
now been moved to md-chip to maintain consistency with the new removable option.
All dash-case @Directive selectors are deprecated in favor of the camelCase equivalent. The
dash-case selectors will be removed in a subsequent release. Some examples include:
Old
New
md-line
mdLine
md-tab-link
mdTabLink
md-tab-label
mdTabLabel
md-card-avatar
mdCardAvatar
md-input-container has been renamed to md-form-field. The old selector will be removed in a
subsequent release. This is in preparation to making md-select a child of md-form-field
such that both select and input share the same features and appearance.
For camelCased directives, each corresponding @Input() is now also prefixed. For example, cdkConnectedOverlay now has inputs for cdkConnectedOverlayOrigin, cdkConnectedOverlayPositions, etc. The class members themselves are
unchanged. The unprefixed inputs will be removed in a subsequent release. Affected directives are cdkPortalHost, cdkConnectedOverlay, mdTooltip, mdTextareaAutosize, and mdMenuTriggerFor.
MdCoreModule is deprecated and will be removed in a subsequent release now that most of its
functionality has been moved to @angular/cdk
Reminder that MaterialModule is deprecated and will be removed in a subsequent release (see
changelog from beta.3 for more information).
Features
autocomplete: emit event when an option is selected (#4187) (2dd5c7c), closes #4094#3645
autocomplete: support for md-optgroup (#5604) (e41d0f3), closes #5581
cdk: move cdkScrollable, ScrollDispatcher, and ViewportRuler out of overlay (#6547) (0f6a2ec)
xxx-intl: replace misused EventEmitter with Subject (#6313) (c20bcf9)
Performance Improvements
observe-content: run outside Angular zone (#6352) (5ccf25d)
sidenav: avoid recalculating the inline styles while sidenav is open (#6189) (57a2f29)
table: cell references not being cleaned up on destroy (#5809) (df1ddee)
tabs: avoid extra resize handler and reflow (#6434) (1df79e9)
Not sure how things should work exactly?
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).
After pinning to 2.0.0-beta.9 your tests are still failing. The reported issue might not affect your project. These imprecisions are caused by inconsistent test results.
Version 2.0.0-beta.10 of @angular/material just got published.
This version is covered by your current version range and after updating it in your project the build failed.
@angular/material is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them. I recommend you give this issue a very high priority. I’m sure you can resolve this :muscle:
Status Details
- ❌ **continuous-integration/travis-ci/push** The Travis CI build failed [Details](https://travis-ci.org/x0156/gh-stats/builds/269811554?utm_source=github_status&utm_medium=notification)Release Notes
découpage-panjandrumHighlights
md-optgroup
Overlay
moved to@angular/cdk
MdSelectionList
md-input-container
renamed tomd-form-field
(while still being backwards compatible)OnPush
change detection (dialog being the exception)EmbeddedViewRef
when attaching aTemplatePortal
MdSidenav
has been split intoMdSidenav
andMdDrawer
. TheMdSidenav
is now meant to beused for top-level application navigation, while the drawer is meant to be used for more local
split views. While there are no differences introduced between the two in this release, future
releases will see different features added to each
Breaking changes
@angular/cdk
are now scoped to a specific sub-package. For example, if youpreviously had:
You will now need to write:
This helps ensure you're only pulling in the pieces of the cdk being used as well as providing more
context about what an imported symbol is being used for.
The current set of public
@angular/cdk
subpackages are:a11y, bidi, coercion, collections, keycodes, observers, overlay, platform, portal, rxjs,
scrolling, table.
If you are using SystemJS, each package you use must be added to the SystemJS configuration.
Overlay
code has been moved from@angular/material
to@angular/cdk
. The symbols arestill re-exported through
@angular/material
, but these re-exports will be removed in asubsequent release.
cdkScrollable
,ScrollDispatcher
, andViewportRuler
have been moved from overlay into itsown
scrolling
subpackage in@angular/cdk
.200px
by default (similar to native input elements). Thewidth can be overridden by via the
mat-form-field
css class.mat-input-container-
tomat-form-field-
.md-prefix
andmd-suffix
are nowmdPrefix
andmdSuffix
.TemplatePortal
now requires a generic type (C) to align withTemplateRef
.This will usually be
any
.EmbeddedViewRef<C>
instead of anempty
Map
.ObserveContentModule
has been renamed toObserversModule
PositionStrategy
now has anattach
method and no longer passes the overlayDOM element to
apply
.than a string when setting the value of the datepicker programmatically (through value, ngModel,
or formControl).
mdDatepickerToggle
is now an element<md-datepicker-toggle>
with afor
property that points to the
MdDatepicker
instanceNativeDateAdapter
will now use Angular's LOCALE_ID instead of the browser'slocale.
mat-sidenav-
tomat-drawer-
0
and1000
hues have been removed from themat-gray
paletteselectable
property of themd-chip-list
hasnow been moved to
md-chip
to maintain consistency with the newremovable
option.If you used the following code,
you should switch it to
Deprecations
@Directive
selectors are deprecated in favor of the camelCase equivalent. Thedash-case selectors will be removed in a subsequent release. Some examples include:
md-input-container
has been renamed tomd-form-field
. The old selector will be removed in asubsequent release. This is in preparation to making
md-select
a child ofmd-form-field
such that both select and input share the same features and appearance.
@Input()
is now also prefixed. For example,cdkConnectedOverlay
now has inputs forcdkConnectedOverlayOrigin
,cdkConnectedOverlayPositions
, etc. The class members themselves areunchanged. The unprefixed inputs will be removed in a subsequent release. Affected directives are
cdkPortalHost
,cdkConnectedOverlay
,mdTooltip
,mdTextareaAutosize
, andmdMenuTriggerFor
.MdCoreModule
is deprecated and will be removed in a subsequent release now that most of itsfunctionality has been moved to
@angular/cdk
MaterialModule
is deprecated and will be removed in a subsequent release (seechangelog from beta.3 for more information).
Features
Bug Fixes
dir
andchanges
readonly (#5645) (8c13325)Performance Improvements
Not sure how things should work exactly?
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper Bot :palm_tree: