question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ember.js 3.28 and class based template compilation deprecation

See original GitHub issue

We’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:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
m0glancommented, Apr 29, 2022

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!

1reaction
bertdeblockcommented, Apr 28, 2022

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

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found