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
postgresql
is added underdata
for supporting any PostgreSQL compatible databases. - Package
cockroach
is moved topostgresql
as sub-package to provide CockroachDB-only features. - Properties (application.yml) under
data.cockroach
section is moved todata.db
. - Any "PostgreSQL" specific types are moved to
types/pqx
package.
- Package
- Extended the framework to support more JWS algorithms. (
security/oauth2/jwt
package)- RSA specific implementations like
jwt.NewRSAJwtEncoder
are 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.JwkStore
implementations - Added
jwt.RemoteJwkStore
to leverage remoteJWKSet
endpoint JWKSet
endpoint insecurity/oauth2/auth
now supportsRSA
,EC
,oct
(HMAC secret) andOKP
(EdDSA)
- RSA specific implementations like
Other Changes
- Introduced
auth.ApprovalStore
interface to allow customizing how to store user's approval decisions during OAuth2/Open ID Connect "authorization code" flow. See Auth Server Example ittest
is 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/jwt
by @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