Skip to content

v12.2.5

Compare
Choose a tag to compare
@kataras kataras released this 21 Aug 17:26
· 125 commits to main since this release

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-driven app.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 to main. Don't worry GitHub will still navigate any master request to main 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

Full Changelog: v12.2.4...v12.2.5