Skip to content

v0.15.0

Compare
Choose a tag to compare
@stonedu1011 stonedu1011 released this 23 Jul 19:36
· 8 commits to main since this release
b3910c3

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 under data for supporting any PostgreSQL compatible databases.
    • Package cockroach is moved to postgresql as sub-package to provide CockroachDB-only features.
    • Properties (application.yml) under data.cockroach section is moved to data.db.
    • Any "PostgreSQL" specific types are moved to types/pqx package.
  • Extended the framework to support more JWS algorithms. (security/oauth2/jwt package)
    • RSA specific implementations like jwt.NewRSAJwtEncoder are replaced by generic implementations like jwt.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 remote JWKSet endpoint
    • JWKSet endpoint in security/oauth2/auth now supports RSA, EC, oct (HMAC secret) and OKP (EdDSA)

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 using apptest.Bootstrap().
  • Improved documentations of various packages such as data, test, test/dbtest, test/sectest, test/ittest, etc.
  • Dependencies update
  • Various bug fixes

PR History

New Contributors

Full Changelog: v0.14.0...v0.15.0