Release 2.0.0
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>
inCallExpression
argument position - #193: Short templates in the top-level-of-a-class position
💥 Breaking Change
- #152 Drop Node 16 (@gitKrystan)
- #208 Switch to type: module (@gitKrystan)
💥 Breaking Change / 🚀 Enhancement / 🤖 Dependencies
- #162, #178, #185, #180, #194, #211, and #212 Replace ember-template-imports with content-tag. As a result, we were also able to remove dependencies on ember-cli-htmlbars and @glimmer/syntax. (@patricklx, @gitKrystan)
🚀 Enhancement
- #178 Disable minification for easier debugging.
🤖 Dependencies
- #158 and #210 Upgrade Prettier to 3.1 (including relevant docs updates) (@bartocc and @gitKrystan)
- #182, #177, #176, and #147 Upgrade typescript and typescript-eslint dependencies (@gitKrystan, @dependabot[bot])
- #181, #169, #171, and #148 Upgrade eslint and eslint plugins (not including typescript-eslint) (@gitKrystan, @dependabot[bot])
- #179, #140, and #150 Update babel dependencies (@gitKrystan, @dependabot[bot])
- #161 Bump actions/setup-node from 3 to 4 (@dependabot[bot])
- #151 Upgrade various minor dependencies (@gitKrystan)
- #145 Bump postcss from 8.4.27 to 8.4.31 (@dependabot[bot])
- #144 Bump @vitest/ui from 0.34.3 to 0.34.6 (@dependabot[bot])
- #130 Bump actions/checkout from 3 to 4 (@dependabot[bot])
- #209 Upgrade vite to v5, vitest to v1 (@gitKrystan)
- #207 Upgrade dev dependencies (@gitKrystan)
- #201 Bump @vitest/ui from 0.34.6 to 0.34.7 (@dependabot[bot])
- #199 Bump @babel/core from 7.23.5 to 7.23.6 (@dependabot[bot])
- #205 Bump typescript-eslint/eslint-plugin from 6.13.1 to 6.15.0 (@dependabot[bot])
- #206 Bump eslint-plugin-n from 16.3.1 to 16.5.0 (@dependabot[bot])
- #196 Bump vite from 4.5.0 to 4.5.1 (@dependabot[bot])
Committers: 3
- Krystan HuffMenne @gitKrystan
- Patrick Pircher @patricklx
- Julien Palmas @bartocc