Skip to content

Release 2.0.0

Compare
Choose a tag to compare
@gitKrystan gitKrystan released this 29 Dec 00:43
· 21 commits to main since this release

This version is essentially a re-write. We are switching from using ember-template-imports to parse template tags to the more robust content-tag preprocessor. This should result in fewer unhandled cases and other bugs. For example, this plugin can now format route templates from ember-route-template!

This is a breaking change in that we are breaking compatibility with the current version of eslint-plugin-ember. If you are running Prettier via eslint-plugin-ember and eslint-plugin-prettier1, you will need to follow the following compatibility table, which also appears in the README for this plugin:

eslint-plugin-ember prettier-plugin-ember-template-tag
<12 1.1.0
>=12.0.0-alpha.1 2+

1 Neither I nor the Prettier project recommend running Prettier this way.

Additionally, there are some formatting differences in this version as discussed in the following RFCs:

  • #192: <template> in CallExpression argument position
  • #193: Short templates in the top-level-of-a-class position

💥 Breaking Change

💥 Breaking Change / 🚀 Enhancement / 🤖 Dependencies

🚀 Enhancement

  • #178 Disable minification for easier debugging.

🤖 Dependencies

Committers: 3