sor4chi / hono-do

A wrapper of Cloudflare Workers's Durable Object for Hono.
https://www.npmjs.com/package/hono-do
MIT License
73 stars 2 forks source link

Question: Is this project still maintained? #34

Closed NachoVazquez closed 2 months ago

NachoVazquez commented 2 months ago

Hi @sor4chi! Thanks for creating this package. It is exciting.

I notice that it hasn't been maintained in some time. Are you still planning on keeping it?

I intend to help you maintain it; I guess my question is if you are interested in active work on it or if I should focus on my fork.

Best regard!

sor4chi commented 2 months ago

Hi, @NachoVazquez ! Thanks for the very nice issue.

I am not sure if I want to maintain it. I think it's technically interesting, but it doesn't seem to be used much. If I had feedback I could proceed with development...

By the way, did you know that Cloudflare Workers RPC is out? The purpose of Hono DO was to make it easier to handle the difficult syntax unique to Durable Objects using Hono, but now that RPC is available and DO methods can be invoked type-safe, I think the benefits of using Hono DO are disappearing.

NachoVazquez commented 2 months ago

I just read about Cloudflare Workers RPC after you mentioned it. It's fascinating indeed; however, my primary use case is Websockets with Hibernation, for which RPC is not a big help unless I'm ignoring something.

I tried your project for that purpose, and it works great. I worry you are using some old versions of Hono and Wrangler, so if that's an easy update from your side, I will be grateful; if you cannot, I will try to do it myself.

I will also offer you a symbolic sponsor if you decide to continue maintaining the project, at least keeping its dependencies current.

Thanks again!

NachoVazquez commented 2 months ago

I was able to use parts of your examples to make DO with Hibernation Websocket work without hono-do so that was already a big help from your side!

sor4chi commented 2 months ago

Thank you very much. I just set up a Dependsbot to follow Hono's release. I am planning to update dependencies on a weekly basis for now.

For now, I have raised the Hono dependency to 4.2.7 (latest) on a trial basis.

This is a sudden version update, so please give us time to verify it before releasing it.

But I have released it with next tag, so you can use it if you like. hono-do@0.0.0-next-20240424181558

NachoVazquez commented 2 months ago

Wonderful! I appreciate you! Thanks!

sor4chi commented 2 months ago

You're welcome. Thank you for sponsoring me!

sor4chi commented 2 months ago

Hi @NachoVazquez! I've released hono-do@2.0.0! Please check it out!

NachoVazquez commented 2 months ago

Amazing! Thanks @sor4chi . I'll check it out in the morning