0.12.0-beta.4 Changelog


This build introduces breaking change. Please read below.

Breaking Changes

1 Change

Bugs

0 Bug Fixes

Released

May 23, 2018

Sketch template

Light Theme
Dark Theme

Highlights

  • Angular 6 support

    Clarity has updated to run with Angular 6 and Rxjs 6 without the need for the rxjs-compat layer. The 0.12 release is only certified to work with Angular 6 and above.

    Support for Angular CLI ng add

    Clarity can now be installed using Angular CLI v6+ by simply running the following: ng add @clr/angular@next. The @next tag is necessary only while Clarity 0.12 is in prerelease, afterwards it won't be necessary. You can use this with any Angular CLI project, even if you've already started to work on it.

    Redesigned Forms

    Forms have been redesigned for better usability and developer experience. Currently they are only fully supported in @clr/ui, but new Angular components will be arriving during 0.12 for important form controls like inputs, passwords, and selects.

    New Spinner Button

    A new type of button is now available, that allows you to set the button to a spinner while an asyncrhonous event occurs (such as saving or loading). You can read more about the details here 1488 and documentation will be available by 0.12 release.

Deprecations

To move forward, this release comes with a number of deprecations that will be removed in future versions of Clarity. You should not use these features in new development, and plan for rewriting where necessary.

  • Code Highlight will be removed, so if you happen to use it you may copy our implementation into your codebase or find an alternative that suits your needs.
  • Wizard Ghost Pages will be removed, which this is an undocumented feature that we're removing.

We also revamped our internal build tooling to better align with Angular's tools. Some of the early betas were published just to test functionality, and this was the first real beta.