Skip to content

chore(deps): bump @fastify/static from 9.1.3 to 10.1.0#879

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/fastify/static-10.1.0
Open

chore(deps): bump @fastify/static from 9.1.3 to 10.1.0#879
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/fastify/static-10.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 19, 2026

Copy link
Copy Markdown
Contributor

Bumps @fastify/static from 9.1.3 to 10.1.0.

Release notes

Sourced from @​fastify/static's releases.

v10.1.0

What's Changed

New Contributors

Full Changelog: fastify/fastify-static@v10.0.0...v10.1.0

v10.0.0

Breaking Changes

  • setHeaders now using FastifyReply instead of Response.

You should refactor your code to use the reply helpers. For example,

// Before
const fastify = require('fastify')({logger: true})
const path = require('node:path')
fastify.register(require('@​fastify/static'), {
root: path.join(__dirname, 'public'),
prefix: '/public/', // optional: default '/',
setHeaders(res) {
res.setHeader('X-Test', 'Foo')
}
})
// After
const fastify = require('fastify')({logger: true})
const path = require('node:path')
fastify.register(require('@​fastify/static'), {
root: path.join(__dirname, 'public'),
prefix: '/public/', // optional: default '/',
setHeaders(reply) {
reply.header('X-Test', 'Foo')
}
})

What's Changed

New Contributors

Full Changelog: fastify/fastify-static@v9.3.0...v10.0.0

... (truncated)

Commits
  • 36c939d Bumped v10.1.0
  • 7c1121a feat: use @fastify/error for errors and add option suppressWarning (#599)
  • c57d8bc fix: set Vary: Accept-Encoding for preCompressed responses (#586)
  • babf6df Bumped v10.0.0
  • 08ed461 fix!: allow setHeaders to override send headers (#598)
  • 99f0193 fix: ignore unsupported deflate for precompressed assets (#596)
  • a6e5f4d chore!: bump content-disposition fom 1.0.1 to 2.0.1 (#597)
  • ad05a27 Bumped v9.3.0
  • 58811db chore: update fastify-plugin dependency to version 6.0.0 (#594)
  • a343813 Bumped v9.2.0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@fastify/static](https://github.com/fastify/fastify-static) from 9.1.3 to 10.1.0.
- [Release notes](https://github.com/fastify/fastify-static/releases)
- [Commits](fastify/fastify-static@v9.1.3...v10.1.0)

---
updated-dependencies:
- dependency-name: "@fastify/static"
  dependency-version: 10.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 19, 2026
@dependabot
dependabot Bot requested a review from niklam as a code owner July 19, 2026 02:59
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 19, 2026
@github-actions github-actions Bot added the type: chore Maintenance label Jul 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code type: chore Maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants