Release v3.3.0
see (MIGRATION.md)[./MIGRATION.md] for further Information
🌟 Features
- Add
BaseEssenciumUserDetailsas common interface forEssenciumUserDetailsandBaseUserDetails. - Added automatic type conversion for PATCH requests: String values are now automatically converted to the target field type (primitives, date/time types, UUID, URL, URI, enums)
- API-Token: API tokens enable persistent, programmatic API access with defined rights.
ApiTokenentity with status management, expiration tracking, and rights-based authorization- Token invalidation on user, role, or right modifications (API and session tokens)
- Removed
API_DEVELOPERfromBasicApplicationRights - New rights in
AdditionalApplicationRights(not assigned to any role by default):API_DEVELOPER- Access to developer endpointsAPI_TOKEN- Manage own API tokensAPI_TOKEN_ADMIN- Manage all API tokensSESSION_TOKEN_ADMIN- Manage all session tokens
- REST endpoints at
/v1/api-tokensfor CRUD operations - Configurable token expiration (
app.auth.jwt.default-api-token-expiration, default: 30 days)
- Added
UserUtilfor basic Operations on EssenciumUserDetails- getting EssenciumUserDetails-Implementation from Auth-Context
- Role-checks
- Right-checks
- For consistency reasons, the paths
GET “/v1/users/me/tokenandDELETE ”/v1/users/me/token/{id}have been changed toGET “/v1/users/me/tokensandDELETE ”/v1/users/me/tokens/{id}(see AbstractUserController). No adjustment is required in the backend, but this change may result in a⚠️ breaking change⚠️ in the frontend. - Login via OAuth for disabled users is not permitted any more
🐞 Bug Fixes
🔨 Dependency Upgrades
- upgraded org.springframework.boot:spring-boot-starter-parent from 3.5.8 to 3.5.11
- upgraded io.sentry:sentry-spring-boot-starter-jakarta from 8.27.1 to 8.30.0
- upgraded net.sf.okapi.lib:okapi-lib-xliff2 from 1.47.0 to 1.48.0
- upgraded org.springdoc:springdoc-openapi-starter-webmvc-ui from 2.8.14 to 2.8.15
- upgraded org.apache.maven.plugins:maven-surefire-plugin from 3.5.4 to 3.5.5
- upgraded org.apache.maven.plugins:maven-failsafe-plugin from 3.5.4 to 3.5.5
- upgraded org.apache.maven.plugins:maven-dependency-plugin from 3.9.0 to 3.10.0
- upgraded org.apache.maven.plugins:maven-source-plugin from 3.3.1 to 3.4.0
- upgraded org.sonatype.central:central-publishing-maven-plugin from 0.9.0 to 0.10.0