App is breaking in Angular 7.2.0 because of '傻傻defineInjectable' in clr-angular.js. It seems its only available in Angular 8. As of right now we can't update our app to Angular 8. Is there a way to handle backwards compatibility in the latest Clarity version as we also need to use Clarity 2 to use accordion?
Steps to reproduce the behavior:
You will see this warning during build

During runtime, that app will break and this will be the error.

App
Clarity: 2.0.1
Device:
Type: Thinkpad T470p
Clarity is following the Angular release schedule (read more).
What this means is that you should expect breaking changes between major version upgrades that will not be supported in previous versions. There will be 12 months of _bug fixes/security patches_ for Clarity v1.x.x.
Hi @hippee-lee why was this closed? We're starting out a new project and using everything in the latest versions that are stable, Angular 8 was released just a few months back and you can't expect everyone to start using the latest Clarity with the latest Angular right of the bat, without even specifying a workaround.
We have a defined support policy where certain versions of Clarity support certain versions of Angular because of these types of problems that occur. Also Angular has some breaking changes in v8 that we had to incorporate so that means we cannot support Angular v7 in Clarity 2.0. The workaround is to install the latest Clarity 1.x release until you plan to update to Angular 8.
See our change log for Clarity 2 and our support strategy here. https://medium.com/claritydesignsystem/updating-the-clarity-release-and-support-strategy-c1e37f7d5a0
Thanks for stating this clearly and directly. I strongly suggest adding clear information on angular clarity version compatibility (citing specific versions numbers) to the documentation site. It would be a big time savings for some of us novices.
Documentation is specific to the last release for each major version.
Above the component side navigation is a dropdown that allows selection of the version of interest if it is not the latest.
Hi there 馃憢, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.