Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .changeset/feat-use-optional-chain-negated-or.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/fix-adjacent-overload-static.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-ambient-module-signature-panic.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/fix-domain-group-enables.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-js-parser-9548.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-lone-block-comments.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-lsp-missing-workspace-folders.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-use-expect-false-negatives.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-vue-directive-expression-parsing.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hip-things-hang.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/neat-oranges-open.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/plain-turkeys-beam.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/pretty-hornets-rescue.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/strong-mirrors-attend.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ declare_lint_rule! {
/// - [Content Security Policy: Allowing inline styles](https://content-security-policy.com/examples/allow-inline-style)
///
pub NoInlineStyles {
version: "next",
version: "2.4.9",
name: "noInlineStyles",
language: "html",
recommended: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ declare_lint_rule! {
/// - [Content Security Policy: Allowing inline styles](https://content-security-policy.com/examples/allow-inline-style)
///
pub NoInlineStyles {
version: "next",
version: "2.4.9",
name: "noInlineStyles",
language: "js",
recommended: false,
Expand Down
2 changes: 2 additions & 0 deletions packages/@biomejs/backend-jsonrpc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @biomejs/backend-jsonrpc

## 2.0.46

## 2.0.45

## 2.0.44
Expand Down
18 changes: 9 additions & 9 deletions packages/@biomejs/backend-jsonrpc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@biomejs/backend-jsonrpc",
"version": "2.0.45",
"version": "2.0.46",
"main": "dist/index.js",
"scripts": {
"test": "vitest",
Expand Down Expand Up @@ -45,13 +45,13 @@
"provenance": true
},
"optionalDependencies": {
"@biomejs/cli-win32-x64": "2.4.8",
"@biomejs/cli-win32-arm64": "2.4.8",
"@biomejs/cli-darwin-x64": "2.4.8",
"@biomejs/cli-darwin-arm64": "2.4.8",
"@biomejs/cli-linux-x64": "2.4.8",
"@biomejs/cli-linux-arm64": "2.4.8",
"@biomejs/cli-linux-x64-musl": "2.4.8",
"@biomejs/cli-linux-arm64-musl": "2.4.8"
"@biomejs/cli-win32-x64": "2.4.9",
"@biomejs/cli-win32-arm64": "2.4.9",
"@biomejs/cli-darwin-x64": "2.4.9",
"@biomejs/cli-darwin-arm64": "2.4.9",
"@biomejs/cli-linux-x64": "2.4.9",
"@biomejs/cli-linux-arm64": "2.4.9",
"@biomejs/cli-linux-x64-musl": "2.4.9",
"@biomejs/cli-linux-arm64-musl": "2.4.9"
}
}
57 changes: 57 additions & 0 deletions packages/@biomejs/biome/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,62 @@
# @biomejs/biome

## 2.4.9

### Patch Changes

- [#9567](https://github.com/biomejs/biome/pull/9567) [`b7ab931`](https://github.com/biomejs/biome/commit/b7ab931be14f5e61e5716a345c7ef0da59abb016) Thanks [@ematipico](https://github.com/ematipico)! - Fixed [#7211](https://github.com/biomejs/biome/issues/7211): [`useOptionalChain`](https://biomejs.dev/linter/rules/use-optional-chain/) now detects negated logical OR chains. The following code is now considered invalid:

```js
!foo || !foo.bar;
```

- [#8670](https://github.com/biomejs/biome/pull/8670) [`607ebf9`](https://github.com/biomejs/biome/commit/607ebf9eacec1480f57e06deea46c99174b000a2) Thanks [@tt-a1i](https://github.com/tt-a1i)! - Fixed [#8345](https://github.com/biomejs/biome/issues/8345): [`useAdjacentOverloadSignatures`](https://biomejs.dev/linter/rules/use-adjacent-overload-signatures/) no longer reports false positives for static and instance methods with the same name. Static methods and instance methods are now treated as separate overload groups.

```ts
class Kek {
static kek(): number {
return 0;
}
another(): string {
return "";
}
kek(): number {
return 1;
} // no longer reported as non-adjacent
}
```

- [#9476](https://github.com/biomejs/biome/pull/9476) [`97b80a8`](https://github.com/biomejs/biome/commit/97b80a8b017dc3a56542bfe01b6dadab081729bf) Thanks [@masterkain](https://github.com/masterkain)! - Fixed [`#9475`](https://github.com/biomejs/biome/issues/9475): Fixed a panic when Biome analyzed ambient TypeScript modules containing class constructor, getter, or setter signatures that reference local type aliases. Biome now handles these declarations without crashing during semantic analysis.

- [#9553](https://github.com/biomejs/biome/pull/9553) [`0cd5298`](https://github.com/biomejs/biome/commit/0cd5298fecae7961c458b026b37f80a8ab98880f) Thanks [@dyc3](https://github.com/dyc3)! - Fixed a bug where enabling the rules of a whole group, would enable rules that belonged to a domain under the same group.

For example, `linter.rules.correctness = "error"` no longer enables React- or Qwik-specific correctness rules unless `linter.domains.react`, `linter.domains.qwik`, or an explicit rule config also enables them, or their relative dependencies are installed.

- [#9550](https://github.com/biomejs/biome/pull/9550) [`d4e3d6e`](https://github.com/biomejs/biome/commit/d4e3d6e9241e3db7340dd3d236fcbd65c24f5673) Thanks [@dyc3](https://github.com/dyc3)! - Fixed [#9548](https://github.com/biomejs/biome/issues/9548): Biome now parses conditional expressions whose consequent is an arrow function returning a parenthesized object expression.

- [#8696](https://github.com/biomejs/biome/pull/8696) [`a7c19cc`](https://github.com/biomejs/biome/commit/a7c19ccfebafb6d7aa1156d4e9a9ec057ba370e9) Thanks [@Faizanq](https://github.com/Faizanq)! - Fixed [#8685](https://github.com/biomejs/biome/issues/8685) where `noUselessLoneBlockStatements` would remove empty blocks containing comments. The rule now preserves these blocks since comments may contain important information like TODOs or commented-out code.

- [#9557](https://github.com/biomejs/biome/pull/9557) [`6671ac5`](https://github.com/biomejs/biome/commit/6671ac5b4d18d2ae94932d1ae710c3a3b7ed1c4c) Thanks [@datalek](https://github.com/datalek)! - Fixed [#9557](https://github.com/biomejs/biome/pull/9557): Biome's LSP server no longer crashes on startup when used with editors that don't send `workspaceFolders` during initialization. This affected any LSP client that only sends `rootUri`, which is valid per the LSP specification.

- [#9455](https://github.com/biomejs/biome/pull/9455) [`1710cf1`](https://github.com/biomejs/biome/commit/1710cf1f0ebf6d8326d4754e27274441d38b175d) Thanks [@omar-y-abdi](https://github.com/omar-y-abdi)! - Fixed [#9174](https://github.com/biomejs/biome/issues/9174): [`useExpect`](https://biomejs.dev/linter/rules/use-expect/) now correctly rejects [asymmetric matchers](https://vitest.dev/api/expect.html#expect-stringcontaining) in Vitest or Jest like `expect.stringContaining()`, `expect.objectContaining()`, and utilities like `expect.extend()` that are not valid assertions. Previously these constructs caused false negatives, allowing tests without real assertions to pass the lint rule.

- [#9584](https://github.com/biomejs/biome/pull/9584) [`956e367`](https://github.com/biomejs/biome/commit/956e367814b908ba0d43a3876667efd3c1be51f5) Thanks [@ematipico](https://github.com/ematipico)! - Fixed a bug where Vue directive attribute values like `v-bind:class="{'dynamic': true}"` were incorrectly parsed as JavaScript statements instead of expressions. Object literals inside directive values like `:class`, `v-if`, and `v-html` are now correctly parsed as expressions, preventing spurious parse errors.

- [#9544](https://github.com/biomejs/biome/pull/9544) [`723798b`](https://github.com/biomejs/biome/commit/723798b7cd5d6b27cf6ab653ea6046f66610b402) Thanks [@ViniciusDev26](https://github.com/ViniciusDev26)! - Added an unsafe fix to [`useConsistentMethodSignatures`](https://biomejs.dev/linter/rules/use-consistent-method-signatures/) that automatically converts between method-style and property-style signatures.

- [#9555](https://github.com/biomejs/biome/pull/9555) [`8a3647b`](https://github.com/biomejs/biome/commit/8a3647b52d0a5dc10ce40b6d9cd7d437e74efeb9) Thanks [@ematipico](https://github.com/ematipico)! - Fixed [`#188`](https://github.com/biomejs/biome-zed/issues/188): the Biome Language Server no longer panics when open files change abruptly, such as during git branch checkouts.

- [#9605](https://github.com/biomejs/biome/pull/9605) [`f65c637`](https://github.com/biomejs/biome/commit/f65c637b32d9e548e6acf4f25477a38465403c74) Thanks [@ematipico](https://github.com/ematipico)! - Fixed [#9589](https://github.com/biomejs/biome/issues/9589). Now Biome correctly parses object expressions inside props and directives. The following code doesn't emit errors anymore:

```astro
<style is:global define:vars={{ bgLight: light }}>
<Component name={{ first, name }} />
```

- [#9565](https://github.com/biomejs/biome/pull/9565) [`ccb249e`](https://github.com/biomejs/biome/commit/ccb249e681d03d23fbf685728325896e7a891d0c) Thanks [@eyupcanakman](https://github.com/eyupcanakman)! - Fixed [#9505](https://github.com/biomejs/biome/issues/9505): [`noUselessStringConcat`](https://biomejs.dev/linter/rules/no-useless-string-concat/) no longer reports tagged template literals as useless string concatenations. Tagged templates invoke a function and can return non-string values, so combining them with `+` is not equivalent to a single template literal.

- [#9534](https://github.com/biomejs/biome/pull/9534) [`4d050df`](https://github.com/biomejs/biome/commit/4d050df5e3276dd54b6962fca6eeaf8cdcd6f295) Thanks [@Netail](https://github.com/Netail)! - Added the nursery rule [`noInlineStyles`](https://biomejs.dev/linter/rules/no-inline-styles/). The rule disallows the use of inline `style` attributes in HTML and the `style` prop in JSX, including `React.createElement` calls. Inline styles make code harder to maintain and can interfere with Content Security Policy.

## 2.4.8

### Patch Changes
Expand Down
18 changes: 9 additions & 9 deletions packages/@biomejs/biome/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@biomejs/biome",
"version": "2.4.8",
"version": "2.4.9",
"bin": {
"biome": "bin/biome"
},
Expand Down Expand Up @@ -46,13 +46,13 @@
"provenance": true
},
"optionalDependencies": {
"@biomejs/cli-win32-x64": "2.4.8",
"@biomejs/cli-win32-arm64": "2.4.8",
"@biomejs/cli-darwin-x64": "2.4.8",
"@biomejs/cli-darwin-arm64": "2.4.8",
"@biomejs/cli-linux-x64": "2.4.8",
"@biomejs/cli-linux-arm64": "2.4.8",
"@biomejs/cli-linux-x64-musl": "2.4.8",
"@biomejs/cli-linux-arm64-musl": "2.4.8"
"@biomejs/cli-win32-x64": "2.4.9",
"@biomejs/cli-win32-arm64": "2.4.9",
"@biomejs/cli-darwin-x64": "2.4.9",
"@biomejs/cli-darwin-arm64": "2.4.9",
"@biomejs/cli-linux-x64": "2.4.9",
"@biomejs/cli-linux-arm64": "2.4.9",
"@biomejs/cli-linux-x64-musl": "2.4.9",
"@biomejs/cli-linux-arm64-musl": "2.4.9"
}
}
2 changes: 2 additions & 0 deletions packages/@biomejs/cli-darwin-arm64/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @biomejs/cli-darwin-arm64

## 2.4.9

## 2.4.8

## 2.4.7
Expand Down
2 changes: 1 addition & 1 deletion packages/@biomejs/cli-darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@biomejs/cli-darwin-arm64",
"version": "2.4.8",
"version": "2.4.9",
"license": "MIT OR Apache-2.0",
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions packages/@biomejs/cli-darwin-x64/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @biomejs/cli-darwin-x64

## 2.4.9

## 2.4.8

## 2.4.7
Expand Down
2 changes: 1 addition & 1 deletion packages/@biomejs/cli-darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@biomejs/cli-darwin-x64",
"version": "2.4.8",
"version": "2.4.9",
"license": "MIT OR Apache-2.0",
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions packages/@biomejs/cli-linux-arm64-musl/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @biomejs/cli-linux-arm64-musl

## 2.4.9

## 2.4.8

## 2.4.7
Expand Down
2 changes: 1 addition & 1 deletion packages/@biomejs/cli-linux-arm64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@biomejs/cli-linux-arm64-musl",
"version": "2.4.8",
"version": "2.4.9",
"license": "MIT OR Apache-2.0",
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions packages/@biomejs/cli-linux-arm64/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @biomejs/cli-linux-arm64

## 2.4.9

## 2.4.8

## 2.4.7
Expand Down
2 changes: 1 addition & 1 deletion packages/@biomejs/cli-linux-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@biomejs/cli-linux-arm64",
"version": "2.4.8",
"version": "2.4.9",
"license": "MIT OR Apache-2.0",
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions packages/@biomejs/cli-linux-x64-musl/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @biomejs/cli-linux-x64-musl

## 2.4.9

## 2.4.8

## 2.4.7
Expand Down
2 changes: 1 addition & 1 deletion packages/@biomejs/cli-linux-x64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@biomejs/cli-linux-x64-musl",
"version": "2.4.8",
"version": "2.4.9",
"license": "MIT OR Apache-2.0",
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions packages/@biomejs/cli-linux-x64/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @biomejs/cli-linux-x64

## 2.4.9

## 2.4.8

## 2.4.7
Expand Down
2 changes: 1 addition & 1 deletion packages/@biomejs/cli-linux-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@biomejs/cli-linux-x64",
"version": "2.4.8",
"version": "2.4.9",
"license": "MIT OR Apache-2.0",
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions packages/@biomejs/cli-win32-arm64/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @biomejs/cli-win32-arm64

## 2.4.9

## 2.4.8

## 2.4.7
Expand Down
2 changes: 1 addition & 1 deletion packages/@biomejs/cli-win32-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@biomejs/cli-win32-arm64",
"version": "2.4.8",
"version": "2.4.9",
"license": "MIT OR Apache-2.0",
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions packages/@biomejs/cli-win32-x64/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @biomejs/cli-win32-x64

## 2.4.9

## 2.4.8

## 2.4.7
Expand Down
2 changes: 1 addition & 1 deletion packages/@biomejs/cli-win32-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@biomejs/cli-win32-x64",
"version": "2.4.8",
"version": "2.4.9",
"license": "MIT OR Apache-2.0",
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions packages/@biomejs/js-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@
"vitest": "4.1.0"
},
"peerDependencies": {
"@biomejs/wasm-bundler": "^2.4.8",
"@biomejs/wasm-nodejs": "^2.4.8",
"@biomejs/wasm-web": "^2.4.8"
"@biomejs/wasm-bundler": "^2.4.9",
"@biomejs/wasm-nodejs": "^2.4.9",
"@biomejs/wasm-web": "^2.4.9"
},
"peerDependenciesMeta": {
"@biomejs/wasm-bundler": {
Expand Down
Loading