Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.

chore(deps): update dependency hono to ^3.4.3 #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 8, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
hono (source) ^3.3.4 -> ^3.4.3 age adoption passing confidence

Release Notes

honojs/hono (hono)

v3.4.3

Compare Source

What's Changed

Full Changelog: honojs/hono@v3.4.2...v3.4.3

v3.4.2

Compare Source

What's Changed

New Contributors

Full Changelog: honojs/hono@v3.4.1...v3.4.2

v3.4.1

Compare Source

What's Changed

Full Changelog: honojs/hono@v3.4.0...v3.4.1

v3.4.0

Compare Source

v3.4.0 is out now! This release includes two significant new features.

Netlify Adapter

We're introducing the Netlify Adapter! With this adapter, you can run your Hono application on Netlify Edge Functions.

import { Hono } from 'https://deno.land/x/[email protected]/mod.ts'
import { prettyJSON } from 'https://deno.land/x/[email protected]/middleware.ts'
import { handle, type Env } from 'https://deno.land/x/[email protected]/adapter/netlify/mod.ts'

const app = new Hono<Env>()

app.get('/', prettyJSON(), (c) =>
  c.json({
    'You are in': c.env.context.geo.country?.name
  })
)

export default handle(app)

You can try it with the create-hono command:

npm create hono@latest my-app

Additionally, we now have 12 starter templates, ensuring that Hono runs on various platforms.

  1. aws-lambda
  2. bun
  3. cloudflare-pages
  4. cloudflare-workers
  5. deno
  6. fastly
  7. lagon
  8. lambda-edge
  9. netlify
  10. nextjs
  11. nodejs
  12. vercel

Hono really runs on every platforms.

Cookie Middleware supports Signed Cookies

Cookie Middleware now supports signed cookies. You can use getSignedCookie() and setSignedCookie() helper functions.

app.get('/signed-cookie', async (c) => {
  const secret = 'secret ingredient'
  const allSignedCookies = await getSignedCookie(c, secret)
  const fortuneCookie = await getSignedCookie(c, secret, 'fortune_cookie')
  // ...
  const anotherSecret = 'secret chocolate chips'
  await setSignedCookie(c, 'great_cookie', 'blueberry', anotherSecret)
  deleteCookie(c, 'great_cookie')
  //
})

Special thanks to @​torte for this feature!

All Updates

New Contributors

Full Changelog: honojs/hono@v3.3.4...v3.4.0


Configuration

📅 Schedule: Branch creation - "after 09:00 every weekday,before 23:00 every weekday,every weekday" in timezone Asia/Tokyo, 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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title chore(deps): update dependency hono to ^3.4.1 chore(deps): update dependency hono to ^3.4.3 Aug 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants