GitHub
10/16/2023, 9:09 PM3.0.3
đź”— Changelog
3.0.2
đź”— Changelog
3.0.1
đź”— Changelog
3.0.0
diff
đź”— Release note
3.0.0-alpha.6
What's Changed
• Updatefiles of plugins to use.d.tsby `@​fisker` in prettier/prettier#14435export default ...
Other changes since v2, see `3.0.0-alpha.1` release notes
Full Changelog: prettier/prettier@3.0.0-alpha.5...3.0.0-alpha.6
3.0.0-alpha.5
What's Changed
• Addfiles by `@​sosukesuzuki` in prettier/prettier#14212.d.ts
• Support TypeScript 5 viaparser by `@​fisker` in prettier/prettier#14391babel-ts
Other changes since v2, see `3.0.0-alpha.1` release notes
Full Changelog: prettier/prettier@3.0.0-alpha.4...3.0.0-alpha.5
3.0.0-alpha.4
What's Changed
• Remove support for Flow comment types by `@​thorn0` in prettier/prettier#13687
• Makework like v2 by `@​fisker` in prettier/prettier#13732resolveParser
• Addapis to cjs version by `@​fisker` in prettier/prettier#13731__debug
Other changes since v2, see `3.0.0-alpha.1` release notes
Full Changelog: prettier/prettier@3.0.0-alpha.3...3.0.0-alpha.4
3.0.0-alpha.3
• Fixfield inexportsfilepackage.json
Other changes since v2, see `3.0.0-alpha.1` release notes
Full Changelog: prettier/prettier@3.0.0-alpha.2...3.0.0-alpha.3
3.0.0-alpha.2
• Fix bundled... (truncated) Changelog Sourced from prettier's changelog.fileindex.cjs
3.0.3
diff
AddtopreferUnplugged: true(#15169 by `@​fisker` and `@​so1ve`)package.json
Prettier v3 uses dynamic imports, user will need to unplug Prettier when Yarn's PnP mode is enabled, add `preferUnplugged: true` to, so Yarn will install Prettier as unplug by default.package.json
Support shared config that forbids(#15233 by `@​fisker`)require()
If an external shared config package is used, and the packagedon't haveexportsorrequireexport.default
In Prettier 3.0.2 Prettier fails when attempt tothe package, and throws an error.require()
```
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in <packageName>/package.json
```
Allow argument ofto break (#15256 by `@​fisker`)require()
```
// Input
const plugin = require(
global.STANDALONE
? path.join(__dirname, "../standalone.js")
: path.join(__dirname, "..")
);
// Prettier 3.0.2
const plugin = require(global.STANDALONE
? path.join(__dirname, "../standalone.js")
: path.join(__dirname, ".."));
// Prettier 3.0.3
const plugin = require(
global.STANDALONE
? path.join(__dirname, "../standalone.js")
: path.join(__dirname, "..")
);
```
Do not print trailing commas in arrow function type parameter lists incode blocks (#15286 by `@​sosukesuzuki`)ts
```
<!-- Input -->
```ts
const foo = <T>() => {}
```
</tr></table>
```... (truncated) Commits • `d5f3171` Release 3.0.3 • `a35008f` Support shared config that forbids
require() (#15233)
• `1ce97d1` Support TypeScript 5.2 using / await using declaration (#15321)
• `a73cfa0` Fix build script --report option (#15323)
• `941c6b3` Minor refactor to getSupportedFilesGlob (#15319)
• `f6c9e9b` Assert uniqueness in language properties (#15320)
• `288ea7e` chore(deps): update dependency webpack to v5.88.2 (#15147)
• `6654451` chore(deps): update dependency webpack to v5.88.2 (#15148)
• `d059644` chore(deps): update dependency fast-glob to v3.3.1 (#15001)
• `423011d` Minor refactor to expandPatterns (#15317)
• Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by prettier-bot, a new releaser for prettier since your current version.
<https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-u…
pact-foundation/jest-pact
âś… All checks have passed
21/21 successful checksGitHub
11/13/2023, 9:31 PM