Skip to content

Releases: go-fuego/fuego

v0.15.0: Variadic options

21 Nov 12:44
Compare
Choose a tag to compare

Main feature : variadic options pattern 🔥

This pattern has been in test for the last months and is now confirmed. We fixed a lot of bugs, and it should be stable now. If not, don't hesitate to raise an issue!

The new syntax is described here : #174.

Thank you @rizerkrof @dylanhitt @ccoVeille @redecs for being regular contributors, and also thanks to the newcomers!

What's Changed

New Contributors

Full Changelog: v0.14.0...v0.15.0

v0.14.0: Going stronger ⚙️

23 Jul 07:48
Compare
Choose a tag to compare

v0.14 : Going stronger ⚙️

v0.14 was a lot of hard work for us maintainers, but a lot of new features are coming to Fuego. 🔥

Fuego's has been tested through an intensive test suite and also in prod last few months, with great success at my company! I think we can say we are production-ready.

I wanted to thank the maintainers team for everything, thank you all!

image

Feature highlights

  • OpenAPI generation is now more complete accurate
  • We added a lot of internal tests and fixed bugs
  • We have the long-awaited multi-return feature (will describe this in a blog post)
  • Validation annotations are now understood for generating the OpenAPI schema
  • Errors can be declared globally to register standard 400, 401... errors
  • Errors can be declared on a per-route basis

What's Changed

Breaking changes

  • Your OpenAPI will be changed significantly (but for the better, we pass a lot of linters and tests)
  • Markdown package has been moved to its own module github.com/go-fuego/fuego/extra/markdown

New Contributors

Full Changelog: v0.13.4...v0.14.0

v0.13.0: Errors & Tags

21 Mar 21:30
Compare
Choose a tag to compare

Features highlights 🔥

  • RFC 9457 is implemented : Fuego now uses the standard way to handle errors in an API!
  • Groups Tags : only add a tag Book once for all your /books/* routes!
  • Hide routes and groups from OpenAPI Spec (useful for HTML routes for example)
  • decode YAML input
  • (net/http) *Server is now an embedded field, making Fuego even closed from the standard library

What's Changed

New Contributors

Full Changelog: v0.12.0...v0.13.0

v0.12.0

26 Feb 18:32
9470771
Compare
Choose a tag to compare

Features

Fuego now uses an online OpenAPI UI by default. This make the binaries built with Fuego 10Mb lighter, with the drawback to not be able to use the OpenAPI UI when offline. You can activate offline OpenAPI UI (embedded in the binary) with the build tag openapi_ui_local, see docs.

image

Making the binary size smaller was planned, but the idea of using StopLight Elements for the online UI was given to me by @danielgtaylor in his project Huma, a project similar to Fuego.

What's Changed

  • Update ci/cd go version to 1.22 by @Kronopt in #52
  • docs: adds custom serialization guide by @EwenQuim in #54
  • OpenAPI UI : online (now the default) or embedded (optional build tag) by @EwenQuim in #55
  • docs: fix text in link to LICENSE.txt by @qbit in #53

New Contributors

Full Changelog: v0.11.0...v0.12.0

v0.11.0

22 Feb 11:25
Compare
Choose a tag to compare

New Features 🔥

  • Cookie OpenAPI param
fuego.Get(s, "/test", testController).
	Cookie("my-cookie", "my description")
  • Header OpenAPI param
fuego.Get(s, "/test", testController).
	Header("my-header", "my description")

What's Changed

Breaking Changes

The breaking changes are (and will always be) explicit (no silent breaking changes) and easy to change until Fuego hits 1.0

  • renamed WithDescription to Description
  • renamed WithSummary to Summary
  • renamed WithQueryParam to QueryParam
  • renamed SetDeprecated to Deprecated

New Contributors

Full Changelog: v0.10.0...v0.11.0

v0.10.0

07 Feb 10:36
Compare
Choose a tag to compare

What's Changed

Features

Fixes

Other

Full Changelog: v0.9.0...v0.10.0

v0.8.0 The "Fuego" release 🔥

18 Dec 14:44
5a961ee
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.0...v0.8.0

v0.7: Templating 📃 and Auth 🔐

13 Nov 20:30
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.1...v0.7.0