-
Notifications
You must be signed in to change notification settings - Fork 30
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
fix(deps): update dependency hono to v3 - autoclosed #161
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: hono/package-lock.json
|
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
2 times, most recently
from
February 25, 2023 07:52
5eaf0f6
to
a52ce31
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
from
March 2, 2023 14:57
a52ce31
to
4dfb7d9
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
4 times, most recently
from
March 19, 2023 09:37
220f1de
to
7b82b30
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
2 times, most recently
from
March 26, 2023 13:42
801c29f
to
da4c130
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
2 times, most recently
from
March 31, 2023 09:57
bebab7c
to
9175d01
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
from
April 17, 2023 00:20
9175d01
to
a99777c
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
2 times, most recently
from
May 2, 2023 08:15
4876bd2
to
1c629d3
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
3 times, most recently
from
May 24, 2023 11:22
66b8f95
to
de4a2d4
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
from
May 28, 2023 00:14
de4a2d4
to
6680374
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
2 times, most recently
from
June 7, 2023 15:08
e80be11
to
24608ab
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
2 times, most recently
from
June 29, 2023 13:43
d0083e2
to
aeb2ae7
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
2 times, most recently
from
July 16, 2023 06:53
af55296
to
e263416
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
3 times, most recently
from
July 27, 2023 03:30
7810be8
to
2b98217
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
2 times, most recently
from
August 8, 2023 04:51
a468e83
to
8c3b2ea
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
5 times, most recently
from
December 9, 2023 09:41
37190be
to
71f5fe3
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
4 times, most recently
from
December 16, 2023 22:46
4905dde
to
92543f6
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
3 times, most recently
from
December 26, 2023 21:59
be482b3
to
5e435da
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
2 times, most recently
from
January 4, 2024 16:43
36ac37a
to
1e1c88a
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
5 times, most recently
from
January 16, 2024 06:01
b852e8b
to
85625a1
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
2 times, most recently
from
January 25, 2024 03:52
11b941f
to
9ef453a
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
3 times, most recently
from
February 2, 2024 13:55
22a43bf
to
531d0eb
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
from
February 5, 2024 16:03
531d0eb
to
fd6ffc8
Compare
renovate
bot
force-pushed
the
renovate/hono-3.x
branch
from
February 7, 2024 19:21
fd6ffc8
to
fddf21e
Compare
renovate
bot
changed the title
fix(deps): update dependency hono to v3
fix(deps): update dependency hono to v3 - autoclosed
Feb 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.7.8
->3.12.12
Release Notes
honojs/hono (hono)
v3.12.12
Compare Source
What's Changed
MergeSchemaPath
infer inputs not only params by @yusukebe in https://github.com/honojs/hono/pull/2154Full Changelog: honojs/hono@v3.12.11...v3.12.12
v3.12.11
Compare Source
What's Changed
hono/html
by @javascripter in https://github.com/honojs/hono/pull/2143MergeSchemePath
infers param types correctly by @yusukebe in https://github.com/honojs/hono/pull/2152New Contributors
Full Changelog: honojs/hono@v3.12.10...v3.12.11
v3.12.10
Compare Source
What's Changed
Full Changelog: honojs/hono@v3.12.9...v3.12.10
v3.12.9
Compare Source
What's Changed
curly
rule asall
by @yusukebe in https://github.com/honojs/hono/pull/2112New Contributors
Full Changelog: honojs/hono@v3.12.8...v3.12.9
v3.12.8
Compare Source
What's Changed
createMiddleware()
by @yusukebe in https://github.com/honojs/hono/pull/2081Full Changelog: honojs/hono@v3.12.7...v3.12.8
v3.12.7
Compare Source
What's Changed
NO_COLOR
by @ryuapp in https://github.com/honojs/hono/pull/2007env
command by @ryuapp in https://github.com/honojs/hono/pull/2062Full Changelog: honojs/hono@v3.12.6...v3.12.7
v3.12.6
Compare Source
What's Changed
c.json({}, requestInit)
problem by @yusukebe in https://github.com/honojs/hono/pull/2025New Contributors
Full Changelog: honojs/hono@v3.12.5...v3.12.6
v3.12.5
Compare Source
What's Changed
Full Changelog: honojs/hono@v3.12.4...v3.12.5
v3.12.4
Compare Source
What's Changed
Full Changelog: honojs/hono@v3.12.3...v3.12.4
v3.12.3
Compare Source
What's Changed
set res
by @yusukebe in https://github.com/honojs/hono/pull/1947ClientResponse
andClientRequest
by @yusukebe in https://github.com/honojs/hono/pull/1952New Contributors
Full Changelog: honojs/hono@v3.12.2...v3.12.3
v3.12.2
Compare Source
What's Changed
adapter/netlify/index.ts
by @yusukebe in https://github.com/honojs/hono/pull/1932./netlify
by @charkour in https://github.com/honojs/hono/pull/1930deno_dist/adapter/netlify
by @charkour in https://github.com/honojs/hono/pull/1931New Contributors
Full Changelog: honojs/hono@v3.12.1...v3.12.2
v3.12.1
Compare Source
What's Changed
c.req.valid()
by @yusukebe in https://github.com/honojs/hono/pull/1914onAbort
correctly by @sor4chi in https://github.com/honojs/hono/pull/1920New Contributors
Full Changelog: honojs/hono@v3.12.0...v3.12.1
v3.12.0
Compare Source
Hono v3.12.0 is now available! Let's take a look at the new features.
CSRF Protection Middleware
This release introduces CSRF Protection Middleware. It is easy to use and can prevent CSRF attacks by simply writing like the following:
CSRF Protection Middleware compares the
Origin
header value with the request URL. This is the same method used by SvelteKit and is valid in many situations except when using older browsers.Thanks to @usualoma! And, the original idea for CSRF Protection was suggested by @htunnicliff. Thanks!
css Helper
We created a built-in CSS in JS(X). It's "hono/css".
The css helper can be used with JSX. You can write the CSS in a css template literal tag and specify the returned value as the
class
value and it will be applied to that element.If you use VS Code, you can use vscode-styled-components for Syntax highlighting and IntelliSense for css tagged literals.
By combining
keyframes
and JSX rendering, you can create a like button without JavaScript!Also, you can use a CSS-generating design tool such as Figma to create components even if you are not a CSS guru.
You can use other CSS in JS libraries in Hono, such as Panda CSS. However, hono/css can be used by simply importing the
hono
package, and Async components and Suspense are also supported.Thanks to @usualoma!
stream.onAbort()
c.stream()
is now deprecated and you should usestream()
in Streaming Helper. And,stream.abort()
has been added.Thanks to @sor4chi!
onNotFound
option for serveStaticCloudflare Workers, Deno, and Bun
serveStatic
now have anonNotFound
option. You can write a handle when a file is not found.Thanks to @Th1nkK1D!
colorize
option forshowRoutes()
The
colorize
option has been added to theshowRoutes
function inhono/dev
. If you set this value tofalse
, the output will not be colored, which can be used when you want to log output, etc.Other new features
getRouterName()
$url()
All Updates
c.stream*
to helper by @sor4chi in https://github.com/honojs/hono/pull/1846getRouterName()
by @yusukebe in https://github.com/honojs/hono/pull/1841onNotFound
handler in adapters'serveStatic
by @Th1nkK1D in https://github.com/honojs/hono/pull/1825colorize
option forshowRoutes()
by @yusukebe in https://github.com/honojs/hono/pull/1886param
option to$url()
by @yusukebe in https://github.com/honojs/hono/pull/1885New Contributors
Full Changelog: honojs/hono@v3.11.12...v3.12.0
v3.11.12
Compare Source
What's Changed
JSONParsed
supports interface andDate
etc. by @yusukebe in https://github.com/honojs/hono/pull/1853Full Changelog: honojs/hono@v3.11.11...v3.11.12
v3.11.11
Compare Source
What's Changed
ClientResponse
by @yusukebe in https://github.com/honojs/hono/pull/1861req.queries()
receives unexpected values by @yusukebe in https://github.com/honojs/hono/pull/1862Full Changelog: honojs/hono@v3.11.10...v3.11.11
v3.11.10
Compare Source
What's Changed
Full Changelog: honojs/hono@v3.11.9...v3.11.10
v3.11.9
Compare Source
What's Changed
ts-jest
by @yusukebe in https://github.com/honojs/hono/pull/18291.0.18
by @yusukebe in https://github.com/honojs/hono/pull/1832onError
andnotFound
as class field by @yusukebe in https://github.com/honojs/hono/pull/1839New Contributors
Full Changelog: honojs/hono@v3.11.8...v3.11.9
v3.11.8
Compare Source
What's Changed
devDependencies
by @yusukebe in https://github.com/honojs/hono/pull/1820tsconfig.json
): usevitest/globals
for types by @yusukebe in https://github.com/honojs/hono/pull/1819Full Changelog: honojs/hono@v3.11.7...v3.11.8
v3.11.7
Compare Source
Security Update
This release includes a security patch that fixes the vulnerability in TrieRouter.
If you are using the default preset or
hono/quick
, or specifying the router asTrieRouter
, you must upgrade to this version3.11.7
immediately.How to upgrade
For Deno
Just increment the version specifier to
v3.11.7
.For Node.js
Upgrade the
hono
package via npm:You may not update the
hono
package withnpm update
, so please usenpm install
.The vulnerability detail
The clients may override named path parameter values from previous requests if the application is using TrieRouter. So, there is a risk that a privileged user may use unintended parameters when deleting REST API resources.
TrieRouter is used either explicitly or when the application matches a pattern that is not supported by the default RegExpRouter.
The advisory: GHSA-f6gv-hh8j-q8vq
Our Approach to Security
If you discover such a vulnerability, please contact us immediately. We will respond immediately; we have enabled GitHub's private vulnerability reporting feature, so please use that.
https://github.com/honojs/hono/security/advisories
Thanks.
Full Changelog: honojs/hono@v3.11.6...v3.11.7
v3.11.6
Compare Source
What's Changed
status
correctly by @yusukebe in https://github.com/honojs/hono/pull/1814Full Changelog: honojs/hono@v3.11.5...v3.11.6
v3.11.5
Compare Source
What's Changed
hono/tiny
size by @ryuapp in https://github.com/honojs/hono/pull/1809c.json()
allows object and returns JSONParsed by @yusukebe in https://github.com/honojs/hono/pull/1806New Contributors
Full Changelog: honojs/hono@v3.11.4...v3.11.5
v3.11.4
Compare Source
What's Changed
c.json()
supportsundefined
/null
response by @yusukebe in https://github.com/honojs/hono/pull/1794Full Changelog: honojs/hono@v3.11.3...v3.11.4
v3.11.3
Compare Source
What's Changed
private _basePath
instead of#basePath
by @yusukebe in https://github.com/honojs/hono/pull/1785ClientResponse.json()
returns Union correctly by @yusukebe in https://github.com/honojs/hono/pull/1786New Contributors
Full Changelog: honojs/hono@v3.11.2...v3.11.3
v3.11.2
Compare Source
What's Changed
E
env type argument toshowRoutes
&inspectRoutes
hono
parameter by @NuroDev in https://github.com/honojs/hono/pull/1778New Contributors
Full Changelog: honojs/hono@v3.11.1...v3.11.2
v3.11.1
Compare Source
What's Changed
c.json()
by @yusukebe in https://github.com/honojs/hono/pull/1776Full Changelog: honojs/hono@v3.11.0...v3.11.1
v3.11.0
Compare Source
Hono v3.11.0 is now available! Let's take a look at the new features.
ErrorBoundary
This release introduces the new JSX component
ErrorBoundary
. It allows you to catch errors in child components.For instance, in the example below, it will display the content specified in
fallback
if an error occurs.ErrorBoundary
can be used with asynchronous components andSuspense
as well.Thanks to @usualoma!
createFactory()
andcreateHandlers()
The Factory helper now provides
createFactory()
, which creates an instance of the Factory class.createHandlers()
in a Factory class instance assists in defining handlers.Dev Helper
Dev Helper is now available.
Instead of using
app.showRoutes()
, theshowRoutes()
function exported fromhono/dev
will display the registered routes in your console.Consider an application like the following:
When this application starts, the routes will be displayed in your console as follows:
Thanks to @usualoma!
app.showRoutes
has been deprecated.c.json()
supports RPCc.json()
now supports RPC, meaning you no longer need to usec.jsonT()
for RPC-mode.c.jsonT()
has been deprecated.Thanks to @usualoma!
c.req.routePath
You can retrieve the registered path within the handler as shown below:
If you access
/posts/123
, it will return/posts/:id
:Thanks to @usualoma!
Other new features
All Updates
ErrorBoundary
component by @usualoma in https://github.com/honojs/hono/pull/1714createFactory()
andcreateHandlers()
by @yusukebe in https://github.com/honojs/hono/pull/1743experimental
fromc.render
/c.setRenderer()
by @yusukebe in https://github.com/honojs/hono/pull/1748bearerAuth
to accept a list of token strings by @mstibbard in https://github.com/honojs/hono/pull/1749inspectRoutes()
andshowRoutes()
by @usualoma in https://github.com/honojs/hono/pull/1716Env
types with changed routes by @yusukebe in https://github.com/honojs/hono/pull/1757MESSAGE_MATCHER_IS_ALREADY_BUILT
by @yusukebe in https://github.com/honojs/hono/pull/1763c.json()
have a type equivalent toc.jsonT()
by @usualoma in https://github.com/honojs/hono/pull/1728matchedRoutes
androutePath
forHonoRequest
by @usualoma in https://github.com/honojs/hono/pull/1744ErrorBoundary
asexperimental
by @yusukebe in https://github.com/honojs/hono/pull/1771createHandlers
by @yusukebe in https://github.com/honojs/hono/pull/1772#
for private properties by @yusukebe in https://github.com/honojs/hono/pull/1762New Contributors
Full Changelog: honojs/hono@v3.10.5...v3.11.0
v3.10.5
Compare Source
What's Changed
Full Changelog: honojs/hono@v3.10.4...v3.10.5
v3.10.4
Compare Source
What's Changed
content-type
withc.text()
correctly by @yusukebe in https://github.com/honojs/hono/pull/1761Full Changelog: honojs/hono@v3.10.3...v3.10.4
v3.10.3
Compare Source
What's Changed
jest.config.js
by @yusukebe in https://github.com/honojs/hono/pull/1731Path=/
forsetCookie()
/setSignedCookie()
by @yusukebe in https://github.com/honojs/hono/pull/1742New Contributors
Full Changelog: honojs/hono@v3.10.2...v3.10.3
v3.10.2
Compare Source
What's Changed
compute@edge
tocompute
by @yusukebe in https://github.com/honojs/hono/pull/1708onError()
handler to be async by @yusukebe in https://github.com/honojs/hono/pull/1730New Contributors
Full Changelog: honojs/hono@v3.10.1...v3.10.2
v3.10.1
Compare Source
What's Changed
c.text()
set the status set byc.status()
by @yusukebe in https://github.com/honojs/hono/pull/1702Full Changelog: honojs/hono@v3.10.0...v3.10.1
v3.10.0
Compare Source
Hono v3.10.0 is now available! Let's explore the new features.
Support for Async Components in JSX
Hono's JSX now supports Async Components. You can use
async
/await
in your components.Thanks, @usualoma!
Introduction of
Suspense
andrenderToReadableStream()
With the Async Component, as shown above, it will await until
fetch
is completed. But now, if you want to render HTML before that, you can useSuspense
.When you use
Suspense
withrenderToReadableStream()
, it initially renders the content infallback
. After the Promise in Suspense is resolved, the real content is rendered.If you make
Component
sleep for 2 seconds, the result will be as follows:Area.mp4
Thanks, @usualoma!
JSX Renderer Middleware Now Supports
stream
The JSX Renderer Middleware now supports
stream
, allowing you to useSuspense
with it. You can return streaming responses withoutrenderToReadableStream()
and without writing header values such asTransfer-Encoding: chunked
.Thanks, @usualoma!
AWS Lambda Adapter Now Supports Streaming Response
The
streamHandle
is now available in the AWS Lambda adapter. With this, AWS Lambda can handle streaming responses.Thanks, @watany-dev!
Support
@jsx precompile
for DenoNow, Hono's JSX supports the
precompile
feature for Deno. To enable it, write deno.json as follows.Thanks, @usualoma!
Ecosystem
The ecosystem is evolving. Today, we introduce one framework using Hono.
All Updates
Suspense
anduse
. by @usualoma in https://github.com/honojs/hono/pull/1630@experimental
fromcreateMiddleware()
by @yusukebe in https://github.com/honojs/hono/pull/1653Compute@Edge
toCompute
by @yusukebe in https://github.com/honojs/hono/pull/1664experimental
flag fromapp.mount()
by @yusukebe in https://github.com/honojs/hono/pull/1669ContextVariableMap
forc.var
by @yusukebe in https://github.com/honojs/hono/pull/1682console.error()
for defaulterrorHandler
by @yusukebe in https://github.com/honojs/hono/pull/1687New Contributors
Full Changelog: honojs/hono@v3.9.2...v3.10.0
v3.9.2
Compare Source
Security Update for Windows
This release includes a security patch that fixes the vulnerability for
serveStatic
on Windows OS. If you run a Hono app on Windows with Deno or Node.js, you must upgrade to this version3.9.2
immediately.Note: You don't need upgrade it right now if you run it on Cloudflare, Deno on Linux/Unix/macOS, Deno Deploy, Bun, or Node.js on Linux/Unix/macOS.
How to upgrade
For Deno
Just increment the version specifier to
v3.9.2
.For Node.js
Upgrade the
hono
package via npm:You may not update the
hono
package withnpm update
, so please usenpm install
.Our Approach to Security
If you discover such a vulnerability, please contact us immediately. We will respond immediately; we have enabled GitHub's private vulnerability reporting feature, so please use that.
https://github.com/honojs/hono/security/advisories
Thanks.
What's Changed
Full Changelog: honojs/hono@v3.9.1...v3.9.2
v3.9.1
Compare Source
What's Changed
package.json
): export types correctly by @yusukebe in https://github.com/honojs/hono/pull/1633Full Changelog: honojs/hono@v3.9.0...v3.9.1
v3.9.0
Compare Source
Release Notes
Hono v3.9.0 is out now! Let's take a look at what's new.
Improving the Developer Experience for JSX
Now we have the types for JSX.
Type definitions for JSX intrinsic elements are available. So, you can write your JSX with type annotation.
You can also override the definitions to add your custom elements and attributes.
Clerk Middleware
Now Clerk Middleware is available! You can use Clerk for authentication in your application.
Thanks @octoper!
New Starter Template for Cloudflare Pages
The Cloudflare Pages starter template is now Vite-based! You can develop truly full-stack applications quickly and fast thanks to Vite's HMR.
It uses Hono's original dev-server provided by @hono/vite-dev-server. And uses @hono/vite-cloudflare-pages for building the application. The config file is very neat.
You can use it with the
create hono
command:Ecosystem
The ecosystem has evolved. We introduce two products for Hono and one framework using Hono. Try them!
All Updates
runtime
option toenv
by @yusukebe in https://github.com/honojs/hono/pull/1622docType
option by @yusukebe in https://github.com/honojs/hono/pull/1621v3.8.4
Compare Source
What's Changed
New Contributors
Full Changelog: honojs/hono@v3.8.3...v3.8.4
[`v3.