Skip to content

v0.13.0

Compare
Choose a tag to compare
@TimShi TimShi released this 27 Feb 22:00
· 171 commits to main since this release
b1bf2f4

This Release Includes Breaking Changes

In this release, the module name is changed to github.com/cisco-open/go-lanai. This is a breaking change from previous release.
In addition some previously public methods and variables from security package is made private.

What's Changed

  • Updated swagger UI to 4.19.1. Fixed the "standalone layout not found" error.
  • Fixed a bug that caused tests with apptest.Bootstrap() to fail to start if there is no other apptest.XXX options configured.
  • Security context, session and other security related items are now stored in utils.MutableContext instead of gin.Context.
  • All context keys of security and web are made private.
  • Breaking change of utils.MutableContext. gin.Context is no longer implementing utils.MutableContext interface.
  • Breaking change of security.Clear(). It now sets an empty authentication instead of remove the authentication.
  • Added security.Set(ctx, auth). security.Set(ctx, nil) is equivalent to the old security.Clear() behaviour.
  • Breaking change of renaming module path to github.com/cisco-open
  • Updated Dockerfile and Makefile templates to properly initialize development environment for projects that may use private modules.

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