Update @angular/material to the latest version 🚀 #137
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Version 2.0.0-beta.8 of @angular/material just got published.
The version 2.0.0-beta.8 is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of @angular/material.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Release Notes
plasma-abacusHighlights
@angular/cdk
(component dev kit)! This package containsgeneral building blocks for UI components decoupled from the visuals of Material Design. In the
initial release, code from Angular Material's
core/
have been moved fora11y/
,bidi/
,coercion/
,observe-content/
,platform/
,portal/
. The@angular/material
package nowre-exports these symbols, marked as deprecated. The re-exports will be removed in a subsequent
release.
<cdk-table>
(the core) and the<md-table>
(with Material Design styles). See the documentation on material.angular.io for moreinformation.
<md-paginator>
and<md-sort-header>
components, which can be used eitherwith
<md-table>
or any other table.@angular/material
and@angular/cdk
are now strict null compliant.Breaking changes
@angular/material
now depends on@angular/cdk
as a peer dependency.| null
or| undefined
for strict null compatibility. Ifyour application uses strict null checks, you may have to update the types in your app to match up
with the more accurate types coming from Angular Material.
Observable
. If your appdepended on these operators being added by Angular Material, you will need to import them
explicitly.
Bug Fixes
Features
Not sure how things should work exactly?
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