v12.2.5
What's Changed
- Add optional
Singleton() bool
method to controllers to mark them as singleton, will panic with a specific error if a controller expects dynamic dependencies. This behavior is idendical to the app-drivenapp.EnsureStaticBindings()
. - Non-zero fields of a controller that are marked as ignored, with
ignore:"true"
field tag, they are not included in the dependencies at all now. - Re-add error log on context rich write (e.g. JSON) failures when the application is running under debug mode (with
app.Logger().SetLevel("debug")
) and there is no a registered context error handler at place. master
branch finally renamed tomain
. Don't worry GitHub will still navigate anymaster
request tomain
automatically. Examples, Documentation and other Pages are refactored too.- Translate README to Vietnamese by @TrungKenbi in #2182
- add Japanese README by @demouth in #2188
- Remove redundant nil check by @Juneezee in #2194
- Improve middleware/requestid test suite by @lemuelroberto in #2191
- Bump github.com/redis/go-redis/v9 from 9.0.5 to 9.1.0 by @dependabot in #2190
New Contributors
- @TrungKenbi made their first contribution in #2182
- @demouth made their first contribution in #2188
- @Juneezee made their first contribution in #2194
- @lemuelroberto made their first contribution in #2191
Full Changelog: v12.2.4...v12.2.5