v0.15.0
This Release Includes Breaking Changes
This release includes breaking changes.
- Extended the framework to support wider selections of SQL/PostgreSQL compatible database.
- Package
postgresqlis added underdatafor supporting any PostgreSQL compatible databases. - Package
cockroachis moved topostgresqlas sub-package to provide CockroachDB-only features. - Properties (application.yml) under
data.cockroachsection is moved todata.db. - Any "PostgreSQL" specific types are moved to
types/pqxpackage.
- Package
- Extended the framework to support more JWS algorithms. (
security/oauth2/jwtpackage)- RSA specific implementations like
jwt.NewRSAJwtEncoderare replaced by generic implementations likejwt.NewSignedJwtDecoder - HS, RS and ES signing algorithms are supported and the algorithm is automatically determined based on the type of public/private keys
- Extended the private/public key support to various
jwt.JwkStoreimplementations - Added
jwt.RemoteJwkStoreto leverage remoteJWKSetendpoint JWKSetendpoint insecurity/oauth2/authnow supportsRSA,EC,oct(HMAC secret) andOKP(EdDSA)
- RSA specific implementations like
Other Changes
- Introduced
auth.ApprovalStoreinterface to allow customizing how to store user's approval decisions during OAuth2/Open ID Connect "authorization code" flow. See Auth Server Example ittestis now supporting HTTP recording/playback without usingapptest.Bootstrap().- Improved documentations of various packages such as
data,test,test/dbtest,test/sectest,test/ittest, etc. - Dependencies update
- Various bug fixes
PR History
- persist oauth2 authorize request approval in session by @TimShi in #411
- Added support for Postgresql database by @TimShi in #412
- Fixed an intermittent error in httpclient/client_test caused by test set up by @TimShi in #413
- updated the version of golang.org/x/net package by @TimShi in #415
- Added README for test package. by @TimShi in #414
- Updated license file to have the full apache license text. by @TimShi in #423
- Improvement of
security/oauth2/jwtby @stonedu1011 in #418 - Improved JWK Support by @stonedu1011 in #424
- .github: Add Scorecard workflow by @cisco-service in #427
- Improve jwk file store to support different by @TimShi in #426
- Ittest improve by @stonedu1011 in #425
New Contributors
- @cisco-service made their first contribution in #427
Full Changelog: v0.14.0...v0.15.0