biomejs/biome (@biomejs/biome)
### [`v1.9.0`](https://redirect.github.com/biomejs/biome/blob/HEAD/CHANGELOG.md#v190-2024-09-12)
[Compare Source](https://redirect.github.com/biomejs/biome/compare/c28d5978c1440b3ae184d1cc354233711abf8a8e...b260d5b0e6b2e8e0093128ca2bf1f66c8e5d35da)
##### Analyzer
- Implement the [semantic model for CSS](https://redirect.github.com/biomejs/biome/pull/3546). Contributed by [@togami2864](https://redirect.github.com/togami2864)
##### CLI
##### New features
- Add `--graphql-linter-enabled` option, to control whether the linter should be enabled or not for GraphQL files. Contributed by [@ematipico](https://redirect.github.com/ematipico)
- New EXPERIMENTAL `search` command. The search command allows you to search a Biome project using [GritQL syntax](https://biomejs.dev/reference/gritql).
GritQL is a powerful language that lets you do *structural* searches on your codebase. This means that trivia such as whitespace or even the type of strings quotes used will be ignored in your search query. It also has many features for querying the structure of your code, making it much more elegant for searching code than regular expressions.
While we believe this command may already be useful to users in some situations (especially when integrated in the IDE extensions!), we also had an ulterior motive for adding this command: We intend to utilize GritQL for our plugin efforts, and by allowing our users to try it out in a first iteration, we hope to gain insight in the type of queries you want to do, as well as the bugs we need to focus on.
For now, the `search` command is explicitly marked as EXPERIMENTAL, since many bugs remain. Keep this in mind when you try it out, and please [let us know](https://redirect.github.com/biomejs/biome/issues) your issues!
Note: GritQL escapes code snippets using backticks, but most shells interpret backticks as command invocations. To avoid this, it's best to put *single quotes* around your Grit queries.
```shell
biome search '`console.log($message)`' # find all `console.log` invocations
```
Contributed by [@arendjr](https://redirect.github.com/arendjr) and [@BackupMiles](https://redirect.github.com/BackupMiles)
- The option `--max-diagnostics` now accept a `none` value, which lifts the limit of diagnostics shown. Contributed by [@ematipico](https://redirect.github.com/ematipico)
- Add a new reporter `--reporter=gitlab`, that emits diagnostics for using the [GitLab Code Quality report](https://docs.gitlab.com/ee/ci/testing/code_quality.html#implement-a-custom-tool).
```json
[
{
"description": "Use === instead of ==. == is only allowed when comparing against `null`",
"check_name": "lint/suspicious/noDoubleEquals",
"fingerprint": "6143155163249580709",
"severity": "critical",
"location": {
"path": "main.ts",
"lines": {
"begin": 4
}
}
}
]
```
Contributed by [@NiclasvanEyk](https://redirect.github.com/NiclasvanEyk)
- Add new options to the `lsp-proxy` and `start` commands:
- `--log-path`: a directory where to store the daemon logs. The commands also accepts the environment variable `BIOME_LOG_PATH`.
- `--log-prefix-name`: a prefix that's added to the file name of the logs. It defaults to `server.log`. The commands also accepts the environment variable `BIOME_LOG_PREFIX_NAME`.
[@Contributed](https://redirect.github.com/Contributed) by [@ematipico](https://redirect.github.com/ematipico)
##### Enhancements
- When a `--reporter` is provided, and it's different from the default one, the value provided by via `--max-diagnostics` is ignored and **the limit is lifted**. Contributed by [@ematipico](https://redirect.github.com/ematipico)
- `biome init` now generates a new config file with more options set.
This change intends to improve discoverability of the options and to set the more commonly used options to their default values.
Contributed by [@Conaclos](https://redirect.github.com/Conaclos)
- The `--verbose` flag now reports the list of files that were evaluated, and the list of files that were fixed.
The **evaluated** files are the those files that can be handled by Biome, files that are ignored, don't have an extension or have an extension that Biome can't evaluate are excluded by this list.
The **fixed** files are those files that were handled by Biome and *changed*. Files that stays the same after the process are excluded from this list.
```shell
VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ℹ Files processed:
- biome/biome.json
- biome/packages/@biomejs/cli-win32-arm64/package.json
- biome/packages/tailwindcss-config-analyzer/package.json
VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ℹ Files fixed:
- biome/biome/packages/tailwindcss-config-analyzer/src/generate-tailwind-preset.ts
```
Contributed by [@ematipico](https://redirect.github.com/ematipico)
- Allow passing `nursery` to the `--only` and `--skip` filters.
The `--only` option allows you to run a given rule or rule group.
The `--skip` option allows you to skip the execution of a given group or a given rule.
Previously, it was not possible to pass `nursery`.
This restriction is now removed, as it may make sense to skip the nursery rules that a project has enabled.
Contributed by [@Conaclos](https://redirect.github.com/Conaclos)
- The CLI now returns an error code when calling a command in `stdin` mode, and the contents of the files aren't fixed. For example, the following example will result in an error code of `1` because the `lint` command triggers some lint rules:
```shell
echo "let x = 1" | biome lint --stdin-file-path=stdin.js
```
Contributed by [@ematipico](https://redirect.github.com/ematipico)
##### Bug fixes
- `biome lint --write` now takes `--only` and `--skip` into account ([#3470](https://redirect.github.com/biomejs/biome/issues/3470)). Contributed by [@Conaclos](https://redirect.github.com/Conaclos)
- Fix [#3368](https://redirect.github.com/biomejs/biome/issues/3368), now the reporter `github` tracks the diagnostics that belong to formatting and organize imports. Contributed by [@ematipico](https://redirect.github.com/ematipico)
- Fix [#3545](https://redirect.github.com/biomejs/biome/issues/3545), display a warning, 'Avoid using unnecessary Fragment,' when a Fragment contains only one child element that is placed on a new line. Contributed by [@satojin219](https://redirect.github.com/satojin219)
- Migrating from Prettier or ESLint no longer overwrite the `overrides` field from the configuration ([#3544](https://redirect.github.com/biomejs/biome/issues/3544)). Contributed by [@Conaclos](https://redirect.github.com/Conaclos)
- Fix JSX expressions for `noAriaHiddenOnFocusable` ([#3708](https://redirect.github.com/biomejs/biome/pull/3708)). Contributed by [@anthonyshew](https://redirect.github.com/anthonyshew)
- Fix edge case for `cloudflare/workerd (@cloudflare/workers-types)
### [`v4.20240909.0`](https://redirect.github.com/cloudflare/workerd/compare/cf8ca6e40874475097f916ddb2ab9813c6a352f7...141ec389db82bec0aa9ef6970aee85b5ff7713e6)
[Compare Source](https://redirect.github.com/cloudflare/workerd/compare/cf8ca6e40874475097f916ddb2ab9813c6a352f7...141ec389db82bec0aa9ef6970aee85b5ff7713e6)
honojs/vite-plugins (@hono/vite-dev-server)
### [`v0.16.0`](https://redirect.github.com/honojs/vite-plugins/releases/tag/%40hono/vite-dev-server%400.16.0)
[Compare Source](https://redirect.github.com/honojs/vite-plugins/compare/@hono/vite-dev-server@0.15.2...@hono/vite-dev-server@0.16.0)
##### Minor Changes
- [#175](https://redirect.github.com/honojs/vite-plugins/pull/175) [`c44f9391cf145192b3632c6eb71b15a8d5d3178b`](https://redirect.github.com/honojs/vite-plugins/commit/c44f9391cf145192b3632c6eb71b15a8d5d3178b) Thanks [@yusukebe](https://redirect.github.com/yusukebe)! - feat: add `loadModule` option
honojs/hono (hono)
### [`v4.6.1`](https://redirect.github.com/honojs/hono/releases/tag/v4.6.1)
[Compare Source](https://redirect.github.com/honojs/hono/compare/v4.6.0...v4.6.1)
#### What's Changed
- fix(build): improve addExtension esbuild plugin by [@kt3k](https://redirect.github.com/kt3k) in [https://github.com/honojs/hono/pull/3405](https://redirect.github.com/honojs/hono/pull/3405)
#### New Contributors
- [@kt3k](https://redirect.github.com/kt3k) made their first contribution in [https://github.com/honojs/hono/pull/3405](https://redirect.github.com/honojs/hono/pull/3405)
**Full Changelog**: https://github.com/honojs/hono/compare/v4.6.0...v4.6.1
### [`v4.6.0`](https://redirect.github.com/honojs/hono/releases/tag/v4.6.0)
[Compare Source](https://redirect.github.com/honojs/hono/compare/v4.5.11...v4.6.0)
Hono v4.6.0 is now available!
One of the highlights of this release is the **Context Storage Middleware**. Let's introduce it.
#### Context Storage Middleware
Many users may have been waiting for this feature. The [**Context Storage Middleware**](https://hono.dev/docs/middleware/builtin/context-storage) uses `AsyncLocalStorage` to allow handling of the current Context object even outside of handlers.
For example, let’s define a Hono app with a variable `message: string`.
```ts
type Env = {
Variables: {
message: string
}
}
const app = new Hono()
```
To enable Context Storage Middleware, register `contextStorage()` as middleware at the top and set the `message` value.
```ts
import { contextStorage } from 'hono/context-storage'
//...
app.use(contextStorage())
app.use(async (c, next) => {
c.set('message', 'Hello!')
await next()
})
```
`getContext()` returns the current Context object, allowing you to get the value of the `message` variable outside the handler.
```ts
import { getContext } from 'hono/context-storage'
app.get('/', (c) => {
return c.text(getMessage())
})
// Access the variable outside the handler.
const getMessage = () => {
return getContext().var.message
}
```
In the case of Cloudflare Workers, you can also access the `Bindings` outside the handler by using this middleware.
```ts
type Env = {
Bindings: {
KV: KVNamespace
}
}
const app = new Hono()
app.use(contextStorage())
const setKV = (value: string) => {
return getContext().env.KV.put('key', value)
}
```
Thanks [@marceloverdijk](https://redirect.github.com/marceloverdijk) !
#### New features
- feat(secureHeader): add Permissions-Policy header to secure headers middleware [https://github.com/honojs/hono/pull/3314](https://redirect.github.com/honojs/hono/pull/3314)
- feat(cloudflare-pages): enable `c.env.eventContext` in handleMiddleware [https://github.com/honojs/hono/pull/3332](https://redirect.github.com/honojs/hono/pull/3332)
- feat(websocket): Add generics type to `WSContext` [https://github.com/honojs/hono/pull/3337](https://redirect.github.com/honojs/hono/pull/3337)
- feat(jsx-renderer): set `Content-Encoding` when `stream` is true [https://github.com/honojs/hono/pull/3355](https://redirect.github.com/honojs/hono/pull/3355)
- feat(serveStatic): add `precompressed` option [https://github.com/honojs/hono/pull/3366](https://redirect.github.com/honojs/hono/pull/3366)
- feat(helper/streaming): Support `Promise` or (async) `JSX.Element` in `streamSSE` [https://github.com/honojs/hono/pull/3344](https://redirect.github.com/honojs/hono/pull/3344)
- feat(context): make fetch Response headers mutable [https://github.com/honojs/hono/pull/3318](https://redirect.github.com/honojs/hono/pull/3318)
- feat(serve-static): add `onFound` option [https://github.com/honojs/hono/pull/3396](https://redirect.github.com/honojs/hono/pull/3396)
- feat(basic-auth): added custom response message option [https://github.com/honojs/hono/pull/3371](https://redirect.github.com/honojs/hono/pull/3371)
- feat(bearer-auth): added custom response message options [https://github.com/honojs/hono/pull/3372](https://redirect.github.com/honojs/hono/pull/3372)
#### Other changes
- chore(jsx-renderer): fix typo in JSDoc by [@taga3s](https://redirect.github.com/taga3s) in [https://github.com/honojs/hono/pull/3378](https://redirect.github.com/honojs/hono/pull/3378)
- chore(deno): use the latest jsr libraries for testing by [@ryuapp](https://redirect.github.com/ryuapp) in [https://github.com/honojs/hono/pull/3375](https://redirect.github.com/honojs/hono/pull/3375)
- fix(secure-headers): optimize getPermissionsPolicyDirectives function by [@kbkn3](https://redirect.github.com/kbkn3) in [https://github.com/honojs/hono/pull/3398](https://redirect.github.com/honojs/hono/pull/3398)
- fix(bearer-auth): typo by [@yusukebe](https://redirect.github.com/yusukebe) in [https://github.com/honojs/hono/pull/3404](https://redirect.github.com/honojs/hono/pull/3404)
#### New Contributors
- [@kbkn3](https://redirect.github.com/kbkn3) made their first contribution in [https://github.com/honojs/hono/pull/3314](https://redirect.github.com/honojs/hono/pull/3314)
- [@hayatosc](https://redirect.github.com/hayatosc) made their first contribution in [https://github.com/honojs/hono/pull/3337](https://redirect.github.com/honojs/hono/pull/3337)
- [@inetol](https://redirect.github.com/inetol) made their first contribution in [https://github.com/honojs/hono/pull/3366](https://redirect.github.com/honojs/hono/pull/3366)
**Full Changelog**: https://github.com/honojs/hono/compare/v4.5.11...v4.6.0
tailwindlabs/tailwindcss (tailwindcss)
### [`v3.4.11`](https://redirect.github.com/tailwindlabs/tailwindcss/compare/v3.4.10...v3.4.11)
[Compare Source](https://redirect.github.com/tailwindlabs/tailwindcss/compare/v3.4.10...v3.4.11)
vitejs/vite (vite)
### [`v5.4.5`](https://redirect.github.com/vitejs/vite/releases/tag/v5.4.5)
[Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.4.4...v5.4.5)
Please refer to [CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v5.4.5/packages/vite/CHANGELOG.md) for details.
### [`v5.4.4`](https://redirect.github.com/vitejs/vite/releases/tag/v5.4.4)
[Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.4.3...v5.4.4)
Please refer to [CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v5.4.4/packages/vite/CHANGELOG.md) for details.
cloudflare/workers-sdk (wrangler)
### [`v3.77.0`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3770)
[Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/wrangler@3.76.0...wrangler@3.77.0)
##### Minor Changes
- [#6674](https://redirect.github.com/cloudflare/workers-sdk/pull/6674) [`831f892`](https://redirect.github.com/cloudflare/workers-sdk/commit/831f89217627554f4fc984dd8d51bf2a4409ec31) Thanks [@andyjessop](https://redirect.github.com/andyjessop)! - feat: Added new \[\[pipelines]] bindings. This creates a new binding that allows sending events to
the specified pipeline.
Example:
\[\[pipelines]]
binding = "MY_PIPELINE"
pipeline = "my-pipeline"
- [#6668](https://redirect.github.com/cloudflare/workers-sdk/pull/6668) [`88c40be`](https://redirect.github.com/cloudflare/workers-sdk/commit/88c40bec9b32ae1a6bcc2f41427ba5958cb3ae63) Thanks [@zebp](https://redirect.github.com/zebp)! - feature: add observability setting to wrangler.toml
Adds the `observability` setting which provides your Worker with automatic persistent logs that can be searched, filtered, and queried directly from the Workers dashboard.
- [#6679](https://redirect.github.com/cloudflare/workers-sdk/pull/6679) [`2174127`](https://redirect.github.com/cloudflare/workers-sdk/commit/21741277a5bcd6fe6a3f531c8cacc34df84d287e) Thanks [@jkoe-cf](https://redirect.github.com/jkoe-cf)! - feat: adding option to specify a rule within the config to delete (if no rules are specified, all rules get deleted)
- [#6666](https://redirect.github.com/cloudflare/workers-sdk/pull/6666) [`4107f57`](https://redirect.github.com/cloudflare/workers-sdk/commit/4107f573b85eb86cc163c4acadf2b85138f76d97) Thanks [@threepointone](https://redirect.github.com/threepointone)! - feat: support analytics engine in local/remote dev
This adds "support" for analytics engine datasets for `wrangler dev`. Specifically, it simply mocks the AE bindings so that they exist while developing (and don't throw when accessed).
This does NOT add support in Pages, though we very well could do so in a similar way in a followup.
- [#6640](https://redirect.github.com/cloudflare/workers-sdk/pull/6640) [`8527675`](https://redirect.github.com/cloudflare/workers-sdk/commit/8527675e1cf83519a211c8b4cc43161ac29757f1) Thanks [@petebacondarwin](https://redirect.github.com/petebacondarwin)! - feat: experimental workers assets can be ignored by adding a .assetsignore file
This file can be added to the root of the assets directory that is to be uploaded alongside the Worker
when using `experimental_assets`.
The file follows the `.gitignore` syntax, and any matching paths will not be included in the upload.
- [#6652](https://redirect.github.com/cloudflare/workers-sdk/pull/6652) [`648cfdd`](https://redirect.github.com/cloudflare/workers-sdk/commit/648cfdd32d8c1b60e037c3d453fcb1691fbf4b45) Thanks [@bthwaites](https://redirect.github.com/bthwaites)! - feat: Update R2 Get Event Notification response, display, and actions
- [#6625](https://redirect.github.com/cloudflare/workers-sdk/pull/6625) [`8dcd456`](https://redirect.github.com/cloudflare/workers-sdk/commit/8dcd45665c0c420653f57cc7218269e05b2f9a25) Thanks [@maxwellpeterson](https://redirect.github.com/maxwellpeterson)! - feature: Add support for placement hints
Adds the `hint` field to smart placement configuration. When set, placement hints will be used to decide where smart-placement-enabled Workers are run.
- [#6631](https://redirect.github.com/cloudflare/workers-sdk/pull/6631) [`59a0072`](https://redirect.github.com/cloudflare/workers-sdk/commit/59a0072740aa19f8d2b7524b993a7be35ba67fce) Thanks [@emily-shen](https://redirect.github.com/emily-shen)! - feat: Add config options 'html_handling' and 'not_found_handling' to experimental_asset field in wrangler.toml
##### Patch Changes
- [#6621](https://redirect.github.com/cloudflare/workers-sdk/pull/6621) [`6523db2`](https://redirect.github.com/cloudflare/workers-sdk/commit/6523db2695d70ad64da7cfe6f4731ac82181ac51) Thanks [@emily-shen](https://redirect.github.com/emily-shen)! - fix: Validate `routes` in `wrangler dev` and `wrangler deploy` for Workers with assets
We want wrangler to error if users are trying to deploy a Worker with assets, and routes with a path component.
All Workers with assets must have either:
- custom domain routes
- pattern routes which have no path component (except for the wildcard splat) "some.domain.com/\*"
- [#6687](https://redirect.github.com/cloudflare/workers-sdk/pull/6687) [`7bbed63`](https://redirect.github.com/cloudflare/workers-sdk/commit/7bbed63fb592df9b5fd081eebad614a8a1a4c281) Thanks [@GregBrimble](https://redirect.github.com/GregBrimble)! - fix: Fix asset upload count messaging
- [#6628](https://redirect.github.com/cloudflare/workers-sdk/pull/6628) [`33cc0ec`](https://redirect.github.com/cloudflare/workers-sdk/commit/33cc0ecce9062641649fc6ee2e1d68a15f20fc5c) Thanks [@GregBrimble](https://redirect.github.com/GregBrimble)! - chore: Improves messaging when uploading assets
- [#6671](https://redirect.github.com/cloudflare/workers-sdk/pull/6671) [`48eeff4`](https://redirect.github.com/cloudflare/workers-sdk/commit/48eeff4674a47da4d1faffc93f44543e909fca01) Thanks [@jkoe-cf](https://redirect.github.com/jkoe-cf)! - fix: Update R2 Create Event Notification response
- [#6618](https://redirect.github.com/cloudflare/workers-sdk/pull/6618) [`67711c2`](https://redirect.github.com/cloudflare/workers-sdk/commit/67711c2158d706ba2e6bafebf923013e0e0feec0) Thanks [@GregBrimble](https://redirect.github.com/GregBrimble)! - fix: Switch to multipart/form-data upload format for Workers Assets
This has proven to be much more reliable.
- Updated dependencies \[[`3f5b934`](https://redirect.github.com/cloudflare/workers-sdk/commit/3f5b9343a46dedcb80c8e216eb3ca9d7f687f6cf), [`59a0072`](https://redirect.github.com/cloudflare/workers-sdk/commit/59a0072740aa19f8d2b7524b993a7be35ba67fce)]:
- miniflare@3.20240909.0
- [@cloudflare/workers-shared](https://redirect.github.com/cloudflare/workers-shared)[@0](https://redirect.github.com/0).5.0
### [`v3.76.0`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3760)
[Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/wrangler@3.75.0...wrangler@3.76.0)
##### Minor Changes
- [#6126](https://redirect.github.com/cloudflare/workers-sdk/pull/6126) [`18c105b`](https://redirect.github.com/cloudflare/workers-sdk/commit/18c105baec9d3625b56531ec332517fcae1ede59) Thanks [@IRCody](https://redirect.github.com/IRCody)! - feature: Add 'cloudchamber curl' command
Adds a cloudchamber curl command which allows easy access to arbitrary cloudchamber API endpoints.
- [#6649](https://redirect.github.com/cloudflare/workers-sdk/pull/6649) [`46a91e7`](https://redirect.github.com/cloudflare/workers-sdk/commit/46a91e7e7d286e6835bb87cfdd6c9096deaeba6e) Thanks [@andyjessop](https://redirect.github.com/andyjessop)! - feature: Integrate the Cloudflare Pipelines product into wrangler.
Cloudflare Pipelines is a product that handles the ingest of event streams
into R2. This feature integrates various forms of managing pipelines.
Usage:
`wrangler pipelines create `: Create a new pipeline
`wrangler pipelines list`: List current pipelines
`wrangler pipelines show `: Show a pipeline configuration
`wrangler pipelines update `: Update a pipeline
`wrangler pipelines delete `: Delete a pipeline
Examples:
wrangler pipelines create my-pipeline --r2 MY_BUCKET --access-key-id "my-key" --secret-access-key "my-secret"
wrangler pipelines show my-pipeline
wrangler pipelines delete my-pipline
##### Patch Changes
- [#6612](https://redirect.github.com/cloudflare/workers-sdk/pull/6612) [`6471090`](https://redirect.github.com/cloudflare/workers-sdk/commit/64710904ad4055054bea09ebb23ededab140aa79) Thanks [@dario-piotrowicz](https://redirect.github.com/dario-piotrowicz)! - fix: Add hyperdrive binding support in `getPlatformProxy`
example:
```toml
```
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 contains the following updates:
1.8.3
->1.9.0
4.20240903.0
->4.20240909.0
0.15.2
->0.16.0
1.1.8
->1.1.9
4.5.11
->4.6.1
3.4.10
->3.4.11
5.4.3
->5.4.5
3.75.0
->3.77.0
Release Notes
biomejs/biome (@biomejs/biome)
### [`v1.9.0`](https://redirect.github.com/biomejs/biome/blob/HEAD/CHANGELOG.md#v190-2024-09-12) [Compare Source](https://redirect.github.com/biomejs/biome/compare/c28d5978c1440b3ae184d1cc354233711abf8a8e...b260d5b0e6b2e8e0093128ca2bf1f66c8e5d35da) ##### Analyzer - Implement the [semantic model for CSS](https://redirect.github.com/biomejs/biome/pull/3546). Contributed by [@togami2864](https://redirect.github.com/togami2864) ##### CLI ##### New features - Add `--graphql-linter-enabled` option, to control whether the linter should be enabled or not for GraphQL files. Contributed by [@ematipico](https://redirect.github.com/ematipico) - New EXPERIMENTAL `search` command. The search command allows you to search a Biome project using [GritQL syntax](https://biomejs.dev/reference/gritql). GritQL is a powerful language that lets you do *structural* searches on your codebase. This means that trivia such as whitespace or even the type of strings quotes used will be ignored in your search query. It also has many features for querying the structure of your code, making it much more elegant for searching code than regular expressions. While we believe this command may already be useful to users in some situations (especially when integrated in the IDE extensions!), we also had an ulterior motive for adding this command: We intend to utilize GritQL for our plugin efforts, and by allowing our users to try it out in a first iteration, we hope to gain insight in the type of queries you want to do, as well as the bugs we need to focus on. For now, the `search` command is explicitly marked as EXPERIMENTAL, since many bugs remain. Keep this in mind when you try it out, and please [let us know](https://redirect.github.com/biomejs/biome/issues) your issues! Note: GritQL escapes code snippets using backticks, but most shells interpret backticks as command invocations. To avoid this, it's best to put *single quotes* around your Grit queries. ```shell biome search '`console.log($message)`' # find all `console.log` invocations ``` Contributed by [@arendjr](https://redirect.github.com/arendjr) and [@BackupMiles](https://redirect.github.com/BackupMiles) - The option `--max-diagnostics` now accept a `none` value, which lifts the limit of diagnostics shown. Contributed by [@ematipico](https://redirect.github.com/ematipico) - Add a new reporter `--reporter=gitlab`, that emits diagnostics for using the [GitLab Code Quality report](https://docs.gitlab.com/ee/ci/testing/code_quality.html#implement-a-custom-tool). ```json [ { "description": "Use === instead of ==. == is only allowed when comparing against `null`", "check_name": "lint/suspicious/noDoubleEquals", "fingerprint": "6143155163249580709", "severity": "critical", "location": { "path": "main.ts", "lines": { "begin": 4 } } } ] ``` Contributed by [@NiclasvanEyk](https://redirect.github.com/NiclasvanEyk) - Add new options to the `lsp-proxy` and `start` commands: - `--log-path`: a directory where to store the daemon logs. The commands also accepts the environment variable `BIOME_LOG_PATH`. - `--log-prefix-name`: a prefix that's added to the file name of the logs. It defaults to `server.log`. The commands also accepts the environment variable `BIOME_LOG_PREFIX_NAME`. [@Contributed](https://redirect.github.com/Contributed) by [@ematipico](https://redirect.github.com/ematipico) ##### Enhancements - When a `--reporter` is provided, and it's different from the default one, the value provided by via `--max-diagnostics` is ignored and **the limit is lifted**. Contributed by [@ematipico](https://redirect.github.com/ematipico) - `biome init` now generates a new config file with more options set. This change intends to improve discoverability of the options and to set the more commonly used options to their default values. Contributed by [@Conaclos](https://redirect.github.com/Conaclos) - The `--verbose` flag now reports the list of files that were evaluated, and the list of files that were fixed. The **evaluated** files are the those files that can be handled by Biome, files that are ignored, don't have an extension or have an extension that Biome can't evaluate are excluded by this list. The **fixed** files are those files that were handled by Biome and *changed*. Files that stays the same after the process are excluded from this list. ```shell VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ℹ Files processed: - biome/biome.json - biome/packages/@biomejs/cli-win32-arm64/package.json - biome/packages/tailwindcss-config-analyzer/package.json VERBOSE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ℹ Files fixed: - biome/biome/packages/tailwindcss-config-analyzer/src/generate-tailwind-preset.ts ``` Contributed by [@ematipico](https://redirect.github.com/ematipico) - Allow passing `nursery` to the `--only` and `--skip` filters. The `--only` option allows you to run a given rule or rule group. The `--skip` option allows you to skip the execution of a given group or a given rule. Previously, it was not possible to pass `nursery`. This restriction is now removed, as it may make sense to skip the nursery rules that a project has enabled. Contributed by [@Conaclos](https://redirect.github.com/Conaclos) - The CLI now returns an error code when calling a command in `stdin` mode, and the contents of the files aren't fixed. For example, the following example will result in an error code of `1` because the `lint` command triggers some lint rules: ```shell echo "let x = 1" | biome lint --stdin-file-path=stdin.js ``` Contributed by [@ematipico](https://redirect.github.com/ematipico) ##### Bug fixes - `biome lint --write` now takes `--only` and `--skip` into account ([#3470](https://redirect.github.com/biomejs/biome/issues/3470)). Contributed by [@Conaclos](https://redirect.github.com/Conaclos) - Fix [#3368](https://redirect.github.com/biomejs/biome/issues/3368), now the reporter `github` tracks the diagnostics that belong to formatting and organize imports. Contributed by [@ematipico](https://redirect.github.com/ematipico) - Fix [#3545](https://redirect.github.com/biomejs/biome/issues/3545), display a warning, 'Avoid using unnecessary Fragment,' when a Fragment contains only one child element that is placed on a new line. Contributed by [@satojin219](https://redirect.github.com/satojin219) - Migrating from Prettier or ESLint no longer overwrite the `overrides` field from the configuration ([#3544](https://redirect.github.com/biomejs/biome/issues/3544)). Contributed by [@Conaclos](https://redirect.github.com/Conaclos) - Fix JSX expressions for `noAriaHiddenOnFocusable` ([#3708](https://redirect.github.com/biomejs/biome/pull/3708)). Contributed by [@anthonyshew](https://redirect.github.com/anthonyshew) - Fix edge case for `cloudflare/workerd (@cloudflare/workers-types)
### [`v4.20240909.0`](https://redirect.github.com/cloudflare/workerd/compare/cf8ca6e40874475097f916ddb2ab9813c6a352f7...141ec389db82bec0aa9ef6970aee85b5ff7713e6) [Compare Source](https://redirect.github.com/cloudflare/workerd/compare/cf8ca6e40874475097f916ddb2ab9813c6a352f7...141ec389db82bec0aa9ef6970aee85b5ff7713e6)honojs/vite-plugins (@hono/vite-dev-server)
### [`v0.16.0`](https://redirect.github.com/honojs/vite-plugins/releases/tag/%40hono/vite-dev-server%400.16.0) [Compare Source](https://redirect.github.com/honojs/vite-plugins/compare/@hono/vite-dev-server@0.15.2...@hono/vite-dev-server@0.16.0) ##### Minor Changes - [#175](https://redirect.github.com/honojs/vite-plugins/pull/175) [`c44f9391cf145192b3632c6eb71b15a8d5d3178b`](https://redirect.github.com/honojs/vite-plugins/commit/c44f9391cf145192b3632c6eb71b15a8d5d3178b) Thanks [@yusukebe](https://redirect.github.com/yusukebe)! - feat: add `loadModule` optionhonojs/hono (hono)
### [`v4.6.1`](https://redirect.github.com/honojs/hono/releases/tag/v4.6.1) [Compare Source](https://redirect.github.com/honojs/hono/compare/v4.6.0...v4.6.1) #### What's Changed - fix(build): improve addExtension esbuild plugin by [@kt3k](https://redirect.github.com/kt3k) in [https://github.com/honojs/hono/pull/3405](https://redirect.github.com/honojs/hono/pull/3405) #### New Contributors - [@kt3k](https://redirect.github.com/kt3k) made their first contribution in [https://github.com/honojs/hono/pull/3405](https://redirect.github.com/honojs/hono/pull/3405) **Full Changelog**: https://github.com/honojs/hono/compare/v4.6.0...v4.6.1 ### [`v4.6.0`](https://redirect.github.com/honojs/hono/releases/tag/v4.6.0) [Compare Source](https://redirect.github.com/honojs/hono/compare/v4.5.11...v4.6.0) Hono v4.6.0 is now available! One of the highlights of this release is the **Context Storage Middleware**. Let's introduce it. #### Context Storage Middleware Many users may have been waiting for this feature. The [**Context Storage Middleware**](https://hono.dev/docs/middleware/builtin/context-storage) uses `AsyncLocalStorage` to allow handling of the current Context object even outside of handlers. For example, let’s define a Hono app with a variable `message: string`. ```ts type Env = { Variables: { message: string } } const app = new Honotailwindlabs/tailwindcss (tailwindcss)
### [`v3.4.11`](https://redirect.github.com/tailwindlabs/tailwindcss/compare/v3.4.10...v3.4.11) [Compare Source](https://redirect.github.com/tailwindlabs/tailwindcss/compare/v3.4.10...v3.4.11)vitejs/vite (vite)
### [`v5.4.5`](https://redirect.github.com/vitejs/vite/releases/tag/v5.4.5) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.4.4...v5.4.5) Please refer to [CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v5.4.5/packages/vite/CHANGELOG.md) for details. ### [`v5.4.4`](https://redirect.github.com/vitejs/vite/releases/tag/v5.4.4) [Compare Source](https://redirect.github.com/vitejs/vite/compare/v5.4.3...v5.4.4) Please refer to [CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v5.4.4/packages/vite/CHANGELOG.md) for details.cloudflare/workers-sdk (wrangler)
### [`v3.77.0`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3770) [Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/wrangler@3.76.0...wrangler@3.77.0) ##### Minor Changes - [#6674](https://redirect.github.com/cloudflare/workers-sdk/pull/6674) [`831f892`](https://redirect.github.com/cloudflare/workers-sdk/commit/831f89217627554f4fc984dd8d51bf2a4409ec31) Thanks [@andyjessop](https://redirect.github.com/andyjessop)! - feat: Added new \[\[pipelines]] bindings. This creates a new binding that allows sending events to the specified pipeline. Example: \[\[pipelines]] binding = "MY_PIPELINE" pipeline = "my-pipeline" - [#6668](https://redirect.github.com/cloudflare/workers-sdk/pull/6668) [`88c40be`](https://redirect.github.com/cloudflare/workers-sdk/commit/88c40bec9b32ae1a6bcc2f41427ba5958cb3ae63) Thanks [@zebp](https://redirect.github.com/zebp)! - feature: add observability setting to wrangler.toml Adds the `observability` setting which provides your Worker with automatic persistent logs that can be searched, filtered, and queried directly from the Workers dashboard. - [#6679](https://redirect.github.com/cloudflare/workers-sdk/pull/6679) [`2174127`](https://redirect.github.com/cloudflare/workers-sdk/commit/21741277a5bcd6fe6a3f531c8cacc34df84d287e) Thanks [@jkoe-cf](https://redirect.github.com/jkoe-cf)! - feat: adding option to specify a rule within the config to delete (if no rules are specified, all rules get deleted) - [#6666](https://redirect.github.com/cloudflare/workers-sdk/pull/6666) [`4107f57`](https://redirect.github.com/cloudflare/workers-sdk/commit/4107f573b85eb86cc163c4acadf2b85138f76d97) Thanks [@threepointone](https://redirect.github.com/threepointone)! - feat: support analytics engine in local/remote dev This adds "support" for analytics engine datasets for `wrangler dev`. Specifically, it simply mocks the AE bindings so that they exist while developing (and don't throw when accessed). This does NOT add support in Pages, though we very well could do so in a similar way in a followup. - [#6640](https://redirect.github.com/cloudflare/workers-sdk/pull/6640) [`8527675`](https://redirect.github.com/cloudflare/workers-sdk/commit/8527675e1cf83519a211c8b4cc43161ac29757f1) Thanks [@petebacondarwin](https://redirect.github.com/petebacondarwin)! - feat: experimental workers assets can be ignored by adding a .assetsignore file This file can be added to the root of the assets directory that is to be uploaded alongside the Worker when using `experimental_assets`. The file follows the `.gitignore` syntax, and any matching paths will not be included in the upload. - [#6652](https://redirect.github.com/cloudflare/workers-sdk/pull/6652) [`648cfdd`](https://redirect.github.com/cloudflare/workers-sdk/commit/648cfdd32d8c1b60e037c3d453fcb1691fbf4b45) Thanks [@bthwaites](https://redirect.github.com/bthwaites)! - feat: Update R2 Get Event Notification response, display, and actions - [#6625](https://redirect.github.com/cloudflare/workers-sdk/pull/6625) [`8dcd456`](https://redirect.github.com/cloudflare/workers-sdk/commit/8dcd45665c0c420653f57cc7218269e05b2f9a25) Thanks [@maxwellpeterson](https://redirect.github.com/maxwellpeterson)! - feature: Add support for placement hints Adds the `hint` field to smart placement configuration. When set, placement hints will be used to decide where smart-placement-enabled Workers are run. - [#6631](https://redirect.github.com/cloudflare/workers-sdk/pull/6631) [`59a0072`](https://redirect.github.com/cloudflare/workers-sdk/commit/59a0072740aa19f8d2b7524b993a7be35ba67fce) Thanks [@emily-shen](https://redirect.github.com/emily-shen)! - feat: Add config options 'html_handling' and 'not_found_handling' to experimental_asset field in wrangler.toml ##### Patch Changes - [#6621](https://redirect.github.com/cloudflare/workers-sdk/pull/6621) [`6523db2`](https://redirect.github.com/cloudflare/workers-sdk/commit/6523db2695d70ad64da7cfe6f4731ac82181ac51) Thanks [@emily-shen](https://redirect.github.com/emily-shen)! - fix: Validate `routes` in `wrangler dev` and `wrangler deploy` for Workers with assets We want wrangler to error if users are trying to deploy a Worker with assets, and routes with a path component. All Workers with assets must have either: - custom domain routes - pattern routes which have no path component (except for the wildcard splat) "some.domain.com/\*" - [#6687](https://redirect.github.com/cloudflare/workers-sdk/pull/6687) [`7bbed63`](https://redirect.github.com/cloudflare/workers-sdk/commit/7bbed63fb592df9b5fd081eebad614a8a1a4c281) Thanks [@GregBrimble](https://redirect.github.com/GregBrimble)! - fix: Fix asset upload count messaging - [#6628](https://redirect.github.com/cloudflare/workers-sdk/pull/6628) [`33cc0ec`](https://redirect.github.com/cloudflare/workers-sdk/commit/33cc0ecce9062641649fc6ee2e1d68a15f20fc5c) Thanks [@GregBrimble](https://redirect.github.com/GregBrimble)! - chore: Improves messaging when uploading assets - [#6671](https://redirect.github.com/cloudflare/workers-sdk/pull/6671) [`48eeff4`](https://redirect.github.com/cloudflare/workers-sdk/commit/48eeff4674a47da4d1faffc93f44543e909fca01) Thanks [@jkoe-cf](https://redirect.github.com/jkoe-cf)! - fix: Update R2 Create Event Notification response - [#6618](https://redirect.github.com/cloudflare/workers-sdk/pull/6618) [`67711c2`](https://redirect.github.com/cloudflare/workers-sdk/commit/67711c2158d706ba2e6bafebf923013e0e0feec0) Thanks [@GregBrimble](https://redirect.github.com/GregBrimble)! - fix: Switch to multipart/form-data upload format for Workers Assets This has proven to be much more reliable. - Updated dependencies \[[`3f5b934`](https://redirect.github.com/cloudflare/workers-sdk/commit/3f5b9343a46dedcb80c8e216eb3ca9d7f687f6cf), [`59a0072`](https://redirect.github.com/cloudflare/workers-sdk/commit/59a0072740aa19f8d2b7524b993a7be35ba67fce)]: - miniflare@3.20240909.0 - [@cloudflare/workers-shared](https://redirect.github.com/cloudflare/workers-shared)[@0](https://redirect.github.com/0).5.0 ### [`v3.76.0`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3760) [Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/wrangler@3.75.0...wrangler@3.76.0) ##### Minor Changes - [#6126](https://redirect.github.com/cloudflare/workers-sdk/pull/6126) [`18c105b`](https://redirect.github.com/cloudflare/workers-sdk/commit/18c105baec9d3625b56531ec332517fcae1ede59) Thanks [@IRCody](https://redirect.github.com/IRCody)! - feature: Add 'cloudchamber curl' command Adds a cloudchamber curl command which allows easy access to arbitrary cloudchamber API endpoints. - [#6649](https://redirect.github.com/cloudflare/workers-sdk/pull/6649) [`46a91e7`](https://redirect.github.com/cloudflare/workers-sdk/commit/46a91e7e7d286e6835bb87cfdd6c9096deaeba6e) Thanks [@andyjessop](https://redirect.github.com/andyjessop)! - feature: Integrate the Cloudflare Pipelines product into wrangler. Cloudflare Pipelines is a product that handles the ingest of event streams into R2. This feature integrates various forms of managing pipelines. Usage: `wrangler pipelines createConfiguration
📅 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.
This PR was generated by Mend Renovate. View the repository job log.