Skip to content

Commit

Permalink
release: 1.5.3 (#1629)
Browse files Browse the repository at this point in the history
  • Loading branch information
Conaclos authored Jan 22, 2024
1 parent dece5de commit 906de83
Show file tree
Hide file tree
Showing 10 changed files with 2,668 additions and 41 deletions.
47 changes: 33 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ Read our [guidelines to categorize a change](https://biomejs.dev/internals/versi
New entries must be placed in a section entitled `Unreleased`.
Read our [guidelines for writing a good changelog entry](https://github.com/biomejs/biome/blob/main/CONTRIBUTING.md#changelog).

## Unreleased

### Analyzer

### CLI
## 1.5.3 (2024-01-22)

### LSP

Expand Down Expand Up @@ -42,23 +38,15 @@ Read our [guidelines for writing a good changelog entry](https://github.com/biom

Contributed by @Conaclos

### Editors

### Formatter

#### Bug fixed
#### Bug fixes

- Fix [#1178](https://github.com/biomejs/biome/issues/1178), where the line ending option wasn't correctly applied. Contributed by @ematipico
- Fix [#1571](https://github.com/biomejs/biome/issues/1571). Fix invalid formatting of nested multiline comments. Contributed by @ah-yu

### JavaScript APIs

### Linter

#### New features

#### Enhancements

#### Bug fixes

- Fix [#1575](https://github.com/biomejs/biome/issues/1575). [noArrayIndexKey](https://biomejs.dev/linter/rules/no-array-index-key/) now captures array index value inside template literals and with string concatination. Contributed by @vasucp1207
Expand All @@ -79,8 +67,39 @@ Read our [guidelines for writing a good changelog entry](https://github.com/biom

- [useExhaustiveDependencies](https://biomejs.dev/linter/use-exhaustive-dependencies) no longer made Biome errors in code TypeScript import equal declarations ([#1194](https://github.com/biomejs/biome/issues/1194)). Contributed by @Conaclos

- Fix typo in the diagnostic of [noNodejsModules](https://biomejs.dev/linter/rules/no-nodejs-modules). Contributed by @huseeiin

### Parser

#### Bug fixes

- Accept the `const` modifier for type parameter in method type signature ([#1624](https://github.com/biomejs/biome/issues/1624)).

The following code is now correctly parsed:

```ts
type Foo = {
<const T>();
method<const T>();
};
```

Contributed by @magic-akari

### Website

#### New

- Add a [page that maps the Biome rule to its source](https://biomejs.dev/linter/rules-sources/). Contributed by @ematipico

#### Fixes

- Generate Open Graph images based on the linked page. Contributed by @ematipico

- Fix examples of the [git hook page](https://biomejs.dev/recipes/git-hooks/). Contributed by @9renpoto, @lmauromb, and @Conaclos

- Fix dead and erroneous hyperlinks. Contributed by @Sec-ant and Conaclos


## 1.5.2 (2024-01-15)

Expand Down
2 changes: 1 addition & 1 deletion packages/@biomejs/biome/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@biomejs/biome",
"version": "1.5.2",
"version": "1.5.3",
"bin": "bin/biome",
"scripts": {
"postinstall": "node scripts/postinstall.js"
Expand Down
2 changes: 1 addition & 1 deletion website/src/content/docs/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ After running the `init` command, you'll now have a new `biome.json` file in you

```json title="biome.json"
{
"$schema": "https://biomejs.dev/schemas/1.5.2/schema.json",
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"organizeImports": {
"enabled": false
},
Expand Down
47 changes: 33 additions & 14 deletions website/src/content/docs/internals/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ Read our [guidelines to categorize a change](https://biomejs.dev/internals/versi
New entries must be placed in a section entitled `Unreleased`.
Read our [guidelines for writing a good changelog entry](https://github.com/biomejs/biome/blob/main/CONTRIBUTING.md#changelog).

## Unreleased

### Analyzer

### CLI
## 1.5.3 (2024-01-22)

### LSP

Expand Down Expand Up @@ -48,23 +44,15 @@ Read our [guidelines for writing a good changelog entry](https://github.com/biom

Contributed by @Conaclos

### Editors

### Formatter

#### Bug fixed
#### Bug fixes

- Fix [#1178](https://github.com/biomejs/biome/issues/1178), where the line ending option wasn't correctly applied. Contributed by @ematipico
- Fix [#1571](https://github.com/biomejs/biome/issues/1571). Fix invalid formatting of nested multiline comments. Contributed by @ah-yu

### JavaScript APIs

### Linter

#### New features

#### Enhancements

#### Bug fixes

- Fix [#1575](https://github.com/biomejs/biome/issues/1575). [noArrayIndexKey](https://biomejs.dev/linter/rules/no-array-index-key/) now captures array index value inside template literals and with string concatination. Contributed by @vasucp1207
Expand All @@ -85,8 +73,39 @@ Read our [guidelines for writing a good changelog entry](https://github.com/biom

- [useExhaustiveDependencies](https://biomejs.dev/linter/use-exhaustive-dependencies) no longer made Biome errors in code TypeScript import equal declarations ([#1194](https://github.com/biomejs/biome/issues/1194)). Contributed by @Conaclos

- Fix typo in the diagnostic of [noNodejsModules](https://biomejs.dev/linter/rules/no-nodejs-modules). Contributed by @huseeiin

### Parser

#### Bug fixes

- Accept the `const` modifier for type parameter in method type signature ([#1624](https://github.com/biomejs/biome/issues/1624)).

The following code is now correctly parsed:

```ts
type Foo = {
<const T>();
method<const T>();
};
```

Contributed by @magic-akari

### Website

#### New

- Add a [page that maps the Biome rule to its source](https://biomejs.dev/linter/rules-sources/). Contributed by @ematipico

#### Fixes

- Generate Open Graph images based on the linked page. Contributed by @ematipico

- Fix examples of the [git hook page](https://biomejs.dev/recipes/git-hooks/). Contributed by @9renpoto, @lmauromb, and @Conaclos

- Fix dead and erroneous hyperlinks. Contributed by @Sec-ant and Conaclos


## 1.5.2 (2024-01-15)

Expand Down
2 changes: 1 addition & 1 deletion website/src/content/docs/ja/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Biomeをインストールする際には、バージョン範囲演算子を使

```json title="biome.json"
{
"$schema": "https://biomejs.dev/schemas/1.5.2/schema.json",
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"organizeImports": {
"enabled": false
},
Expand Down
2 changes: 1 addition & 1 deletion website/src/content/docs/pt-br/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Após utilizar o comando, você terá um novo arquivo `biome.json` no seu diret

```json title="biome.json"
{
"$schema": "https://biomejs.dev/schemas/1.5.2/schema.json",
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"organizeImports": {
"enabled": false
},
Expand Down
8 changes: 4 additions & 4 deletions website/src/content/docs/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ If you have problems with resolving the physical file, you can use the one publi

```json title="biome.json"
{
"$schema": "https://biomejs.dev/schemas/1.5.2/schema.json"
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json"
}
```

Expand All @@ -41,14 +41,14 @@ A list of paths to other JSON files. Biome resolves and applies the options of t

```json title="biome.json"
{
"$schema": "https://biomejs.dev/schemas/1.5.2/schema.json",
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"extends": ["./formatter.json", "./linter.json"]
}
```

```json title="formatter.json"
{
"$schema": "https://biomejs.dev/schemas/1.5.2/schema.json",
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"formatter": {
"indentSize": 2
},
Expand All @@ -62,7 +62,7 @@ A list of paths to other JSON files. Biome resolves and applies the options of t

```json title="linter.json"
{
"$schema": "https://biomejs.dev/schemas/1.5.2/schema.json",
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"linter": {
"rules": {
"complexity": {
Expand Down
2 changes: 1 addition & 1 deletion website/src/content/docs/zh-cn/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import PackageManagerCommand from "@src/components/PackageManagerCommand.astro";

```json title="biome.json"
{
"$schema": "https://biomejs.dev/schemas/1.5.2/schema.json",
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"organizeImports": {
"enabled": false
},
Expand Down
8 changes: 4 additions & 4 deletions website/src/content/docs/zh-cn/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import LintGroups from "@src/components/generated/Groups.astro";

```json title="biome.json"
{
"$schema": "https://biomejs.dev/schemas/1.5.2/schema.json"
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json"
}
```

Expand All @@ -37,14 +37,14 @@ import LintGroups from "@src/components/generated/Groups.astro";

```json title="biome.json"
{
"$schema": "https://biomejs.dev/schemas/1.5.2/schema.json",
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"extends": ["./formatter.json", "./linter.json"]
}
```

```json title="formatter.json"
{
"$schema": "https://biomejs.dev/schemas/1.5.2/schema.json",
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"formatter": {
"indentSize": 2
},
Expand All @@ -58,7 +58,7 @@ import LintGroups from "@src/components/generated/Groups.astro";

```json title="linter.json"
{
"$schema": "https://biomejs.dev/schemas/1.5.2/schema.json",
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"linter": {
"rules": {
"complexity": {
Expand Down
Loading

0 comments on commit 906de83

Please sign in to comment.