All Versions
108
Latest Version
Avg Release Cycle
29 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v2.8.0 Changes
๐ ๐ Release Notes
-
v2.7.0 Changes
๐ ๐ Release Notes
-
v2.6.2 Changes
๐ Fix LESS/SCSS format error (#12536 by @fisker)
<!-- prettier-ignore -->
// Input .background-gradient(@cut) { background: linear-gradient( to right, @white 0%, @white (@cut - 0.01%), @portal-background @cut, @portal-background 100% ); } // Prettier 2.6.1 TypeError: Cannot read properties of undefined (reading 'endOffset') // Prettier 2.6.2 .background-gradient(@cut) { background: linear-gradient( to right, @white 0%, @white (@cut - 0.01%), @portal-background @cut, @portal-background 100% ); }
โก๏ธ Update
meriyah
to fix several bugs (#12567 by @fisker, fixes inmeriyah
by @3cp)๐ Fixes bugs when parsing following valid code:
foo(await bar());
const regex = /.*/ms;
const element = <p>{/w/.test(s)}</p>;
class A extends B { #privateMethod() { super.method(); } }
-
v2.6.0 Changes
๐ ๐ Release Notes
-
v2.5.1 Changes
๐ Improve formatting for empty tuple types (#11884 by @sosukesuzuki)
<!-- prettier-ignore -->
// Input type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4; // Prettier 2.5.0 type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [ ] ? Foo3 : Foo4; // Prettier 2.5.0 (tailingCommma = all) // Invalid TypeScript code type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [ , ] ? Foo3 : Foo4; // Prettier 2.5.1 type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4;
๐ Fix compatibility with Jest inline snapshot test (#11892 by @fisker)
โ A internal change in [email protected] accidentally breaks the Jest inline snapshot test.
๐ Support Glimmer's named blocks (#11899 by @duailibe)
๐ Prettier already supported this feature, but it converted empty named blocks to self-closing, which is not supported by the Glimmer compiler.
๐ See: Glimmer's named blocks.
<!-- prettier-ignore -->
// Input <Component> <:named></:named> </Component> // Prettier 2.5.0 <Component> <:named /> </Component> // Prettier 2.5.1 <Component> <:named></:named> </Component>
-
v2.5.0 Changes
๐ ๐ Release Notes
-
v2.4.1 Changes
๐ Fix wildcard syntax in
@forward
(#11482) (#11487 by @niksy)<!-- prettier-ignore -->
// Input @forward "library" as btn-*; // Prettier 2.4.0 @forward "library" as btn- *; // Prettier 2.4.1 @forward "library" as btn-*;
โ Add new CLI option
debug-print-ast
(#11514 by @sosukesuzuki)๐จ A new
--debug-print-ast
CLI flag for debugging. -
v2.4.0 Changes
๐ ๐ Release Notes