Ember.js 3.28 and class based template compilation deprecation
See original GitHub issueWe’re upgrading Ember.js from version 3.16 to version 3.28. We’re getting an error that looks like:
Using class based template compilation plugins is deprecated, please update to the functional style
I found this section on the deprecations web page, but it doesn’t give more information. Any idea what this could mean? When I’m running ember test
, the output is flooded with it, can barely read anything. Thank you.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Deprecations Added in Ember 3.x
Importing deprecate from @ember/application/deprecations has been deprecated. ... Using class-based template compilation plugins is deprecated.
Read more >Deprecations Added in Ember 2.x
With template strings, it has become pratical to do it, and they are recommended over Ember.String.fmt . To use the examples from the...
Read more >Ember 3.28 and 4.0 Beta Released
Ember.js 3.28 is an incremental, backwards compatible release of Ember with bug fixes, performance improvements, and a minor deprecation fix.
Read more >Ember 3.1 and 3.2 Beta Released
Today the Ember project is releasing version 3.1.0 of Ember.js, Ember Data, and Ember CLI. This release kicks off the 3.2 beta cycle...
Read more >Deprecations Added in Ember 1.x
register('view:list', ListView); } });. More details on how to register an Ember.js framework component are available in the initializer API documentation and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I really appreciate the effort and I’m sure it will help other confused Ember newbies like me. I will close this issue since I restarted the upgrade process from scratch and didn’t come across it anymore.
Thanks a lot!
That one seems to come from
ember-cli-template-lint
.You can always use Ember Observer’s code search to find things like this: https://emberobserver.com/code-search?codeQuery=RemoveConfigurationHtmlCommentsPlugin.
The solution here would be to remove
ember-cli-template-lint
and useember-template-lint
directly instead.ember-cli-template-lint
is deprecated and won’t be updated to fix this.But if you are updating via
ember-cli-update
, normally this should’ve been taken care of via blueprint updates.