Skip to content
Merged
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
12 changes: 0 additions & 12 deletions .changeset/all-tips-hang.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/brave-tires-tap.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/brown-poets-sit.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/curvy-nails-bake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/flat-rockets-battle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/forty-nails-carry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/grumpy-pants-repeat.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/icy-planes-leave.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/light-toys-check.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/mean-carrots-peel.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/quiet-pets-visit.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/sad-adults-enjoy.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shy-flowers-decide.md

This file was deleted.

22 changes: 0 additions & 22 deletions .changeset/spicy-actors-leave.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/stale-windows-strive.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ten-bags-ring.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/vast-donuts-rescue.md

This file was deleted.

19 changes: 0 additions & 19 deletions .changeset/yellow-mangos-clean.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ declare_lint_rule! {
/// ```
///
pub UseArraySortCompare {
version: "next",
version: "2.3.5",
name: "useArraySortCompare",
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.26

## 2.0.25

## 2.0.24
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.25",
"version": "2.0.26",
"main": "dist/index.js",
"scripts": {
"test": "vitest",
Expand Down Expand Up @@ -45,13 +45,13 @@
"provenance": true
},
"optionalDependencies": {
"@biomejs/cli-win32-x64": "2.3.4",
"@biomejs/cli-win32-arm64": "2.3.4",
"@biomejs/cli-darwin-x64": "2.3.4",
"@biomejs/cli-darwin-arm64": "2.3.4",
"@biomejs/cli-linux-x64": "2.3.4",
"@biomejs/cli-linux-arm64": "2.3.4",
"@biomejs/cli-linux-x64-musl": "2.3.4",
"@biomejs/cli-linux-arm64-musl": "2.3.4"
"@biomejs/cli-win32-x64": "2.3.5",
"@biomejs/cli-win32-arm64": "2.3.5",
"@biomejs/cli-darwin-x64": "2.3.5",
"@biomejs/cli-darwin-arm64": "2.3.5",
"@biomejs/cli-linux-x64": "2.3.5",
"@biomejs/cli-linux-arm64": "2.3.5",
"@biomejs/cli-linux-x64-musl": "2.3.5",
"@biomejs/cli-linux-arm64-musl": "2.3.5"
}
}
128 changes: 128 additions & 0 deletions packages/@biomejs/biome/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,133 @@
# @biomejs/biome

## 2.3.5

### Patch Changes

- [#8023](https://github.com/biomejs/biome/pull/8023) [`96f3e77`](https://github.com/biomejs/biome/commit/96f3e778a38aa5f48e67eb44b545cba6330dc192) Thanks [@ematipico](https://github.com/ematipico)! - Added support Svelte syntax `{@html}`. Biome now is able to parse and format the Svelte syntax [`{@html}`](https://svelte.dev/docs/svelte/@html):

```diff
-{@html 'div'}
+{@html 'div'}
```

The contents of the expressions inside the `{@html <expression>}` aren't formatted yet.

- [#8058](https://github.com/biomejs/biome/pull/8058) [`5f68bcc`](https://github.com/biomejs/biome/commit/5f68bcc9ae9208366bf5aed932b3ae3082ba21b1) Thanks [@ematipico](https://github.com/ematipico)! - Fixed a bug where the Biome Language Server would enable its project file watcher even when no project rules were enabled.

Now the watching of nested configuration files and nested ignore files is delegated to the editor, if their LSP spec supports it.

- [#8023](https://github.com/biomejs/biome/pull/8023) [`96f3e77`](https://github.com/biomejs/biome/commit/96f3e778a38aa5f48e67eb44b545cba6330dc192) Thanks [@ematipico](https://github.com/ematipico)! - Added support Svelte syntax `{@render}`. Biome now is able to parse and format the Svelte syntax [`{@render}`](https://svelte.dev/docs/svelte/@render):

```diff
-{@render sum(1, 2) }
+{@render sum(1, 2)}
```

The contents of the expressions inside the `{@render <expression>}` aren't formatted yet.

- [#8006](https://github.com/biomejs/biome/pull/8006) [`f0612a5`](https://github.com/biomejs/biome/commit/f0612a511449944cacfe01f6884ca52b4f50e768) Thanks [@Bertie690](https://github.com/Bertie690)! - Updated documentation and diagnostic for `lint/complexity/noBannedTypes`. The rule should have a more detailed description and diagnostic error message.

- [#8039](https://github.com/biomejs/biome/pull/8039) [`da70d8b`](https://github.com/biomejs/biome/commit/da70d8be5d8288397a60cdea52d2a6e5f976cace) Thanks [@PFiS1737](https://github.com/PFiS1737)! - Biome now keeps a blank line after the frontmatter section in Astro files.

- [#8042](https://github.com/biomejs/biome/pull/8042) [`b7efa6f`](https://github.com/biomejs/biome/commit/b7efa6f783adc42864b15b7ff2cb2ed6803190e2) Thanks [@dyc3](https://github.com/dyc3)! - The CSS Parser, with `tailwindDirectives` enabled, will now accept at rules like `@media` and `@supports` in `@custom-variant` shorthand syntax.

- [#8064](https://github.com/biomejs/biome/pull/8064) [`3ff9d45`](https://github.com/biomejs/biome/commit/3ff9d45df031b811333d40fe62b1b24a3c5d5f43) Thanks [@dibashthapa](https://github.com/dibashthapa)! - Fixed [#7967](https://github.com/biomejs/biome/issues/7967): Fixed the issue with support for advanced SVG props

- [#8023](https://github.com/biomejs/biome/pull/8023) [`96f3e77`](https://github.com/biomejs/biome/commit/96f3e778a38aa5f48e67eb44b545cba6330dc192) Thanks [@ematipico](https://github.com/ematipico)! - Added support Svelte syntax `{@attach}`. Biome now is able to parse and format the Svelte syntax [`{@attach}`](https://svelte.dev/docs/svelte/@attach):

```diff
-<div {@attach myAttachment }>...</div>
+<div {@attach myAttachment}>...</div>
```

The contents of the expressions inside the `{@attach <expression>}` aren't formatted yet.

- [#8001](https://github.com/biomejs/biome/pull/8001) [`6e8a50e`](https://github.com/biomejs/biome/commit/6e8a50e720135012832e04728d6c0e38b8bb74a1) Thanks [@ematipico](https://github.com/ematipico)! - Added support Svelte syntax `{#key}`. Biome now is able to parse and format the Svelte syntax [`{#key}`](https://svelte.dev/docs/svelte/key):

```diff
-{#key expression} <div></div> {/key}
+{#key expression}
+ <div></div>
+{/key}
```

The contents of the expressions inside the `{#key <expression>}` aren't formatted yet.

- [#8023](https://github.com/biomejs/biome/pull/8023) [`96f3e77`](https://github.com/biomejs/biome/commit/96f3e778a38aa5f48e67eb44b545cba6330dc192) Thanks [@ematipico](https://github.com/ematipico)! - Added support Svelte syntax `{@const}`. Biome now is able to parse and format the Svelte syntax [`{@const}`](https://svelte.dev/docs/svelte/@const):

```diff
-{@const name = value}
+{@const name = value}
```

The contents of the expressions inside the `{@const <expression>}` aren't formatted yet.

- [#8044](https://github.com/biomejs/biome/pull/8044) [`8f77d4a`](https://github.com/biomejs/biome/commit/8f77d4a33ceb2c85867b09c0ffe589d1e66c8db7) Thanks [@Netail](https://github.com/Netail)! - Corrected rule source references. `biome migrate eslint` should do a bit better detecting rules in your eslint configurations.

- [#8065](https://github.com/biomejs/biome/pull/8065) [`1a2d1af`](https://github.com/biomejs/biome/commit/1a2d1af3604f36703da298017fd3cacf14e118a5) Thanks [@Netail](https://github.com/Netail)! - Added the nursery rule [`useArraySortCompare`](https://biomejs.dev/linter/rules/use-array-sort-compare/). Require Array#sort and Array#toSorted calls to always provide a compareFunction.

**Invalid:**

```js
const array = [];
array.sort();
```

**Valid:**

```js
const array = [];
array.sort((a, b) => a - b);
```

- [#7673](https://github.com/biomejs/biome/pull/7673) [`a3a713d`](https://github.com/biomejs/biome/commit/a3a713d5760821d58e065280d54e9826d18be7c3) Thanks [@dyc3](https://github.com/dyc3)! - The HTML parser is now able to parse vue directives. This enables us to write/port Vue lint rules that require inspecting the `<template>` section. However, this more complex parsing may result in parsing errors where there was none before. For those of you that have opted in to the experimental support (aka `experimentalFullSupportEnabled`), we greatly appreciate your help testing this out, and your bug reports.

- [#8031](https://github.com/biomejs/biome/pull/8031) [`fa6798a`](https://github.com/biomejs/biome/commit/fa6798a62a2c13464bdb3eb61dfe6fd5e61c320e) Thanks [@ematipico](https://github.com/ematipico)! - Added support for the Svelte syntax `{#if}{/if}`. The Biome HTML parser is now able to parse and format the [`{#if}{/if} blocks`](https://svelte.dev/docs/svelte/if):

```diff
<!-- if / else-if / else -->
{#if porridge.temperature > 100}
-<p>too hot!</p>
+ <p>too hot!</p>
{:else if 80 > porridge.temperature}
-<p>too cold!</p>
+ <p>too cold!</p>
{:else if 100 > porridge.temperature}
-<p>too too cold!</p>
+ <p>too too cold!</p>
{:else}
-<p>just right!</p>
+ <p>just right!</p>
{/if}
```

- [#8041](https://github.com/biomejs/biome/pull/8041) [`beeb7bb`](https://github.com/biomejs/biome/commit/beeb7bba7cce26e932b2b4047566c4762990caf3) Thanks [@dyc3](https://github.com/dyc3)! - The CSS parser, with `tailwindDirectives` enabled, will now accept lists of selectors in `@custom-variant` shorthand syntax.

```css
@custom-variant cell (th:has(&), td:has(&));
```

- [#8028](https://github.com/biomejs/biome/pull/8028) [`c09e45c`](https://github.com/biomejs/biome/commit/c09e45c8670c9be0305f76cd4e443a4760daedec) Thanks [@fmajestic](https://github.com/fmajestic)! - The GitLab reporter now outputs format errors.

- [#8037](https://github.com/biomejs/biome/pull/8037) [`78011b1`](https://github.com/biomejs/biome/commit/78011b16f9b698f65413b934df1672970505e640) Thanks [@PFiS1737](https://github.com/PFiS1737)! - `indentScriptAndStyle` no longer indents the frontmatter in Astro files.

- [#8009](https://github.com/biomejs/biome/pull/8009) [`6374b1f`](https://github.com/biomejs/biome/commit/6374b1f6da778a132adefa17e37e9857bba7091c) Thanks [@tmcw](https://github.com/tmcw)! - Fixed an edge case in the [`useArrowFunction`](https://biomejs.dev/linter/rules/use-arrow-function/) rule.

The rule no longer emits diagnostics for or offers to fix functions that reference
the [arguments object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments),
because that object is undefined for arrow functions.

**Valid example:**

```ts
// Valid: this function cannot be transformed into an arrow function because
// arguments is not defined for arrow functions.
const getFirstArg = function () {
return arguments[0];
};
```

## 2.3.4

### Patch Changes
Expand Down
Loading