Skip to content

fix: serve .ico files with image/x-icon Content-Type#16234

Merged
Rich-Harris merged 1 commit into
version-3from
ico-content-type
Jul 6, 2026
Merged

fix: serve .ico files with image/x-icon Content-Type#16234
Rich-Harris merged 1 commit into
version-3from
ico-content-type

Conversation

@dummdidumm

Copy link
Copy Markdown
Member

Closes #13753

@pkg-svelte-dev

pkg-svelte-dev Bot commented Jul 3, 2026

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from cd55044:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/cd550443fc84f9c0cbeb2e62324162f8b1a8a487

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/16234

@changeset-bot

changeset-bot Bot commented Jul 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cd55044

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sveltejs/kit Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@svelte-docs-bot

Copy link
Copy Markdown

@Rich-Harris Rich-Harris merged commit 82f3867 into version-3 Jul 6, 2026
18 checks passed
@Rich-Harris Rich-Harris deleted the ico-content-type branch July 6, 2026 18:11
@teemingc teemingc linked an issue Jul 7, 2026 that may be closed by this pull request
Rich-Harris pushed a commit that referenced this pull request Jul 8, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to version-3, this PR
will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`version-3` is currently in **pre mode** so this branch has prereleases
rather than normal releases. If you want to exit prereleases, run
`changeset pre exit` on `version-3`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases
## @sveltejs/kit@3.0.0-next.7

### Major Changes

- breaking: change `form.error` type from `any` to `App.Error |
undefined` ([#16245](#16245))

- feat: allow adapters to provide additional Vite plugins
([#16206](#16206))

- breaking: move tracing out of the experimental namespace and remove
the instrumentation flag
([#16260](#16260))

- breaking: remove `$app/stores`
([#15499](#15499))

- breaking: disallow `*.remote.ts/js` files unless
`experimental.remoteFunctions` is enabled
([#16247](#16247))

- breaking: remove param files in folder in favor of `params.js/ts` file
([#16189](#16189))

### Patch Changes

- fix: defer `query.refresh()` in server commands until after the
command body completes
([#16225](#16225))

- fix: resolve service worker and `tsconfig.json` based on Vite `root`
setting ([#16229](#16229))

- fix: populate `$app/env/*` dynamic variables in contexts that don't
run the dev server, such as `vite-node`
([#16223](#16223))

- fix: no longer throw "An impossible situation occurred" when a
server-only module is imported by both server and client code
([#16257](#16257))

- fix: set `define` values on `globalThis` when running Vitest
([#16246](#16246))

- fix: serve `.ico` files with `image/x-icon` Content-Type
([#16234](#16234))

- fix: make `paths.origin` type looser
([#16215](#16215))

- fix: avoid client build warning about externalising `node:async_hooks`
([#16244](#16244))

- fix: allow reserved words (e.g. `delete`, `class`) as remote function
export names ([#16264](#16264))
## @sveltejs/adapter-netlify@7.0.0-next.2

### Patch Changes

- fix: ensure types for `platform.context` work
([#16255](#16255))
- Updated dependencies
[[`ba78a0b`](ba78a0b),
[`a248c9b`](a248c9b),
[`7596981`](7596981),
[`be72ed9`](be72ed9),
[`a5bd7e2`](a5bd7e2),
[`dec671f`](dec671f),
[`82f3867`](82f3867),
[`97eb324`](97eb324),
[`e2a9ac0`](e2a9ac0),
[`309bfb4`](309bfb4),
[`522a86b`](522a86b),
[`0ff547f`](0ff547f),
[`3d4ff91`](3d4ff91),
[`c925f2a`](c925f2a),
[`7daf445`](7daf445)]:
  - @sveltejs/kit@3.0.0-next.7

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No Content-Type when serving .ico files

2 participants