Skip to content

v0.18.0: Echo+Gin compatibility and many more

Latest
Compare
Choose a tag to compare
@EwenQuim EwenQuim released this 05 Feb 10:22
· 13 commits to main since this release

Highlights 🔥

A lot of work has been done in this January. We now support Gin and Echo! A demo video is incoming, but you can easily plug and play Fuego with your existing app. Examples are ready (gin, echo) and the documentation is available. As opposed to Huma, Fuego support Gin & Echo route Grouping ! The only limitation is that fuego does not handle pure Gin/Echo middlewares, but that's a work in progress. Thanks @genslein for the Echo support.

  • We added support for generic return type.
  • We support tags in nested structs, thank you @dylanhitt for this one.
  • Global Middlewares, applicable even on non-matching routes (useful for CORS OPTIONS routes), are replacing the unique Cors Middleware we had.
  • We now provide a framework-agnostic mock context for testing your business logic instead of HTTP bindings, by @olisaagbafor.

Thank you everyone for contributing ! 🎉

Special thanks to @dylanhitt and @ccoVeille for their dedication and proofreading a lot of PRs this month! ❤️

What's coming up for v0.19 👀

We're preparing strongly typed params support! We'll be waiting for go1.24 to be release and get widely adopted because we'll need generic type aliases.

See the milestone for more details.

What's Changed

New Contributors

Full Changelog: v0.17.0...v0.18.0