Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump hono from 3.2.7 to 3.3.0 #133

Merged
merged 1 commit into from
Jul 16, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 11, 2023

Bumps hono from 3.2.7 to 3.3.0.

Release notes

Sourced from hono's releases.

v3.3.0 is now available. This release includes two new features. Let's explore them.

Server-Timing Middleware

Performance measurement is important. We're introducing the Server-Timing Middleware. This middleware allows you to measure the performance of processes in handlers using the Server-Timing API.

import { Hono } from 'hono'
import { endTime, setMetric, startTime, timing } from 'hono/timing'
const app = new Hono()
app.use('*', timing())
app.get('/', async (c) => {
// add custom metrics
setMetric(c, 'region', 'europe-west3')
// add custom metrics with timing, must be in milliseconds
setMetric(c, 'custom', 23.8, 'My custom Metric')
// start a new timer
startTime(c, 'db')
const data = ['foo'] // DB process
endTime(c, 'db')
return c.json({ response: data })
})
export default app

You can view the results in tools like Chrome DevTools.

SS

Thanks to @​PassiDel for contributing!

Lambda@Edge Adapter (Experimental)

We already have an AWS Lambda adapter, but it did not support Lambda@Edge. Now, the Lambda@Edge Adapter is available, although it's experimental. It's easy to use.

import { Hono } from 'hono'
import { handle } from 'hono/lambda-edge'
const app = new Hono()
app.get('/', (c) => c.text('Hello Hono!'))
</tr></table>

... (truncated)

Commits

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 dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 11, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/hono-3.3.0 branch from 4939f69 to dfda792 Compare July 11, 2023 20:57
Bumps [hono](https://github.com/honojs/hono) from 3.2.7 to 3.3.0.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v3.2.7...v3.3.0)

---
updated-dependencies:
- dependency-name: hono
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/hono-3.3.0 branch from dfda792 to b4deb98 Compare July 13, 2023 20:28
@chick-p chick-p merged commit 980bc6d into main Jul 16, 2023
@chick-p chick-p deleted the dependabot/npm_and_yarn/hono-3.3.0 branch July 16, 2023 01:28
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant