diff --git a/CHANGELOG.md b/CHANGELOG.md index c25e07fe5f80..7c3801ddc93e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,26 @@ Read our [guidelines for writing a good changelog entry](https://github.com/biom ### Analyzer +### CLI + +### Configuration + +### Editors + +### Formatter + +### JavaScript APIs + +### Linter + +### Parser + +### VSCode + +## 1.3.0 + +### Analyzer + #### Enhancements - Import sorting is safe to apply now, and it will be applied when running `check --apply` instead of `check --apply-unsafe`. @@ -62,8 +82,9 @@ Read our [guidelines for writing a good changelog entry](https://github.com/biom #### Enhancements -- Deprecated the environment variable `ROME_BINARY`. Contributed by @ematipico +- Deprecated the environment variable `ROME_BINARY`. Use `BIOME_BINARY` instead. Contributed by @ematipico - Biome doesn't check anymore the presence of the `.git` folder when VCS support is enabled. Contributed by @ematipico +- `biome rage` doesn't print the logs of the daemon, use `biome rage --daemon-logs` to print them. Contributed by @unvalley ### Configuration @@ -78,7 +99,61 @@ Read our [guidelines for writing a good changelog entry](https://github.com/biom - `linter.include`; - `organizeImports.include`; When `include` and `ignore` are both specified, `ignore` takes **precedence** over `include` +- Add option `overrides`, where users can modify the behaviour of the tools for certain files or paths. + For example, it's possible to modify the formatter `lineWidth`, and even `quoteStyle` for certain files that are included in glob path `generated/**`: + + ```json + { + "formatter": { + "lineWidth": 100 + }, + "overrides": [ + { + "include": ["generated/**"], + "formatter": { + "lineWidth": 160 + }, + "javascript": { + "formatter": { + "quoteStyle": "single" + } + } + } + ] + } + ``` + + Or, you can disable certain rules for certain path, and disable the linter for other paths: + + ```json + { + "linter": { + "enabled": true, + "rules": { + "recommended": true + } + }, + "overrides": [ + { + "include": ["lib/**"], + "linter": { + "rules": { + "suspicious": { + "noDebugger": "off" + } + } + } + }, + { + "include": ["shims/**"], + "linter": { + "enabled": false + } + } + ] + } + ``` ### Bug fixes @@ -97,7 +172,6 @@ Read our [guidelines for writing a good changelog entry](https://github.com/biom #### Enhancements - Use `OnceCell` for the Memoized memory because that's what the `RefCell