Skip to content

v3.14.0

Compare
Choose a tag to compare
@yizzuide yizzuide released this 28 Nov 12:09
· 118 commits to master since this release

Feature

  • Base version updated to Spring Boot 2.6.12, prepared to adapt to Spring Boot 2.7.
  • Collections property source support parse {date} with collections.dateObject.
  • [Ice] Support get job cache keys and external API use unmerged job id.
  • [Ice] Add JobStatInfo for monitor Job runing stat info.
  • [Ice] Add JobInspector for monitor and control job state and support store impl of redis, mysql, mongodb.
  • [Ice] Provide endpoint ice for access job inspection info with spring boot actuator.
  • [Hydrogen/Uniform] Custom exception support set default value in yml.
  • [Hydrogen/Uniform] Supported replace response body with CometResponseInterceptor impl bean.
  • [Hydrogen/Uniform] Supported custom exception support list config and set force code type output with milkomeda.hydrogen.uniform.code-type.
  • [Hydrogen/Uniform] Add QueryData and QueryPageData for page query.
  • [Comet] @CometParam support parse QueryData from Uniform.
  • [Crust] Supported custom denied handler, using Uniform to response error handler.
  • [Crust] Add CrustStatefulEntity to config UserDetails.
  • [Crust] Add CrustPermission for front-end request and add build menu tree method buildMenuTree to CrustPermission.
  • [Crust] Add custom permission any match with permitAny, as example of @PreAuthorize("@crust.permitAny('ADMIN')").
  • [Sirius] Add sirius module for mybatis-plus addition support.

Perf Optimizing

  • [Crust] Cache the auth info when login success, that synchronize with the token created.
  • [Crust] Find user perms from cache first when active authentication.

Refactoring

  • Upgrade demo project yml config to Spring Boot 2.4.
  • [Hydrogen/Uniform] Uniformly set collections token variables with CollectionsPropertySource.of(token).
  • [Crust] Change refreshToken() return type from String to CrustUserInfo.
  • [Crust] Change CrustEntity and CrustUserInfo uid type from String to Serializable.

Bug Fixes

  • [Ice] Fixed active from dead queue can't query job.
  • [Crust] fixed authentication is null when invalidate in logout action.
  • [Crust] Fixed the filter intercept token header condition.
  • [light] Fixed get dirty data of super cache.

API Breaking

  • [Crust] Removed permNames field from class CrustPerm in factor of CrustPermission.
  • [Crust] Removed findAuthorities method from class CrustUserDetailsService in factor of CrustPermission.
  • [Crust] Moved permission list field from CrustEntity to CrustUserInfo.