learnlinux / tuxlab-app

A Platform for Creating Interactive Linux Courses
GNU General Public License v3.0
7 stars 7 forks source link

An in-range update of @angular/cdk is breaking the build 🚨 #258

Closed greenkeeper[bot] closed 7 years ago

greenkeeper[bot] commented 7 years ago

Version 2.0.0-beta.11 of @angular/cdk just got published.

Branch Build failing 🚨
Dependency @angular/cdk
Current Version 2.0.0-beta.10
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

@angular/cdk 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 could not complete due to an error [Details](https://travis-ci.org/learnlinux/tuxlab-app/builds/278410254?utm_source=github_status&utm_medium=notification)

Release Notes carapace-parapet

Highlights

  • Each @angular/material component is now bundled into its own javascript file. This will allow
    tools like webpack to more easily load only the components being used in an application.
  • New stepper component! The base behavior lives in @angular/cdk with Material Design flavors in
    @angular/material.

Breaking changes

  • Angular Material now requires Angular 4.4.3 or greater
  • MaterialModule has been removed. (cf1ece0) (#6803)
    See the deprecation notice from beta.3 for more information.
  • MdCoreModule has been removed. Most of its functionality has been moved to @angular/cdk over
    the last few releases.
  • FocusOriginMonitor has been renamed to FocusMonitor and moved to @angular/cdk.
  • chip-list: The outputs select and deselect have been removed in favor of a single
    onSelectionChange output.
  • overlay: OverlayState has been renamed to OverlayConfig
  • overlay: Now that the Overlay is part of the cdk rather than Angular Material directly,
    the themeClass property has been removed. To add a class to the
    overlay for theming, you can do
overlayContainer.getContainerElement().classList.add('my-theme-class');
  • DateAdapter method getISODateString has been renamed to toIso8601 and a new method
    fromIso8601 has been added.

Deprecation of "md" prefix.

In earlier betas, we've had a compatibility mode that allowed people to use either "md" or "mat"
as the selector for Angular Material components. This was created so that these components could
live side-by-side with AngularJS Material without CSS from
the two libraries colliding.

For beta.11, we've made the decision to deprecate the "md" prefix completely and use "mat" moving
forward. This affects all class names, properties, inputs, outputs, and selectors (CSS classes were
changed back in February). The "md" prefixes will be removed in the next beta release.

You can automatically update your projects with the angular-material-prefix-updater tool.
Check out the tool's page for instructions on how to run.

Why are we doing this?

We like the "md" prefix too! We added compatibility mode in order to keep "md" around, but over
time we found that there were too many downsides to continue supporting both prefixes at the same
time:

  • Many users found the fact that the CSS used "mat" while templates used "md" confusing.
  • Users in compatibility mode found that having "mat" in their templates while TypeScript class
    names remained "Md" to be unfriendly.
  • Making both prefixes available consistently through templates required adding many
    getters/setters that aliased the "true" property
    .
    This ends up increasing payload size and complexity of the source code.
  • Compatiblity mode itself used broad directive selectors
    to enforce that only one prefix was used at a time. This causes a problem where this broad selector
    prevents Angular from throwing an error if an application uses a component without importing its
    NgModule.

Why not change the styles in AngularJS Material?

We explored this option early on (before creating compatibility mode). We found that changing the
library's styles such that they wouldn't affect the Angular Material components would increase
the specificity. This would have been a significant breaking change, as it would have potentially
broken countless custom styles that relied on a particular specificity working.

Bug Fixes

  • autocomplete,select: inconsistent disabled option coloring (#6640) (454781d), closes #6638
  • autosize: not resizing on programmatic changes (#6654) (89fea50), closes #5247
  • button-toggle: border radius ignored if option is selected (#6699) (82e14f8), closes #6689
  • checkbox: label content should not wrap (#6674) (9acab86), closes #6671
  • chips: set appropriate aria-orientation (#6464) (a37aa6a)
  • datepicker: allow date or datetime strings in fromIso8601 (#7220) (8436f8c)
  • datepicker: allow ISO 8601 strings as inputs (#7091) (d2ceb2c)
  • datepicker: backdrop class should be mat- (#7056) (2b61eb6)
  • datepicker: Create a new injection token to avoid overriding LOCALE_ID (#6708) (2635cad)
  • datepicker: fix wrong datepicker-input value for non MM/DD/YYYY locales (#6798) (29399b8)
  • datepicker: makes sure the datepickerInput is registered (#7049) (e4d48d7)
  • datepicker: toggle not reacting to disabled state changes in datepicker or input (#6964) (85993d3)
  • expansion-panel: dark theme header hover color (#6616) (21c68ad)
  • form-field: add aria-owns to label element (#6683) (4191b4d)
  • form-field: placeholder not floating if autofilled (#6839) (602a861), closes #6837
  • grid-list: avoid unnecessary calc declarations (#6745) (255611b)
  • grid-list: styles not cleared when switching to a different styling mode (#6660) (87d607e), closes #4047
  • input: remove resize handle from non-textarea inputs (#6768) (1272f03), closes #6757
  • list: subheader margin being overwritten by typography (#6735) (efe483a)
  • menu: multiple close events for a single close (#6961) (1cccd4b)
  • menu: nested menu hover not working when trigger is added lazily (#6807) (6b5100b), closes #6731
  • menu: nested trigger staying highlighted after click (#6853) (04bf3d1), closes #6838
  • overlay: rename OverlayState to OverlayConfig (#6972) (1cfce8d)
  • progress-bar: query mode not reversing direction in rtl (#6922) (8a21881)
  • select: extra whitespace around placeholder (#6955) (9fe6386), closes #6923
  • selection-list: do not coerece option value to boolean (#6983) (dfe01f2)
  • selection-list: proper style for disabled options (#6829) (547d11f)
  • slide-toggle: remove side-margin if slide-toggle label is empty (#6881) (a1ec81a), closes #6868
  • slide-toggle: support native tabindex attribute (#6613) (8f9f3c8)
  • slider: thumb disappearing on disabled element with thumb label (#6641) (8243b16), closes #6631
  • slider: update styles when focus and dir change (#6700) (8c49422)
  • slider, drawer: unsubscribe from directionaly change subject (#6907) (a7ce31e), closes #6892 #6903
  • snack-bar: animation not starting for subsequent snack bars (#6649) (730e7ae), closes #6222
  • sort: reverse directions and better animation (#6802) (6fa9e6f)
  • table: gracefully handle undefined/null columns (#6862) (3ddf65b)
  • tabs: fix infinite tab loop (#6663) (67e02b0), closes #4639
  • tabs: tab spacing on desktop incorrect (#6681) (b678119), closes #3347
  • tooltip: closing immediately when triggered on click (#6590) (bcd026f)
  • tooltip: ensure tooltip never passes undefined message to (#7018) (f6d1078)
  • add mat exportAs and class aliases (#7106) (a96b545)
  • tooltip: error on trigger escape presses while closed (#7028) (dcf3b27), closes #7009

Features

  • chip-list: implement FormFieldControl and ControlValueAccessor (#6686) (7a42706)
  • datepicker: Add Moment.js adapter (#6860) (9545427)
  • dialog: add afterOpen to MdDialogRef (#6887) (27cbe47)
  • expansion-panel: allow for the panel header height to be customized (#6643) (11e2239), closes #5641
  • overlay: replace OverlayContainer themeClass w/ addClass/removeClass methods (#6975) (a944f6e)
  • selection-list: add selectAll and deselectAll functions (#6971) (dc9679d), closes #6969
  • sort: add sorting indicator animation (#5831) (70bd5fc)
  • stepper: Add e2e test (#6776) (bef6271)
  • stepper: add moduleId to components (#6780) (f375f92)
  • stepper: Address previous comments + add directionality support (#6775) (c396596)
  • stepper: initial version of stepper (#6594) (87318bc)
  • viewport-ruler: add common window resize handler (#6680) (881630f)
  • add preserveWhitespaces: false to all components (#7115) (2b0315d)
  • move FocusMonitor into cdk (#6921) (6cfe5c4)

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:

greenkeeper[bot] commented 7 years ago

After pinning to 2.0.0-beta.10 your tests are passing again. Downgrade this dependency 📌.