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!
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
- Struct-Based route Registration by @EwenQuim in #93
- chore: deprecation notice for WithPort() by @dylanhitt in #110
- Read Binary body with application/octet-stream Content-Type header by @EwenQuim in #112
- docs: remove usage of WithPort from docs in favor of WithAddr by @dylanhitt in #114
- Default tags are based on groups + possibility to disable auto tags by @EwenQuim in #115
- FIX: middlewares guides typo by @dvordrova in #117
- ci: add golangci-lint by @dylanhitt in #116
- Feat/disable print openapi by @dylanhitt in #123
- chore: typo on TestWithoutStartupMessages test by @dylanhitt in #124
- Easier TLS setup by @redecs in #120
- Chore/server setup by @dylanhitt in #126
- ACME Server TLS example with Let's Encrypt and certmagic by @redecs in #125
- Ci/markdown lint by @dylanhitt in #138
- deps: bump gorilla/scheme to v1.4.1 by @dylanhitt in #139
- fix: revert back to the simple funcName style operationID by @dylanhitt in #135
- Zuplo sponsoring by @EwenQuim in #140
- Update Zuplo sponsorship by @AdrianMachado in #142
- chore: add justification for disabled markdownlint rules by @dylanhitt in #144
- fix: differentiate between array types and standard structs by @dylanhitt in #134
- OpenAPI default description is a Fuego Cheatsheet by @EwenQuim in #149
- Extras in their own module by @EwenQuim in #147
- Golden file testing by @EwenQuim in #148
- Multi return by @EwenQuim in #137
- Info fields by @EwenQuim in #151
- Errors can be declared globally and route per route by @EwenQuim in #150
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
- @dvordrova made their first contribution in #117
- @redecs made their first contribution in #120
- @AdrianMachado made their first contribution in #142
Full Changelog: v0.13.4...v0.14.0