This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @biomejs/biome (source) | ^1.9.0 -> ^1.9.2 | ||||
| @types/bun (source) | ^1.1.9 -> ^1.1.10 | ||||
| changelogen | ^0.5.5 -> ^0.5.7 |
Release Notes
biomejs/biome (@​biomejs/biome)
v1.9.2
CLI
New features
Added support for custom GritQL definitions, including:
- Pattern and predicate definitions: https://docs.grit.io/guides/patterns
- Function definitions: https://docs.grit.io/language/functions#function-definitions
Contributed by @arendjr
Bug fixes
- Fix #3917, where the fixed files were incorrectly computed. Contributed by @ematipico
- Fixed an issue that caused GritQL
containsqueries to report false positives when the matched node appeared inside a sibling node. Contributed by @arendjr
Editors
Bug fixes
Fix #3923. Now the
.editorconfigis correctly parsed by the LSP, and the options are correctly applied to files when formatting is triggered. Plus, the Biome LSP now watches for any change to the.editorconfig, and updates the formatting settings.Reduced the number of log files generated by the LSP server. Now the maximum number of logs saved on disk is seven. Contributed by @ematipico
Fix the code actions capabilities available in the LSP Biome server. Before, the LSP was using the default capabilities, which resulted in pulling code actions even when they were disabled by the editor.
This means that the code actions are pulled by the client only when the editor enables
quickfix.biome,source.organizeImports.biomeandsource.fixAll.biome.Now, if you enable
organizeImports.enabled: truein thebiome.json, and then you configure your editor with the following code actionsource.organizeImports.biome: false, the editor won't sort the imports.Contributed by @ematipico
Linter
New features
- Add nursery/noMissingVarFunction. Contributed by @michellocana
- Add [nursery/useComponentExportOnlyModules]((https://biomejs.dev/linter/rules/use-component-export-only-modules). Use this rule in React projects to enforce a code styling that fits React Refresh. Contributed by @GunseiKPaseri
Bug fixes
noLabelWithoutControl now accept JSX expression as label value (#3875). Contributed by @Conaclos
useFilenamingConvention no longer suggests names with a disallowed case (#3952). Contributed by @Conaclos
useFilenamingConvention now recognizes file names starting with ASCII digits as lowercase (#3952).
Thus,
2024-09-17-filename,2024_09_17_filenameand20240917FileNameare inkebab-case,snake_case, andcamelCaserespectively.Contributed by @Conaclos
useFilenamingConvention now applies the configured formats to the file extensions (#3650). Contributed by @Conaclos
Parser
Bug fixes
useStrictMode now reports Script files with some directives, but without the
use strictdirective. Contributed by @ConaclosThe CSS parser now accepts the characters U+FFDCF and U+FFFD in identifiers. Contributed by @Conaclos
v1.9.1
Analyzer
CLI
Bug fixes
useEditorConfignow loads the editorconfig when runningbiome ci#3864. Contributed by @dyc3Revert #3731 to fix broken quick fixes and code actions. Contributed by @nhedger
Configuration
Editors
Formatter
JavaScript APIs
Linter
New Features
- Add nursery/noProcessEnv. Contributed by @unvalley
Bug fixes
useSemanticElements now ignores
alertandalertdialogroles (3858). Contributed by @ConaclosnoUndeclaredDependencies now ignores
@/imports and recognizes type imports from Definitely Typed andbunimports. Contributed by @Conaclos
Parser
unjs/changelogen (changelogen)
v0.5.7
🩹 Fixes
- bump: Avoid using
+for canary suffix (#224)
❤️ Contributors
- Pooya Parsa (@pi0)
v0.5.6
🚀 Enhancements
🩹 Fixes
- github: Use bearer token (#180)
- Handle repo name with multiple segments (#219)
- Lowercase scope when filtering (#199)
💅 Refactors
- Replace
execawithexecSync(#222) - Use human readable date for canary versions (#223)
- Update execCommand (68127be)
🏡 Chore
- Apply automated lint fixes (72c407f)
- Update ci (bcb16cb)
- Update non major deps (7f714c9)
- Update to eslint v9 (fd40be9)
- Apply automated lint fixes (673255b)
- Update deps (3cfbe27)
❤️ Contributors
- Pooya Parsa (@pi0)
- Klein Petr (@kleinpetr)
- Wan Chiu (@wan54)
- Jianqi Pan (@Jannchie)
- Vasily Kuzin exer7um@gmail.com
- Daniel Roe (@danielroe)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.