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

⬆️ Update dependency hono to v4.6.5 - autoclosed #55

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 3, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
hono (source) 4.5.8 -> 4.6.5 age adoption passing confidence

Release Notes

honojs/hono (hono)

v4.6.5

Compare Source

Security fix for CSRF Protection Middleware

This release includes a security fix for CSRF Protection Middleware. If you are using CSRF Protection Middleware, please upgrade this hono package immediately.

Before this release, a request without a Content-Type header can bypass the protection. This fix does not allow it. See: GHSA-2234-fmw7-43wr

What's Changed

New Contributors

Full Changelog: honojs/hono@v4.6.4...v4.6.5

v4.6.4

Compare Source

What's Changed

New Contributors

Full Changelog: honojs/hono@v4.6.3...v4.6.4

v4.6.3

Compare Source

This release has many new features, but each feature is small, so we've released it as a patch release.

What's Changed

New Contributors

Full Changelog: honojs/hono@v4.6.2...v4.6.3

v4.6.2

Compare Source

What's Changed

Full Changelog: honojs/hono@v4.6.1...v4.6.2

v4.6.1

Compare Source

What's Changed

New Contributors

Full Changelog: honojs/hono@v4.6.0...v4.6.1

v4.6.0

Compare Source

Hono v4.6.0 is now available!

One of the highlights of this release is the Context Storage Middleware. Let's introduce it.

Context Storage Middleware

Many users may have been waiting for this feature. The Context Storage Middleware uses AsyncLocalStorage to allow handling of the current Context object even outside of handlers.

For example, let’s define a Hono app with a variable message: string.

type Env = {
  Variables: {
    message: string
  }
}

const app = new Hono<Env>()

To enable Context Storage Middleware, register contextStorage() as middleware at the top and set the message value.

import { contextStorage } from 'hono/context-storage'

//...

app.use(contextStorage())

app.use(async (c, next) => {
  c.set('message', 'Hello!')
  await next()
})

getContext() returns the current Context object, allowing you to get the value of the message variable outside the handler.

import { getContext } from 'hono/context-storage'

app.get('/', (c) => {
  return c.text(getMessage())
})

// Access the variable outside the handler.
const getMessage = () => {
  return getContext<Env>().var.message
}

In the case of Cloudflare Workers, you can also access the Bindings outside the handler by using this middleware.

type Env = {
  Bindings: {
    KV: KVNamespace
  }
}

const app = new Hono<Env>()

app.use(contextStorage())

const setKV = (value: string) => {
  return getContext<Env>().env.KV.put('key', value)
}

Thanks @​marceloverdijk !

New features

Other changes

New Contributors

Full Changelog: honojs/hono@v4.5.11...v4.6.0

v4.5.11

Compare Source

What's Changed

New Contributors

Full Changelog: honojs/hono@v4.5.10...v4.5.11

v4.5.10

Compare Source

What's Changed

New Contributors

Full Changelog: honojs/hono@v4.5.9...v4.5.10

v4.5.9

Compare Source

What's Changed

