fastify / benchmarks

Fast and low overhead web framework fastify benchmarks.
https://github.com/fastify/fastify
MIT License
598 stars 231 forks source link

chore(deps): bump hono from 3.12.12 to 4.0.1 #330

Closed dependabot[bot] closed 9 months ago

dependabot[bot] commented 9 months ago

Bumps hono from 3.12.12 to 4.0.1.

Release notes

Sourced from hono's releases.

v4.0.1

What's Changed

Full Changelog: https://github.com/honojs/hono/compare/v4.0.0...v4.0.1

v4.0.0

Going to full-stack.

Hono v4.0.0 is out! This major update includes some breaking changes and the addition of three major features.

  1. Static Site Generation
  2. Client Components
  3. File-based Routing

So Hono is going to full-stack. Let's take a look at the three features.

1. Static Site Generation

We introduce SSG Helper. With it you can generate static pages of your Hono applications.

To use this, create a separate file build.ts from the application and call the toSSG() function in it.

import fs from 'node:fs/promises'
import { toSSG } from 'hono/ssg'
import app from './src/index'

toSSG(app, fs)

There are adapters for Bun and Deno, so you can write shorter for Bun, for example.

import { toSSG } from 'hono/bun'
import app from './src/index'

toSSG(app)

And, just run it.

bun ./build.ts

Then HTML is generated.

... (truncated)

Commits
  • 253c645 v4.0.1
  • 1ce18c2 feat(sse): Allow sending retry for SSE connection (#2188)
  • cceee36 refactor(ssg): create request from saved requestInit in order to avoid memory...
  • c62556a fix(context): remove duplicate definition of render method (#2191)
  • ca6f365 v4.0.0
  • 2c44ad7 Merge pull request #2167 from honojs/v4
  • 88a82ba perf(mime): make getExtension() fast (#2168)
  • 7072927 docs: update the migration guide for releasing v4 (#2159)
  • 651c497 Merge branch 'main' into v4
  • 34615ab feat(jsx): add event attributes types (#2165)
  • 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show 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)