Skip to content

Commit ddb07bb

Browse files
authored
chore: release package(s) (#521)
1 parent 8d5014a commit ddb07bb

6 files changed

Lines changed: 38 additions & 36 deletions

File tree

‎.changeset/tender-shells-simplify.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.changeset/tombi-toml-formatter.md‎

Lines changed: 0 additions & 29 deletions
This file was deleted.

‎packages/sh/CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## 0.20.0
4+
5+
### Minor Changes
6+
7+
- [#520](https://github.com/un-ts/prettier/pull/520) [`02f37a2`](https://github.com/un-ts/prettier/commit/02f37a238c99be80c376b5905dd1f7612b4db492) Thanks [@celluj34](https://github.com/celluj34)! - Add a `simplify` option to remove redundant shell syntax.
8+
39
## 0.19.0
410

511
### Minor Changes

‎packages/sh/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "prettier-plugin-sh",
3-
"version": "0.19.0",
3+
"version": "0.20.0",
44
"type": "module",
55
"description": "An opinionated `shellscript` formatter plugin for Prettier, also support simple format of `Dockerfile`, `properties`, `gitignore`, `dotenv`, `hosts`, `jvmoptions`...",
66
"repository": "git+https://github.com/un-ts/prettier.git",

‎packages/toml/CHANGELOG.md‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# Change Log
22

3+
## 3.0.0
4+
5+
### Major Changes
6+
7+
- [#519](https://github.com/un-ts/prettier/pull/519) [`e2e5c97`](https://github.com/un-ts/prettier/commit/e2e5c9773c0840d2dcc0458c7d7a0f6a1137d11d) Thanks [@JounQin](https://github.com/JounQin)! - feat(prettier-plugin-toml)!: replace the unmaintained [`taplo`](https://github.com/tamasfe/taplo) with [`tombi`](https://github.com/tombi-toml/tombi)
8+
9+
The parser/printer is now powered by `@tombi-toml/wasm-lib`, which supports TOML
10+
`v1.0.0` and `v1.1.0` and fixes the crashes reported in
11+
[#487](https://github.com/un-ts/prettier/issues/487).
12+
13+
- Prettier's core options are inherited and mapped to tombi: `printWidth` →
14+
`line-width`, `tabWidth` → `indent-width`, `useTabs` → `indent-style`,
15+
`singleQuote` → `string-quote-style` and `bracketSpacing` →
16+
`inline-table-brace-space-width`. `endOfLine` keeps being handled by Prettier.
17+
- The previous `taplo` options (`alignEntries`, `alignComments`,
18+
`arrayAutoExpand`, `arrayAutoCollapse`, `compactArrays`,
19+
`compactInlineTables`, `compactEntries`, `indentTables`, `indentEntries`,
20+
`reorderKeys` and `allowedBlankLines`) are replaced by tombi's own options.
21+
- Tombi's own configuration (`.tombi.toml`, `tombi.toml`, `.config/tombi.toml`
22+
and `[tool.tombi]` in `pyproject.toml`) is picked up following
23+
[Tombi's search priority](https://tombi-toml.github.io/tombi/docs/configuration).
24+
The discovered `[format.rules]` override Prettier's defaults, while explicitly
25+
set Prettier options override the discovered config.
26+
- Node.js `v18.0.0` or later is required.
27+
28+
Tombi's schema lookup is always disabled, and discovered configuration files are
29+
watched so edits to them are picked up without restarting the process.
30+
31+
See the `prettier-plugin-toml` README for the full list of supported options.
32+
333
## 2.0.6
434

535
### Patch Changes

‎packages/toml/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "prettier-plugin-toml",
3-
"version": "2.0.6",
3+
"version": "3.0.0",
44
"type": "module",
55
"description": "An opinionated `toml` formatter plugin for Prettier",
66
"repository": "git+https://github.com/un-ts/prettier.git",

0 commit comments

Comments
 (0)