|
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
| 4 | +## v2.0.0 (2023-12-29) |
| 5 | + |
| 6 | +This version is essentially a re-write. We are switching from using [ember-template-imports](https://github.com/ember-template-imports/ember-template-imports) to parse template tags to the more robust [content-tag](https://github.com/embroider-build/content-tag) preprocessor. This should result in fewer unhandled cases and other bugs. For example, this plugin [can now format](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/issues/173) route templates from [ember-route-template](https://github.com/discourse/ember-route-template)! |
| 7 | + |
| 8 | +This is a breaking change in that we are breaking compatibility with the current version of [eslint-plugin-ember](https://github.com/ember-cli/eslint-plugin-ember). If you are running Prettier via eslint-plugin-ember and eslint-plugin-prettier<sup>1</sup>, you will need to follow the following compatibility table, which also appears in the [README](https://github.com/gitKrystan/prettier-plugin-ember-template-tag#compatibility) for this plugin: |
| 9 | + |
| 10 | +| eslint-plugin-ember | prettier-plugin-ember-template-tag | |
| 11 | +| ------------------- | ---------------------------------- | |
| 12 | +| <12 | 1.1.0 | |
| 13 | +| >=12.0.0-alpha.1 | 2+ | |
| 14 | + |
| 15 | +<sup>1</sup> Neither I [nor the Prettier project](https://prettier.io/docs/en/integrating-with-linters.html) recommend running Prettier this way. |
| 16 | + |
| 17 | +Additionally, there are some formatting differences in this version as discussed in the following RFCs: |
| 18 | +* https://github.com/gitKrystan/prettier-plugin-ember-template-tag/issues/192 |
| 19 | +* https://github.com/gitKrystan/prettier-plugin-ember-template-tag/issues/193 |
| 20 | + |
| 21 | +#### :boom: Breaking Change |
| 22 | +* [#152](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/152) Drop Node 16 ([@gitKrystan](https://github.com/gitKrystan)) |
| 23 | +* [#208](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/208) Switch to type: module ([@gitKrystan](https://github.com/gitKrystan)) |
| 24 | + |
| 25 | +#### :boom: Breaking Change / :rocket: Enhancement / :robot: Dependencies |
| 26 | +* [#162](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/162), [#178](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/178), [#185](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/185), [#180](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/180), [#194](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/194), [#211](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/211), and [#212](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/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](https://github.com/patricklx), [@gitKrystan](https://github.com/gitKrystan)) |
| 27 | + |
| 28 | +### :rocket: Enhancement |
| 29 | +* [#178](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/178) Disable minification for easier debugging. |
| 30 | + |
| 31 | +#### :robot: Dependencies |
| 32 | +* [#158](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/158) and [#210](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/210) Upgrade Prettier to 3.1 (including relevant docs updates) ([@bartocc](https://github.com/bartocc) and [@gitKrystan](https://github.com/gitKrystan)) |
| 33 | +* [#182](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/182), [#177](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/177), [#176](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/176), and [#147](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/147) Upgrade typescript and @typescript-eslint dependencies ([@gitKrystan](https://github.com/gitKrystan), [@dependabot[bot]](https://github.com/apps/dependabot)) |
| 34 | +* [#181](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/181), [#169](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/169), [#171](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/171), and [#148](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/148) Upgrade eslint and eslint plugins (not including typescript-eslint) ([@gitKrystan](https://github.com/gitKrystan), [@dependabot[bot]](https://github.com/apps/dependabot)) |
| 35 | +* [#179](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/179), [#140](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/140), and [#150](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/150) Update babel dependencies ([@gitKrystan](https://github.com/gitKrystan), [@dependabot[bot]](https://github.com/apps/dependabot)) |
| 36 | +* [#161](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/161) Bump actions/setup-node from 3 to 4 ([@dependabot[bot]](https://github.com/apps/dependabot)) |
| 37 | +* [#151](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/151) Upgrade various minor dependencies ([@gitKrystan](https://github.com/gitKrystan)) |
| 38 | +* [#145](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/145) Bump postcss from 8.4.27 to 8.4.31 ([@dependabot[bot]](https://github.com/apps/dependabot)) |
| 39 | +* [#144](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/144) Bump @vitest/ui from 0.34.3 to 0.34.6 ([@dependabot[bot]](https://github.com/apps/dependabot)) |
| 40 | +* [#130](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/130) Bump actions/checkout from 3 to 4 ([@dependabot[bot]](https://github.com/apps/dependabot)) |
| 41 | +* [#209](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/209) Upgrade vite to v5, vitest to v1 ([@gitKrystan](https://github.com/gitKrystan)) |
| 42 | +* [#207](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/207) Upgrade dev dependencies ([@gitKrystan](https://github.com/gitKrystan)) |
| 43 | +* [#201](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/201) Bump @vitest/ui from 0.34.6 to 0.34.7 ([@dependabot[bot]](https://github.com/apps/dependabot)) |
| 44 | +* [#199](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/199) Bump @babel/core from 7.23.5 to 7.23.6 ([@dependabot[bot]](https://github.com/apps/dependabot)) |
| 45 | +* [#205](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/205) Bump @typescript-eslint/eslint-plugin from 6.13.1 to 6.15.0 ([@dependabot[bot]](https://github.com/apps/dependabot)) |
| 46 | +* [#206](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/206) Bump eslint-plugin-n from 16.3.1 to 16.5.0 ([@dependabot[bot]](https://github.com/apps/dependabot)) |
| 47 | +* [#196](https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/196) Bump vite from 4.5.0 to 4.5.1 ([@dependabot[bot]](https://github.com/apps/dependabot)) |
| 48 | + |
| 49 | +#### Committers: 3 |
| 50 | +- Julien Palmas ([@bartocc](https://github.com/bartocc)) |
| 51 | +- Krystan HuffMenne ([@gitKrystan](https://github.com/gitKrystan)) |
| 52 | +- Patrick Pircher ([@patricklx](https://github.com/patricklx)) |
| 53 | + |
| 54 | + |
| 55 | + |
4 | 56 | ## v2.0.0-2 (2023-12-29) |
5 | 57 |
|
6 | 58 | #### :bug: Bug Fix |
|
0 commit comments