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.
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.
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.
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.
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.
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.