Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update @angular/cdk to the latest version 🚀 #117

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Nov 6, 2017

Version 5.0.0-rc0 of @angular/cdk was just published.

Dependency @angular/cdk
Current Version 2.0.0-beta.12
Type dependency

The version 5.0.0-rc0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of @angular/cdk.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes cesium-cephalopod

Highlights

  • First release candidate for Angular Material and CDK! The team now believes that APIs and
    behaviors are stable and mature enough to exit beta. Please continue to file issues that
    help us eliminate more bugs from the forthcoming 5.0.0 release. Moving forward, the major
    version number of Angular Material and CDK will update alongside Angular itself.
  • Based on Angular 5.0
  • More consistent naming conventions across the board
  • 60+ bug fixes

BREAKING CHANGES

  • Angular Material now requires Angular 5, which itself requires TypeScript 2.4+ and RxJS 5.5.2+
  • mat-icon now uses HttpClient from @angular/common/http instead of Http from
    @angular/http. Any unit tests that faked icon responses should be changed to use an
    HttpInterceptor.
  • @angular/cdk/rxjs has been removed in favor of RxJS 5.5's lettable operators.
  • toolbar: in previous versions, any content of mat-toolbar not wrapped in a
    mat-toolbar-row would be rendered inside of an implicitly created mat-toolbar-row. As of rc0,
    this implicit row will no longer be created. This means that any custom application CSS that
    targeted this implicitly created mat-toolbar-row will no longer apply. Users can re-add the
    mat-toolbar-row in their own templates to match the original output structure. This
    resolves a longstanding issue where display: flex styles were difficult to use on mat-toolbar.
  • accordion: move CdkAccordion to @angular/cdk/accordion
    • CdkAccordion and associated classes live in @angular/cdk/accordion
    • AccordionChild is renamed to CdkAccordionChild
    • CdkAccordion no longer has displayMode and hideToggle @Inputs
    • CdkAccordionItem is now a @Directive
  • table:
    • The argument order for the when property of matRowDef and cdkRowDef has been changed
      from (rowData, index) to (index, rowData) in order to match trackBy.
  • datepicker:
    • fromIso8601 method on DateAdapter removed in favor of deserialize
    • DateAdapter will return an invalid date instead of throwing an error
    • The userSelection @Output of mat-calendar has been made internal-only
  • cdk/scrolling:
    • ScrollDispatcher.getScrollContainers has been renamed to getAncestorScrollContainers to
      better match its behavior.
    • The ScrollDispatcher.scrollableReferences property has been renamed to scrollContainers.
    • The ScrollDispatcher.scrollableContainsElement method has been removed.
    • The Scrollable class has been renamed to CdkScrollable for consistency.
  • unique-selection: move UniqueSelectionDispatcher to @angular/cdk/collections
    (UniqueSelectionDispatcher, UniqueSelectionDispatcherListener, and
    UNIQUE_SELECTION_DISPATCHER_PROVIDER)
  • MATERIAL_COMPATIBILITY_MODE, CompatibilityModule, NoConflictStyleCompatibilityMode,
    MatPrefixRejector, MdPrefixRejector symbols have been removed.
  • MAT_CONNECTED_OVERLAY_SCROLL_STRATEGY is renamed to CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY

Deprecations

  • The following classes have been renamed. The old names are still available as deprecated:
    OverlayOrigin -> CdkOverlayOrigin
    ConnectedOverlayDirective -> CdkConnectedOverlay
    PortalDirective -> CdkPortal
    PortalHostDirective -> CdkPortalOutlet
    ObserveContent -> CdkObserveContent
  • The following @Output names have been renamed. The old names are still available as deprecated:
  • mat-select
    • onOpen -> opened
    • onClose -> closed
    • change -> selectionChange
  • mat-sidenav / mat-drawer
  • open -> opened
  • close -> closed
  • mat-menu
    • close -> closed
  • matMenuTriggerFor
    • onMenuOpen -> menuOpened
    • onMenuClose -> menuClosed
  • mat-chip
    • onSelectionChange -> selectionChange
    • remove -> removed
    • destroy -> destroyed
  • mat-tab-group
    • selectChange -> selectedTabChange

