v0.13.0
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 otherapptest.XXX
options configured. - Security context, session and other security related items are now stored in
utils.MutableContext
instead ofgin.Context
. - All context keys of
security
andweb
are made private. - Breaking change of
utils.MutableContext
.gin.Context
is no longer implementingutils.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 oldsecurity.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