Full Changelog: honojs/hono@v4.5.8...v4.5.9


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot assigned InkoHX Mar 3, 2024
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.0.9 ⬆️ Update dependency hono to v4.0.10 Mar 6, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch from edc31a1 to 8230dcd Compare March 6, 2024 00:34
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.0.10 ⬆️ Update dependency hono to v4.1.0 Mar 11, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch from 8230dcd to 40f62cb Compare March 11, 2024 17:50
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.1.0 ⬆️ Update dependency hono to v4.1.1 Mar 17, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch 2 times, most recently from ef19419 to 4af2e29 Compare March 18, 2024 21:37
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.1.1 ⬆️ Update dependency hono to v4.1.2 Mar 18, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch from 4af2e29 to 05e71ae Compare March 20, 2024 14:02
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.1.2 ⬆️ Update dependency hono to v4.1.3 Mar 20, 2024
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.1.3 ⬆️ Update dependency hono to v4.1.4 Mar 25, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch 2 times, most recently from 568bdbc to fd7d0ac Compare March 28, 2024 01:04
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.1.4 ⬆️ Update dependency hono to v4.1.5 Mar 28, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch from fd7d0ac to 586ccf9 Compare March 31, 2024 11:00
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.1.5 ⬆️ Update dependency hono to v4.1.7 Mar 31, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch from 586ccf9 to 8918a70 Compare April 2, 2024 13:49
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.1.7 ⬆️ Update dependency hono to v4.2.0 Apr 2, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch from 8918a70 to 0bae63d Compare April 3, 2024 07:52
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.2.0 ⬆️ Update dependency hono to v4.2.1 Apr 3, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch from 0bae63d to 76c935c Compare April 5, 2024 07:56
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.2.1 ⬆️ Update dependency hono to v4.2.2 Apr 5, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch from 76c935c to f4f1378 Compare April 9, 2024 11:32
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.2.2 ⬆️ Update dependency hono to v4.2.3 Apr 9, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch from f4f1378 to 6bee989 Compare April 13, 2024 17:37
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.2.3 ⬆️ Update dependency hono to v4.2.4 Apr 13, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch from 6bee989 to 88b900d Compare April 18, 2024 07:53
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.2.4 ⬆️ Update dependency hono to v4.2.5 Apr 18, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch from 88b900d to 5fd5c88 Compare April 22, 2024 00:34
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch from e33b946 to a460f83 Compare August 21, 2024 05:18
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.5.6 ⬆️ Update dependency hono to v4.5.7 Aug 21, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch from a460f83 to 453cfba Compare August 22, 2024 08:17
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.5.7 ⬆️ Update dependency hono to v4.5.8 Aug 22, 2024
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.5.8 ⬆️ Update dependency hono to v4.5.8 - autoclosed Aug 22, 2024
@renovate renovate bot closed this Aug 22, 2024
@renovate renovate bot deleted the renovate/hono-4.x-lockfile branch August 22, 2024 19:28
@renovate renovate bot restored the renovate/hono-4.x-lockfile branch August 26, 2024 13:24
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.5.8 - autoclosed ⬆️ Update dependency hono to v4.5.8 Aug 26, 2024
@renovate renovate bot reopened this Aug 26, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch from 453cfba to 37eb151 Compare August 26, 2024 13:25
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.5.8 ⬆️ Update dependency hono to v4.5.9 Aug 26, 2024
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.5.9 ⬆️ Update dependency hono to v4.5.10 Aug 31, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch 2 times, most recently from c9520b4 to 5c46475 Compare September 3, 2024 10:50
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.5.10 ⬆️ Update dependency hono to v4.5.11 Sep 3, 2024
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.5.11 ⬆️ Update dependency hono to v4.6.1 Sep 11, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch 2 times, most recently from f72aeb1 to b331cd7 Compare September 17, 2024 01:51
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.6.1 ⬆️ Update dependency hono to v4.6.2 Sep 17, 2024
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.6.2 ⬆️ Update dependency hono to v4.6.3 Sep 24, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch from b331cd7 to e364169 Compare September 24, 2024 08:31
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.6.3 ⬆️ Update dependency hono to v4.6.4 Oct 11, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch from e364169 to d554232 Compare October 11, 2024 09:06
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.6.4 ⬆️ Update dependency hono to v4.6.5 Oct 15, 2024
@renovate renovate bot force-pushed the renovate/hono-4.x-lockfile branch from d554232 to 365982c Compare October 15, 2024 09:02
@renovate renovate bot changed the title ⬆️ Update dependency hono to v4.6.5 ⬆️ Update dependency hono to v4.6.5 - autoclosed Oct 15, 2024
@renovate renovate bot closed this Oct 15, 2024
@renovate renovate bot deleted the renovate/hono-4.x-lockfile branch October 15, 2024 20:43
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.

1 participant