Features

  • table: add MatTableDataSource (#6747) (a9600e7)
  • dialog: support minWidth, minHeight, maxWidth and maxHeight (#7488) (57f19cd)
  • overlay: new keyboard dispatcher for targeting correct overlay (#6682) (a2ca4d6)
  • snack-bar: set snack bar to be responsive. (#7485) (5b7982f)
  • sort: use existing intl provider if one exists (#7988) (c8df2c1)
  • dialog: add optional generic param for config data (#7447) (b29ac45), closes #4398
  • Most directives / components now define an exportAs name (#7554) (fa441bc)

Bug Fixes

  • block-scroll-strategy: disable smooth scrolling before restoring scroll position (#8132) (75bccde), closes #7139
  • button: focus styles not applied to programmatically focused buttons (#5966) (a0bb1a3), closes #7510
  • button-toggle: support two-way binding of value (#7911) (ee4915c)
  • card: change image path to https in example (#7800) (65d3630)
  • chip-list: use role = listbox only if chip list is not empty (#7664) (dc76c09)
  • chips: programmatically selected chip stealing focus (#7978) (8168667)
  • datepicker: allow DateAdapter authors to have more control ove… (#7346) (9fa075e)
  • datepicker: use disabled state from FormControl (#7514) (66e71c8)
  • dialog: don't block other dialogs from opening while animating (#8051) (cc4fc11), closes #6560
  • drawer: not restoring focus on close (#7668) (3041124)
  • drawer: unable to toggle while drawer is animating (#6810) (085827f), closes #6376
  • expansion-panel: prevent content from being clipped (#7617) (aa77aa1)
  • focus-trap: server-side rendering error (#7635) (f7a12b6), closes #7633
  • focus-trap: update focus trap attrs to camel case #6799 (#6960) (c663fad)
  • form-field: fix underline at different zoom levels (#7567) (5cffd7c)
  • form-field: remove 200px width since it messes up flex layouts (#7083) (160a511)
  • form-field: remove specific mention of matInput in error (#7727) (f17cb99)
  • icon: use SafeResourceUrl in getSvgIconFromUrl (#7535) (291a87c)
  • input: remove IE clear icon (#8095) (2fa679b), closes #8076
  • menu: add typography mat-font-weight (7fe1b81)
  • menu: make @output names consistent #6677 (#8053) (b2dd17a)
  • menu: not handling keyboard events when opened by mouse (#4843) (d822a39), closes #4991
  • menu: wrong offset for nested menu in a fallback position (#7562) (074f6ce), closes #7549
  • overlay: CloseScrollStrategy not triggering change detection on close (#7929) (c0ba25a), closes #7922
  • overlay: emitting to detachments stream when not attached (#7944) (6fdc237)
  • overlay: import BidiModule in OverlayModule (#7566) (4321f32)
  • overlay: overlay class audits #6372 (#8056) (cd05b54)
  • overlay: wait until after change detection to position overlays (#6527) (f299d25)
  • paginator: fix select baseline; support mobile (#7610) (c12e4b5)
  • progress-spinner: fallback animation not working (#7599) (4bb696e)
  • progress-spinner: inaccurate stroke width on really small spinners (#7725) (f52f078), closes #7686
  • progress-spinner: spinner with narrower stroke not taking up entire element (#7686) (2361983), closes #7674
  • scroll: Replace references to scrollableReferences (#7752) (9673f63)
  • select: errors not shown on submit (#7640) (d2f41a4), closes #7634
  • select: make @output names consistent #6677 (#8052) (f59abdb)
  • select: not scrolling active option into view when typing (#7620) (717f252)
  • select: remove inert focus call (#7729) (70c349c)
  • select: support typing to select items on when closed (#7885) (8edb416)
  • select: unable to preselect array value in single selection mode (#7603) (d55aa0c), closes #7584
  • select: wrong cursor on disabled select (#7696) (9b4f435), closes #7695
  • selection-list: fix option value coercion and selection events (#6901) (80671bf), closes #6864
  • snack-bar: add content fade in animation (#7504) (2b9c470)
  • snackbar: swap enter and exit animation curves (#6791) (4f571b1)
  • sort: fix arrow on width-constrained headers (#7569) (147ae46)
  • spinner: set initial value for spinner to 0. (#8139) (9e4c636)
  • stepper: don't grey out non-linear steps (#7479) (60707b3), closes #7260
  • stepper: error when selectedIndex is pre-set (#8035) (cf11ff2), closes #8031
  • table: broaden abstraction for filtering (#8059) (d47b37a)
  • table: cell content should not stretch width (#7666) (bb424e2)
  • table: empty string should be sorted right (#8011) (58627c4)
  • table: render cells even if data is falsy (#7914) (f601e83)
  • table: switch when arguments (#7516) (a2129fc)
  • table: Provide a provider if exists. (#7895) (9a05ecd), closes #7344
  • table: throw error when missing row defs (#7751) (55476e2)
  • table: update implicit when using trackby (#7893) (f806286)
  • tabs: incorrect ripple color for tabs with background (#8123) (02d3eb6)
  • toolbar: no longer auto-generate toolbar rows (#6661) (c3405aa), closes #6004 #1718
  • tooltip: don't open from programmatic focus (#7258) (90a55fa), closes #7245
  • viewport-ruler: incorrectly caching viewport size (#7951) (0d6d9cc)
  • consistent names for all cdk directives (#8088) (f08b3f0)
  • don't show sanity check messages in tests (#8080) (d17f9d2)
  • user-select mixin ignores value (#7992) (eaa4a36)

Performance Improvements

Code Refactoring

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

@greenkeeper
Copy link
Author

greenkeeper bot commented Nov 28, 2017

Version 5.0.0-rc.2 just got published.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Dec 5, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 5, 2017

Version 5.0.0-rc.3 just got published.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Dec 6, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 6, 2017

Version 5.0.0 just got published.

Update to this version instead 🚀

Release Notes velvet-cuttlefish

Bug Fixes

  • drawer: avoid initial animation when rendering on the server (#8828) (2b1f84e), closes #6865
  • tabs: hide tab body content after leaving the tab's view area (#8827) (05d726d)

Features

greenkeeper bot added a commit that referenced this pull request Dec 11, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 11, 2017

Version 5.0.1 just got published.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Dec 19, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 19, 2017

Version 5.0.2 just got published.

Update to this version instead 🚀

Release Notes 5.0.2

5.0.2 flannel-battlestar (2017-12-19)

Bug Fixes

Performance Improvements

greenkeeper bot added a commit that referenced this pull request Jan 2, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Jan 2, 2018

Version 5.0.3 just got published.

Update to this version instead 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants