v27
Features
Add starter
radp-jwt-spring-boot-starter, implementing JWT-based authentication and authorization.Add starter
radp-oauth2-spring-boot-starterOptimize
BasePOAutoFillStrategyto useLoginUserResolverto obtain the current logged-in user from context.Add utility methods in
ServletUtilsto wrap HTTP responses with JSON content.Add
#addOrder()utility method toMybatisUtils.Add the
#deleteBatch()utility method toBaseMapperX.Optimize
ErrorCodeLoaderImplemented resource merging for
META-INF/error/message*.propertieswith override priority (libraries < app classes).Added support for Spring
MessageSourceto enable application-specific i18n error messages.Introduced fallback mechanism ensuring error resolution robustness: app messages > internal bundle > error code itself.
Improved thread-safety in message resource initialization.
Update scaffold
Add
@Contractannotations toClientAssert,ServerAssert, andThirdServiceAssert, and refactor null/nonnull handling.Add module
xxx-casetoscaffold-std.Replace hardcoded empty string with
PREFIXinRedisKeyProvider.Restructure package organization in the
xxx-apilayer.Add
checkstyle-idea.xml.Fix Writerside setup.
Update default resource bundle
message.properties.
Fix
Fix
RestExceptionHandlerleaking sensitive exception details to the frontend.
Refactor
Rename
SingleResultandPageResultmethods:#build→#ok#buildFailure→#failed
Optimize custom
AbstractAssert, removing inheritance from Spring’sAssert.Optimize
BaseConvertor.Adjust built-in error codes so that codes below
1000are reserved for framework-level internal use.Rename the
PageParamconstantPAGE_SIZE_NONEtoNO_PAGINATION.Refactor radp-common
Refactor and rename
StringUtilstoStringUtilRefactor and rename
RandomStringUtilstoRandomStringUtilRefactor and rename
ObjectUtilstoObjectUtilRefactor and rename
ArrayUtilstoArrUtilsRefactor and rename
NumberUtilstoNumberUtilRename
StringstoStringConstantsRename
RegextoRegexConstantsRemove
DigestUtilsRefactor
Base64Refactor
MapUtils
Add
@SafeVarargsonCollectionUtils#ofSetto resolve the warning:Possible heap pollution from parameterized vararg type T
Chore
Optimize
checkstyle.xmlOptimize
checkstyle-suppressions.xmlOptimize jacoco configuration
Documentation
Fix Javadoc error:
MobileConvert,Sm4StringEncryptor,JasyptUtils,JwtAutoConfiguration,Migrate CHANGELOG to writerside.
Tests
Add tests for
MessageFormatter,MessageFormatUtils, andResponseBuilder.Fix tests for
RedissonServiceSmokeTest,ElasticsearchKibanaTestAdd tests for
radp-mybatis-spring-boot-starter.Add tests for
radp-solution-tenant.