Skip to content

Commit 351bccd

Browse files
committed
chore: restore release files
1 parent 32dbfa1 commit 351bccd

File tree

21 files changed

+139
-28
lines changed

21 files changed

+139
-28
lines changed

.changeset/fluffy-jeans-cheat.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.changeset/lazy-animals-burn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@biomejs/biome": patch
3+
---
4+
5+
Fixed [#7212](https://github.com/biomejs/biome/issues/7212), now the [`useOptionalChain`](https://biomejs.dev/linter/rules/use-optional-chain/) rule recognizes optional chaining using `typeof` (e.g., `typeof foo !== 'undefined' && foo.bar`).

.changeset/little-heads-divide.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
"@biomejs/biome": patch
3+
---
4+
5+
Fixed [#7323](https://github.com/biomejs/biome/issues/7323). [`noUnusedPrivateClassMembers`](https://biomejs.dev/linter/rules/no-unused-private-class-members/) no longer reports as unused TypeScript `private` members if the rule encounters a computed access on `this`.
6+
7+
In the following example, `member` as previously reported as unused.
8+
It is no longer reported.
9+
10+
```ts
11+
class TsBioo {
12+
private member: number;
13+
14+
set_with_name(name: string, value: number) {
15+
this[name] = value;
16+
}
17+
}
18+
```

.changeset/nine-turkeys-dig.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
"@biomejs/biome": patch
3+
---
4+
5+
Added the new nursery lint rule `noJsxLiterals`, which disallows the use of string literals inside JSX.
6+
7+
The rule catches these cases:
8+
9+
```jsx
10+
<>
11+
<div>test</div> {/* test is invalid */}
12+
<>test</>
13+
<div>
14+
{/* this string is invalid */}
15+
asdjfl
16+
test
17+
foo
18+
</div>
19+
</>
20+
```

.changeset/poor-horses-smash.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
"@biomejs/biome": patch
3+
---
4+
5+
Fixed an issue (#6393) where the [useHookAtTopLevel](https://biomejs.dev/linter/rules/use-hook-at-top-level/) rule reported excessive diagnostics for nested hook calls.
6+
7+
The rule now reports only the offending top-level call site, not sub-hooks of composite hooks.
8+
9+
```js
10+
// Before: reported twice (useFoo and useBar).
11+
function useFoo() { return useBar(); }
12+
function Component() {
13+
if (cond) useFoo();
14+
}
15+
// After: reported once at the call to useFoo().
16+
```

.changeset/rich-beds-clap.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@biomejs/biome": patch
3+
---
4+
5+
Fixed [#7411](https://github.com/biomejs/biome/issues/7411). The Biome Language Server had a regression where opening an editor with a file already open wouldn't load the project settings correctly.

.changeset/seven-bats-write.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
"@biomejs/biome": patch
3+
---
4+
5+
Added the new nursery rule [`noDuplicateDependencies`](https://next.biomejs.dev/linter/rules/no-duplicate-dependencies/), which verifies that no dependencies are duplicated between the `bundledDependencies`, `bundleDependencies`, `dependencies`, `devDependencies`, `overrides`, `optionalDependencies`, and `peerDependencies` sections.
6+
7+
For example, the following snippets will trigger the rule:
8+
9+
```json
10+
{
11+
"dependencies": {
12+
"foo": ""
13+
},
14+
"devDependencies": {
15+
"foo": ""
16+
}
17+
}
18+
```
19+
20+
```json
21+
{
22+
"dependencies": {
23+
"foo": ""
24+
},
25+
"optionalDependencies": {
26+
"foo": ""
27+
}
28+
}
29+
```
30+
31+
```json
32+
{
33+
"dependencies": {
34+
"foo": ""
35+
},
36+
"peerDependencies": {
37+
"foo": ""
38+
}
39+
}
40+
```

.changeset/shy-ants-buy.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@biomejs/biome": patch
3+
---
4+
5+
Fixed [#3824](https://github.com/biomejs/biome/issues/3824). Now the option CLI `--color` is correctly applied to logging too.

packages/@biomejs/backend-jsonrpc/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@
4545
"provenance": true
4646
},
4747
"optionalDependencies": {
48-
"@biomejs/cli-win32-x64": "2.2.4",
49-
"@biomejs/cli-win32-arm64": "2.2.4",
50-
"@biomejs/cli-darwin-x64": "2.2.4",
51-
"@biomejs/cli-darwin-arm64": "2.2.4",
52-
"@biomejs/cli-linux-x64": "2.2.4",
53-
"@biomejs/cli-linux-arm64": "2.2.4",
54-
"@biomejs/cli-linux-x64-musl": "2.2.4",
55-
"@biomejs/cli-linux-arm64-musl": "2.2.4"
48+
"@biomejs/cli-win32-x64": "2.2.3",
49+
"@biomejs/cli-win32-arm64": "2.2.3",
50+
"@biomejs/cli-darwin-x64": "2.2.3",
51+
"@biomejs/cli-darwin-arm64": "2.2.3",
52+
"@biomejs/cli-linux-x64": "2.2.3",
53+
"@biomejs/cli-linux-arm64": "2.2.3",
54+
"@biomejs/cli-linux-x64-musl": "2.2.3",
55+
"@biomejs/cli-linux-arm64-musl": "2.2.3"
5656
}
5757
}

packages/@biomejs/biome/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@biomejs/biome",
3-
"version": "2.2.4",
3+
"version": "2.2.3",
44
"bin": {
55
"biome": "bin/biome"
66
},
@@ -46,13 +46,13 @@
4646
"provenance": true
4747
},
4848
"optionalDependencies": {
49-
"@biomejs/cli-win32-x64": "2.2.4",
50-
"@biomejs/cli-win32-arm64": "2.2.4",
51-
"@biomejs/cli-darwin-x64": "2.2.4",
52-
"@biomejs/cli-darwin-arm64": "2.2.4",
53-
"@biomejs/cli-linux-x64": "2.2.4",
54-
"@biomejs/cli-linux-arm64": "2.2.4",
55-
"@biomejs/cli-linux-x64-musl": "2.2.4",
56-
"@biomejs/cli-linux-arm64-musl": "2.2.4"
49+
"@biomejs/cli-win32-x64": "2.2.3",
50+
"@biomejs/cli-win32-arm64": "2.2.3",
51+
"@biomejs/cli-darwin-x64": "2.2.3",
52+
"@biomejs/cli-darwin-arm64": "2.2.3",
53+
"@biomejs/cli-linux-x64": "2.2.3",
54+
"@biomejs/cli-linux-arm64": "2.2.3",
55+
"@biomejs/cli-linux-x64-musl": "2.2.3",
56+
"@biomejs/cli-linux-arm64-musl": "2.2.3"
5757
}
5858
}

0 commit comments

Comments
 (0)