Skip to content

Commit 4f2ab67

Browse files
committed
Release 3.9.8
1 parent 3d82af8 commit 4f2ab67

7 files changed

Lines changed: 50 additions & 28 deletions

File tree

‎.github/ISSUE_TEMPLATE/formatting.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Don't fill the form below manually! Let a program create a report for you:
2626
2727
-->
2828

29-
**Prettier 3.9.7**
29+
**Prettier 3.9.8**
3030
[Playground link](https://prettier.io/playground/#.....)
3131

3232
```sh

‎.github/ISSUE_TEMPLATE/integration.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ BEFORE SUBMITTING AN ISSUE:
2020

2121
**Environments:**
2222

23-
- Prettier Version: 3.9.7
23+
- Prettier Version: 3.9.8
2424
- Running Prettier via: <!-- CLI, Node.js API, Browser API, etc. -->
2525
- Runtime: <!-- Node.js v14, Chrome v83, etc. -->
2626
- Operating System: <!-- Windows, Linux, macOS, etc. -->

‎CHANGELOG.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
# 3.9.8
2+
3+
[diff](https://github.com/prettier/prettier/compare/3.9.7...3.9.8)
4+
5+
#### Markdown: Don't let Liquid objects interrupt paragraphs ([#20087](https://github.com/prettier/prettier/pull/20087) by [@seiyab](https://github.com/seiyab))
6+
7+
<!-- prettier-ignore -->
8+
```markdown
9+
<!-- Input -->
10+
If `module` is not a [`WebAssembly.Module`](/en-US/docs/WebAssembly/Reference/JavaScript_interface/Module) object instance, a
11+
{{jsxref("TypeError")}} is thrown.
12+
13+
<!-- Prettier 3.9.7 -->
14+
If `module` is not a [`WebAssembly.Module`](/en-US/docs/WebAssembly/Reference/JavaScript_interface/Module) object instance, a
15+
16+
{{jsxref("TypeError")}} is thrown.
17+
18+
<!-- Prettier 3.9.8 -->
19+
If `module` is not a [`WebAssembly.Module`](/en-US/docs/WebAssembly/Reference/JavaScript_interface/Module) object instance, a
20+
{{jsxref("TypeError")}} is thrown.
21+
```
22+
123
# 3.9.7
224

325
[diff](https://github.com/prettier/prettier/compare/3.9.6...3.9.7)

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "prettier",
3-
"version": "3.10.0-dev",
3+
"version": "3.9.8",
44
"description": "Prettier is an opinionated code formatter",
55
"bin": "./bin/prettier.cjs",
66
"repository": "prettier/prettier",

‎website/versioned_docs/version-stable/browser.md‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Required options:
2121

2222
- **[`parser`](options.md#parser) (or [`filepath`](options.md#file-path))**: One of these options has to be specified for Prettier to know which parser to use.
2323

24-
- **`plugins`**: Unlike the `format` function from the [Node.js-based API](api.md#prettierformatsource-options), this function doesn’t load plugins automatically. The `plugins` option is required because all the parsers included in the Prettier package come as plugins (for reasons of file size). These plugins are files in [https://unpkg.com/browse/[email protected].7/plugins](https://unpkg.com/browse/[email protected].7/plugins). Note that `estree` plugin should be loaded when printing JavaScript, TypeScript, Flow, or JSON.
24+
- **`plugins`**: Unlike the `format` function from the [Node.js-based API](api.md#prettierformatsource-options), this function doesn’t load plugins automatically. The `plugins` option is required because all the parsers included in the Prettier package come as plugins (for reasons of file size). These plugins are files in [https://unpkg.com/browse/[email protected].8/plugins](https://unpkg.com/browse/[email protected].8/plugins). Note that `estree` plugin should be loaded when printing JavaScript, TypeScript, Flow, or JSON.
2525

2626
You need to load the ones that you’re going to use and pass them to `prettier.format` using the `plugins` option.
2727

@@ -32,8 +32,8 @@ See below for examples.
3232
### Global
3333

3434
```html
35-
<script src="https://unpkg.com/[email protected].7/standalone.js"></script>
36-
<script src="https://unpkg.com/[email protected].7/plugins/graphql.js"></script>
35+
<script src="https://unpkg.com/[email protected].8/standalone.js"></script>
36+
<script src="https://unpkg.com/[email protected].8/plugins/graphql.js"></script>
3737
<script>
3838
(async () => {
3939
const formatted = await prettier.format("type Query { hello: String }", {
@@ -50,8 +50,8 @@ Note that the [`unpkg` field](https://unpkg.com/#examples) in Prettier’s `pack
5050

5151
```html
5252
<script type="module">
53-
import * as prettier from "https://unpkg.com/[email protected].7/standalone.mjs";
54-
import * as prettierPluginGraphql from "https://unpkg.com/[email protected].7/plugins/graphql.mjs";
53+
import * as prettier from "https://unpkg.com/[email protected].8/standalone.mjs";
54+
import * as prettierPluginGraphql from "https://unpkg.com/[email protected].8/plugins/graphql.mjs";
5555
5656
const formatted = await prettier.format("type Query { hello: String }", {
5757
parser: "graphql",
@@ -64,8 +64,8 @@ Note that the [`unpkg` field](https://unpkg.com/#examples) in Prettier’s `pack
6464

6565
```js
6666
define([
67-
"https://unpkg.com/[email protected].7/standalone.js",
68-
"https://unpkg.com/[email protected].7/plugins/graphql.js",
67+
"https://unpkg.com/[email protected].8/standalone.js",
68+
"https://unpkg.com/[email protected].8/plugins/graphql.js",
6969
], async (prettier, ...plugins) => {
7070
const formatted = await prettier.format("type Query { hello: String }", {
7171
parser: "graphql",
@@ -96,8 +96,8 @@ This syntax doesn’t necessarily work in the browser, but it can be used when b
9696
<TabItem value="module" label="Module worker">
9797

9898
```js
99-
import * as prettier from "https://unpkg.com/[email protected].7/standalone.mjs";
100-
import * as prettierPluginGraphql from "https://unpkg.com/[email protected].7/plugins/graphql.mjs";
99+
import * as prettier from "https://unpkg.com/[email protected].8/standalone.mjs";
100+
import * as prettierPluginGraphql from "https://unpkg.com/[email protected].8/plugins/graphql.mjs";
101101

102102
const formatted = await prettier.format("type Query { hello: String }", {
103103
parser: "graphql",
@@ -110,8 +110,8 @@ const formatted = await prettier.format("type Query { hello: String }", {
110110

111111
```js
112112
importScripts(
113-
"https://unpkg.com/[email protected].7/standalone.js",
114-
"https://unpkg.com/[email protected].7/plugins/graphql.js",
113+
"https://unpkg.com/[email protected].8/standalone.js",
114+
"https://unpkg.com/[email protected].8/plugins/graphql.js",
115115
);
116116

117117
(async () => {
@@ -131,9 +131,9 @@ If you want to format [embedded code](options.md#embedded-language-formatting),
131131

132132
```html
133133
<script type="module">
134-
import * as prettier from "https://unpkg.com/[email protected].7/standalone.mjs";
135-
import * as prettierPluginBabel from "https://unpkg.com/[email protected].7/plugins/babel.mjs";
136-
import * as prettierPluginEstree from "https://unpkg.com/[email protected].7/plugins/estree.mjs";
134+
import * as prettier from "https://unpkg.com/[email protected].8/standalone.mjs";
135+
import * as prettierPluginBabel from "https://unpkg.com/[email protected].8/plugins/babel.mjs";
136+
import * as prettierPluginEstree from "https://unpkg.com/[email protected].8/plugins/estree.mjs";
137137
138138
console.log(
139139
await prettier.format("const html=/* HTML */ `<DIV> </DIV>`", {
@@ -149,10 +149,10 @@ The HTML code embedded in JavaScript stays unformatted because the `html` parser
149149

150150
```html
151151
<script type="module">
152-
import * as prettier from "https://unpkg.com/[email protected].7/standalone.mjs";
153-
import * as prettierPluginBabel from "https://unpkg.com/[email protected].7/plugins/babel.mjs";
154-
import * as prettierPluginEstree from "https://unpkg.com/[email protected].7/plugins/estree.mjs";
155-
import * as prettierPluginHtml from "https://unpkg.com/[email protected].7/plugins/html.mjs";
152+
import * as prettier from "https://unpkg.com/[email protected].8/standalone.mjs";
153+
import * as prettierPluginBabel from "https://unpkg.com/[email protected].8/plugins/babel.mjs";
154+
import * as prettierPluginEstree from "https://unpkg.com/[email protected].8/plugins/estree.mjs";
155+
import * as prettierPluginHtml from "https://unpkg.com/[email protected].8/plugins/html.mjs";
156156
157157
console.log(
158158
await prettier.format("const html=/* HTML */ `<DIV> </DIV>`", {

‎website/versioned_docs/version-stable/install.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,35 +12,35 @@ First, install Prettier locally:
1212
<TabItem value="npm">
1313

1414
```bash
15-
npm install --save-dev --save-exact [email protected].7
15+
npm install --save-dev --save-exact [email protected].8
1616
```
1717

1818
</TabItem>
1919
<TabItem value="yarn">
2020

2121
```bash
22-
yarn add --dev --exact [email protected].7
22+
yarn add --dev --exact [email protected].8
2323
```
2424

2525
</TabItem>
2626
<TabItem value="pnpm">
2727

2828
```bash
29-
pnpm add --save-dev --save-exact [email protected].7
29+
pnpm add --save-dev --save-exact [email protected].8
3030
```
3131

3232
</TabItem>
3333
<TabItem value="bun">
3434

3535
```bash
36-
bun add --dev --exact [email protected].7
36+
bun add --dev --exact [email protected].8
3737
```
3838

3939
</TabItem>
4040
<TabItem value="deno">
4141

4242
```bash
43-
deno install --dev --save-exact [email protected].7
43+
deno install --dev --save-exact [email protected].8
4444
```
4545

4646
</TabItem>

‎website/versioned_docs/version-stable/sharing-configurations.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Example `package.json`:
4646
"prettier": ">=3.0.0"
4747
},
4848
"devDependencies": {
49-
"prettier": "3.9.7"
49+
"prettier": "3.9.8"
5050
}
5151
}
5252
```
@@ -193,7 +193,7 @@ export default config;
193193
"prettier": ">=3.0.0"
194194
},
195195
"devDependencies": {
196-
"prettier": "3.9.7"
196+
"prettier": "3.9.8"
197197
}
198198
}
199199
```

0 commit comments

Comments
 (0)