Skip to content

v0.16.1: Composable Options everywhere!

Compare
Choose a tag to compare
@EwenQuim EwenQuim released this 06 Dec 19:05
· 89 commits to main since this release

Thanks to all the contributors for this release! 🙏🏼 It happens only a month after the previous one, we'll try to keep up with this rythm, with more frequent and smaller updates -except this one which is a big one anyway!

Main features 🔥

Composable options everywhere - not only on Routes but also on Server and on Groups. Don't forget that you can always create you own reusable & composable options with the latest v0.15.0 release, you're never stuck with Fuego!

Security Schemes declared on Server and available on a per-route option, with start-time checks, tahnk you @simonemastella for this one!

BREAKING: if you use a custom error that doesn't implement the ErrorWithStatus interface, you will not use RFC 9457, but your custom error types. We still recommend using RFC 9457 and if you're using fuego-provided errors or the ErrorWithStatus interface, nothing has changed for you. Thanks @dylanhitt for this one!

What's Changed

  • chore: change files names to validate_params to follow repo structure by @dylanhitt in #246
  • Adds Path parameter declaration with start-time safety checks by @EwenQuim in #250
  • Declare custom 200 response by @EwenQuim in #251
  • Example: generate an image with custom title for Opengraph (demo of custom response + path param) by @EwenQuim in #252
  • BREAKING: only respond with HTTPError on proper type match by @dylanhitt in #234
  • added securityScheme by @simonemastella in #226
  • Remove deprecated params by @EwenQuim in #254
  • Refactor route option inheritance by @EwenQuim in #255

New Contributors

Full Changelog: v0.15.1...v0.16.1