[Snyk] Upgrade: @angular/cdk, @angular/material #123
Closed
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.
Snyk has created this PR to upgrade multiple dependencies.
👯 The following dependencies are linked and will therefore be updated together.ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
from 9.0.0-rc.0 to 9.0.0
on 2020-02-06
from 9.0.0-rc.0 to 9.0.0
on 2020-02-06
Release notes
Package name: @angular/cdk
Highlights
New
@angular/cdk/testing
infrastructure and Angular Material test harnessesTesting components has historically relied on using implementation details such as CSS selectors to
find components and to trigger events. This meant that whenever a component library changed its
implementation, all of the tests relying on those components would need to be updated.
In version 9, we are introducing component harnesses, which offer an alternative way to test
components. By abstracting away the implementation details, you can make sure your unit tests are
correctly scoped and less brittle.
Most of Angular Material's components can now be tested via harnesses, and we are making harnesses
available to any component author as part of the Component Dev Kit (CDK).
Here's an example test before harnesses:
And the same test with harnesses:
Learn more about Angular Material's component harnesses or building your own with the CDK.
New
@angular/google-maps
package!Earlier this year, we changed the name of this repo to "angular/components" to emphasize our goal
to provide more than Material Design components. The 9.0.0 release includes one of the next new
features in that regard- a new package that wraps the Google Maps JavaScript API in an easy-to-use Angular component.
You can see the documentation on GitHub for the time being.
Big thanks to @mbehrlich for contributing this!
New
cdk/clipboard
subpackage containing helpers for working with the clipboard.This new capability for
@angular/cdk
provides some convenient helpers for dealing withthe clipboard. See the documentation for more information.
Big thanks to @xkxx for contributing this!
Breaking changes
We no longer have a direct depedency on
tslib
. Instead it is now listed apeerDependency
.This matches Angular framework.
Users not using the Angular CLI will need to manually install
tslib
via;material
Deprecations:
MatProgressSpinnerModule
not migrated (#17717) (3acd6c1), closes #17715legacy
andstandard
appearances (#17961) (527f1b5)matNativeControl
(#18221) (f0d3a6b)ng add
(#18365) (06b7378)cdk
youtube-player
google-maps
material-experimental
.mdc-tab__ripple
container (#17498) (409e656)cdk-experimental
material
ng add
(#18365) (06b7378)youtube-player
cdk
material
matNativeControl
(#18221) (f0d3a6b)youtube-player
material-experimental
material
google-maps
material
google-maps
material-experimental
material
legacy
andstandard
appearances (#17961) (527f1b5)youtube-player
google-maps
material-experimental
cdk
material
google-maps
youtube-player
material-experimental
9.0.0-rc.4 "samite-semicolon" (2019-11-22)
material
Package name: @angular/material
Highlights
New
@angular/cdk/testing
infrastructure and Angular Material test harnessesTesting components has historically relied on using implementation details such as CSS selectors to
find components and to trigger events. This meant that whenever a component library changed its
implementation, all of the tests relying on those components would need to be updated.
In version 9, we are introducing component harnesses, which offer an alternative way to test
components. By abstracting away the implementation details, you can make sure your unit tests are
correctly scoped and less brittle.
Most of Angular Material's components can now be tested via harnesses, and we are making harnesses
available to any component author as part of the Component Dev Kit (CDK).
Here's an example test before harnesses:
And the same test with harnesses:
Learn more about Angular Material's component harnesses or building your own with the CDK.
New
@angular/google-maps
package!Earlier this year, we changed the name of this repo to "angular/components" to emphasize our goal
to provide more than Material Design components. The 9.0.0 release includes one of the next new
features in that regard- a new package that wraps the Google Maps JavaScript API in an easy-to-use Angular component.
You can see the documentation on GitHub for the time being.
Big thanks to @mbehrlich for contributing this!
New
cdk/clipboard
subpackage containing helpers for working with the clipboard.This new capability for
@angular/cdk
provides some convenient helpers for dealing withthe clipboard. See the documentation for more information.
Big thanks to @xkxx for contributing this!
Breaking changes
We no longer have a direct depedency on
tslib
. Instead it is now listed apeerDependency
.This matches Angular framework.
Users not using the Angular CLI will need to manually install
tslib
via;material
Deprecations:
MatProgressSpinnerModule
not migrated (#17717) (3acd6c1), closes #17715legacy
andstandard
appearances (#17961) (527f1b5)matNativeControl
(#18221) (f0d3a6b)ng add
(#18365) (06b7378)cdk
youtube-player
google-maps
material-experimental
.mdc-tab__ripple
container (#17498) (409e656)cdk-experimental
material
ng add
(#18365) (06b7378)youtube-player
cdk
material
matNativeControl
(#18221) (f0d3a6b)youtube-player
material-experimental
material
google-maps
material
google-maps
material-experimental
material
legacy
andstandard
appearances (#17961) (527f1b5)youtube-player
google-maps
material-experimental
cdk
material
google-maps
youtube-player
material-experimental
9.0.0-rc.4 "samite-semicolon" (2019-11-22)
material
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs