question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Roadmap to v2.0.0

See original GitHub issue

Now, Hono has become a great framework. It has much built-in middleware, fine DX, flexible routings, and high-performance routers. Then, the basic API design is fixed. But I think we have a lot of things to do with Hono yet.

We can support Deno and Bun. It’s still just experimental. We can make it complete.

How about making third-party middleware. The coupling of firebase-auth-cloudflare-workers seems good. Organizing current middleware, I’m planning separate the middleware that does not depend on other libraries and middleware that depends on other libraries such as graphql-server or mustache. To make it clean, how about making the github.com/honojs/graphql-server repository, and moving current code into that. Additionally, how about using @honojs/graphql-server namespace in the npm repository. I’ve already got the honojs org in npm repo.

And, I want to make validator middleware. That is what I want.

In this way, we have many things to do. So, I decided to implement almost things and release them as v2.0.0. Is it good? Listed what I want to do roughly below. If you have a feature request. Please write it in the comments.


  • Support Deno #351
  • Test well on Deno #351
  • CI for Deno #364
  • Support Bun #344
  • serve-static middleware for Bun
  • Test on Bun
  • Make repository for middleware using third party libraries #350
  • Move the middleware using third party libs in current repository to new repository later #350
  • Use honojs org on npm repository later #350
  • Make @honojs/xxx namespace later #350
  • github.com/honojs/xxx repository later #350
  • Make validator middleware as builtin later
  • firebase-auth middleware as third party later
  • prometheus middleware as third party later #263
  • Remove graphql-server middleware from this repo #357
  • Remove mustache middleware from this repo #354
  • Access privileges for github repo later
  • Access privileges for npm repos later
  • Make body-parse into Context? #362
  • Make cookie into Request/Reponse #353
  • Integrate app.fetch and app.request?
  • New middleware structure #350
  • Documenation
  • Website
  • Migration guide
  • And, others

By the way, we don’t have to implement all things.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:5
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
yusukebecommented, Jul 8, 2022

Hi @Code-Hex !

I think this is an good example to manage way some middlewares to npm registry.

Thanks for sharing!

@Code-Hex @metrue, I’ve written my thought about the middleware structure: #350 Check it out.

2reactions
yusukebecommented, Jul 8, 2022

Hi @metrue !

Are you talking about the graphql schema validation?

No, I want to validate Request body or query parameters. For example, “express-validator” is similar to what I want to do. https://express-validator.github.io/docs/

Like “express-validator”, user can use validator.js. I think it’s OK to use this library if user wants to validate it perfectly. But, I want to have more tiny validator for casual use. It will be built-in middleware.

Although, I don’t have a plan for validation syntax, API design, and, interface. We’ll consider how we make it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Roadmap to v2.0, v3.0, v4.0
Migration of Python script functionality to a Python module named oxli . As the code moves over there will be no change to...
Read more >
Roadmap — Data Stewardship Wizard 2.0.0 documentation
Released¶ ; 2.0.0¶. End of development: 14 January 2020. Release: 14 January 2020 ; 1.10.1¶. End of development: 18 September 2019. Release: 18...
Read more >
Roadmap for v2.0.0.alpha1 - Proposal - Hanami
Here's the complete list of features for this release: CLI as it is; New version of hanami-router and hanami-controller (no views, assets, ...
Read more >
Glitch Roadmap Release v2.0 - Medium
Glitch Roadmap Release v2.0. A deeper look at what we have in store for the remainder of 2021 and beyond. The dawn of...
Read more >
Roadmap Update v2.0 | Neverwinter News - YouTube
Quick recap on the update to the Neverwinter 2020 Roadmap. Roadmap Stream Update: https://www.twitch.tv/crypticstudios/video/604332629Rage of ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found