Skip to content

3.1.0

Choose a tag to compare

@devondragon devondragon released this 24 Feb 22:06
· 234 commits to main since this release

[3.1.0] - 2025-02-24

Changelog

Features

  • User Profile Management: Added new classes for user profile management, including BaseUserProfile, UserProfileService, BaseAuthenticationListener, and BaseSessionProfile. This allows for enhanced management of user-specific data within the session context of a Spring Boot application. [commit 363013c]
  • AuthorityService Integration in Tests: Integrated a mock of AuthorityService in UserServiceTest to facilitate improved unit testing of service interactions. [commit 8f4ca29]
  • Role and Authority Enhancement: Introduced AuthorityService and LoginHelperService for better management of user roles and authorities, especially for OAuth2-based users. This helps streamline authentication and authority management across the system. [commit 1e08c5c]

Fixes

  • Changelog Generation Enhancements: Enhanced the changelog generation script to include commit diffs and automatic categorization of changes, which should improve the clarity and utility of generated changelogs. [commit 8699934]
  • OAuth2 User Handling: Addressed multiple issues related to role and authority handling for OAuth2 users, ensuring proper authority assignment and role retrieval during user authentication and login processes. [commit 1e08c5c]
  • Build and Configuration Updates: Updated Python interpreter path in VSCode settings and added method security configuration to improve project setup and security management. [commit e50a5f2]

Breaking Changes

  • There are no outright breaking changes in this release, but the introduction of new role and authority management features requires validation against existing security configurations to ensure compatibility.

Refactoring

  • User Configuration Improvements: Refactored user configuration for tighter integration with Spring Boot, including the addition of an auto-configuration registrar to streamline component discovery and setup. [commit 1fce50d]

Documentation

  • Framework Documentation Update: Updated README and created a new PROFILE.md document detailing the user profile extension framework, offering guidance on implementation and integration within applications. [commit 6e482fa]

Testing

  • No explicit testing updates beyond integration of service mocks.

Other Changes

  • Dependency Updates: Several dependency updates managed by dependabot, including updates to the MariaDB Java client, Jakarta validation API, and Thymeleaf layout dialect, ensuring the use of latest stable libraries. [commits 6364b56, 2ef01f1, 606e02f]
  • Script Migration: Migrated the user schema SQL script to a dedicated MariaDB script directory for better organization and separation from other resources. [commit 00cd0b7]
  • Gradle Release Versioning: Updated the project version to 3.0.2-SNAPSHOT and subsequently to 3.1.0-SNAPSHOT as part of the release process, ensuring versioning reflects ongoing developments. [commits eb07d88, 363013c]