这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@danielgtaylor
Copy link
Owner

This is a major breaking change to Huma resulting in a v2 package version with a significantly changed API. I'll keep this brief as there are a ton of updates in the README and code comments; please see them for details.

TL;DR: this gives us bring-your-own-router, tons of extensibility (most v1 issues/PRs would not be necessary with v2), generics support for better compile-time checks & better Go handler functions, etc.

Some things have also been removed as they are better handled elsewhere: built-in middleware, built-in GraphQL support.

@danielgtaylor danielgtaylor merged commit 536a097 into main Aug 25, 2023
@danielgtaylor danielgtaylor deleted the v2 branch August 25, 2023 19:00
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.

2 participants