Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: v1.8.0 #3033

Merged
merged 10 commits into from
Jun 4, 2024
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
11 changes: 0 additions & 11 deletions .changeset/new_clean_command.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/this_is_a_test.md

This file was deleted.

24 changes: 23 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ 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
## 1.8.0 (2024-06-04)

### Analyzer

Expand All @@ -28,6 +28,12 @@ our [guidelines for writing a good changelog entry](https://github.com/biomejs/b

#### New features

- New `clean` command. Use this new command to clean after the `biome-logs` directory, and remove all the log files.

```shell
biome clean
```

- Add two new options `--only` and `--skip` to the command `biome lint` ([#58](https://github.com/biomejs/biome/issues/58)).

The `--only` option allows you to run a given rule or rule group,
Expand Down Expand Up @@ -259,13 +265,19 @@ our [guidelines for writing a good changelog entry](https://github.com/biomejs/b

- Fix a bug where if the formatter was disabled at the language level, it could be erroneously enabled by an
override that did not specify the formatter section [#2924](https://github.com/biomejs/biome/issues/2924). Contributed by @dyc3
- Fix [#2990](https://github.com/biomejs/biome/issues/2990), now Biome doesn't add a trailing comma when formatting `biome.json`. Contributed by @dyc3

### Editors

#### New features

- Add support for LSP Workspaces

#### Enhancements

- The LSP doesn't crash anymore when the configuration file contains errors. If the configuration contains errors, Biome now shows a pop-up to the user, and it will only parse files using the default configuration.
Formatting and linting is disabled until the configuration file is fixed. Contributed by @ematipico

#### Bug fixes

- Fixes [#2781](https://github.com/biomejs/biome/issues/2781), by correctly computing the configuration to apply to a specific file. Contributed by @ematipico
Expand All @@ -283,6 +295,16 @@ our [guidelines for writing a good changelog entry](https://github.com/biomejs/b

### Linter

#### Promoted rules

New rules are incubated in the nursery group. Once stable, we promote them to a stable group. The following rules are promoted:

- [useImportRestrictions](https://biomejs.dev/linter/rules/use-import-restrictions/)
- [noNodejsModules](https://biomejs.dev/linter/rules/no-nodejs-modules/)
- [useArrayLiterals](https://biomejs.dev/linter/rules/use-array-literals/)
- [noConstantMathMinMaxClamp](https://biomejs.dev/linter/rules/no-constant-math-min-max-clamp/)
- [noFlatMapIdentity](https://biomejs.dev/linter/rules/no-flat-map-identity/)

#### New features

- Add [nursery/useDateNow](https://biomejs.dev/linter/rules/use-date-now/). Contributed by @minht11
Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ When releasing a new version of a Biome, follow these steps:
1. [ ] Linter rules have a `version` metadata directly defined in their implementation.
This field is set to `next` for newly created rules.
This field must be updated to the new version.
Then execute `just gen-lint`.

1. [ ] Update the website with the new version number:
`BIOME_VERSION=<version> just gen-web`.
Expand Down
10 changes: 2 additions & 8 deletions crates/biome_cli/src/execute/migrate/eslint_any_rule_to_biome.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,18 @@ biome.json:6:13 deserialize ━━━━━━━━━━━━━━━━━
- noChildrenProp
- noConstAssign
- noConstantCondition
- noConstantMathMinMaxClamp
- noConstructorReturn
- noEmptyCharacterClassInRegex
- noEmptyPattern
- noFlatMapIdentity
- noGlobalObjectCalls
- noInnerDeclarations
- noInvalidConstructorSuper
- noInvalidNewBuiltin
- noInvalidUseBeforeDeclaration
- noNewSymbol
- noNodejsModules
- noNonoctalDecimalEscape
- noPrecisionLoss
- noRenderReturnValue
Expand All @@ -80,6 +83,7 @@ biome.json:6:13 deserialize ━━━━━━━━━━━━━━━━━
- noUnusedVariables
- noVoidElementsWithChildren
- noVoidTypeReturn
- useArrayLiterals
- useExhaustiveDependencies
- useHookAtTopLevel
- useIsNan
Expand Down
Loading
Loading