0.13.0 Changelog


This build introduces breaking change. Please read below.

Breaking Changes

7 Changes

Bugs

0 Bug Fixes

Released

Sep 6, 2018

Sketch template

Light Theme
Dark Theme

Highlights

  • Clarity 0.13 is the final release before we go to 1.0! This release includes a number of breaking changes in the pre-release versions, and a number of new features. To help understand what changed in 0.13, all changes are posted below again for you.
  • Support for Angular CLI ng update

    Clarity can now be updated using Angular CLI v6+ by simply running the following: ng update @clr/angular. You can use this with any Angular CLI project, even if you've already started to work on it. You may need to run ng update @angular/core first to update Angular by running ng update @angular/core.

    Removal of forRoot and forChild in ClarityModule

    Clarity has had deprecated methods for the ClarityModule, both which have been removed in this release. They are not utilized and if you use them just simply remove them so anywhere you import Clarity should just be ClarityModule in your imports array.

    Select component

    The new forms now have a Select component, which provides validation and behaviors for the HTML select element.

    Datagrid Typing

    You can now pass in stronger typing information into Datagrid components. See PR 2347 for more details.

    Removal of the undocumented ghost pages feature from the wizard.

    The wizard has had an undocumented ghost pages feature, which was removed. If you happened upon this feature and are using it, you'll need to remove it from your wizards.

    Removal of the code highlight component.

    The code highlight component was removed as it was deprecated and planned to be removed. If you use it, you have a few options.

    1. Use another code highlighting module, several can be found on NPM.
    2. Implement your own version of the code highlight functionality, and you can reference our implementation for this website.
    Removal of old grid push and pull features.

    The old grid push/pull functionality was deprecated and causes a number of issues with popovers and clipping overflow content. The solution is to migrate to the new grid formatting.

    Removal of non-prefixed Clarity API.

    In 0.11, all non-prefixed Clarity classes were deprecated, such as Wizard. The correct implementation is always to use the prefixed version now like ClrWizard.

    Removal of the OK button in datagrid column selector.

    This is a visual breaking change, where we removed the OK button from the datagrid column toggle popover. If you have been using the clr-dg-column-toggle-button button to localize the button text, you can safely remove the OK button as well. This component will now only be used for the Select All text localization. The clrType binding has also been deprecated since it will now not be needed.

    New ClrRadio form component.

    The forms now include a radio component for managing your radio buttons in an Angular form.

    Removal of deprecated icons.

    Some icon shapes have been moved to a different set and this may impact your imports if you use those specific icons. Verify if you are using the following and view the icons documentation for angle-double, bar-chart, collapse, line-chart, and wand to see which set they belong to.

    This release also includes all bugfixes from the 0.12 releases.