Multi-runtime CI Support
202311݄ݱࡏɺMainͷଞʹ7ͭͷϥΠϯλΠϜͷςετ͕Δ
Slide 15
Slide 15 text
v3.1.0 - 2023/03/17
• Improve RPC-mode
• `env` for getting environment variables for multi-runtimes
• AWS Lambda Adapter
• basePath()
• c.req.path
• Allow passing RequestInit to c.json() etc.
Slide 16
Slide 16 text
`env` for getting environment variables for multi-runtimes
• ϥϯλΠϜʹґଘͤͣಁաతʹڥมΛऔಘ͢ΔͨΊͷ`env()`
Slide 17
Slide 17 text
AWS Lambda Adapter
• AWS LambdaʹରԠ
Slide 18
Slide 18 text
v3.2.0 - 2023/05/19
• New Routers
• Presets: `hono/tiny`, `hono/quick`
• app.mount()
• Node.js adapter server v1.0.0 has been released
• Support for routing includes a hostname
v3.6.0 - 2023/09/11
• Introduce `c.render()`
• Introduce `c.var`
• `FC` for JSX
• `$url()` in Hono Client
• Vite dev-server for Hono
• Deprecate some properties in HonoRequest
• Replaced Jest with Vitest
Slide 44
Slide 44 text
Introduce `c.render()`
• HTMLͷϨΠΞτΛ؆୯ʹͭͬͯ͘దԠ͘͢͠
Middleware
Handler
Result
Slide 45
Slide 45 text
Vite dev-server for Hono
• `@hono/vite-dev-server`
• Viteͷಠࣗdev serverΛఏڙ͢ΔVite plugin
• Viteܦ༝Ͱ`fetch`ΞϓϦΛ։ൃͰ͖Δ
• ࠶ىಈɺϦϩʔυ͕͍
• ϑϩϯτରԠ
• Cloud
fl
areͷBindingsαϙʔτ͍ͯ͠Δ