Releases: yizzuide/Milkomeda
v3.14.1
Feature
[Ice] Job inspection support retain record row in db with milkomeda.ice.introspect.deleteOnFinished
.
Perf Optimizing
[Ice] Job inspection perform finish action only at pull success.
Bug Fixes
[Crust] Check isAdmin
is null when invoke permitAny
.
[Hydrogen/Uniform] Check query entity is null before get.
[Hydrogen/Uniform] Fixed parse int error with "".
API Breaking
[Ice] Removed delete
methods of Ice
interface.
v3.14.0
Feature
- Base version updated to Spring Boot 2.6.12, prepared to adapt to Spring Boot 2.7.
- Collections property source support parse
{date}
withcollections.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
andQueryPageData
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 methodbuildMenuTree
toCrustPermission
. - [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
andCrustUserInfo
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 classCrustPerm
in factor ofCrustPermission
. - [Crust] Removed
findAuthorities
method from classCrustUserDetailsService
in factor ofCrustPermission
. - [Crust] Moved permission list field from
CrustEntity
toCrustUserInfo
.
v3.13.0
Feature
- Updated to Springboot 2.5.14, prepare for upgrade to springboot 3.0.
- Add support kotlin language.
- Add support yaml config with
PropertySource
. - [Orbit] Add new module
orbit
, write aop programing with yml config on fly. - [Light] Set thread local scope data simply with
LightContext
. - [Light] Add
@ThreadLocalScope
for request scope bean. - [Metal] Support for using in spEl with
#metal['key']
. - [Comet&Echo] Annotation
@CometParam
adddecrypt()
for verify request params. - [Uniform] Exception message support i18n with
UniformI18nExceptionDataAssert
. - [Wormhole]
WormholeEvent
add support source by extendsEventObject
.
Refactoring
- Reconstruct placeholder extraction by extending
PropertyPlaceholderHelper
. - Replaced set props with
ConditionalGenericConverter
when register bean dynamically. - [Fusion] Reconstruct the processing of repeatable annotations.
Bug Fixes
- [Sundial] Fixed multi-thead safe with create hash ring.
- [Fusion] Fixed execution method with
allowed
condition. - [Uniform] Fixed alias node value filled with Map data.
- [Comet] Fixed logger custom field parser problem.
- [Comet] Fixed error when response content type is null.
API Breaking
- Change bean and annotation operations from
WebContext
andAopContextHolder
to new classSpringContext
. - [Uniform] Change yml config
excludeURLs, includeURLs
toexcludeUrls, includeUrls
. - [Comet] Change custom field of logger from
{key}
to{$x.key}
- [Particle] Removed share mode config with limiter.
v3.12.10
Epic level full module repair, cost a spring festival holiday! (史诗级别全模块大修复,耗费一个春节假期!)
Feature
[*] Update to Springboot 2.3.12.
[Light] Add method CacheHelper.getFastLevel()
for get super cache.
[Jupiter] Rule filter support '||' as 'or'.
[Sundial] Support register HashFunc
with CachedConsistentHashRing.register()
.
Enhance
[Light] Optimized memory cache remove when trigger discard event.
Refactoring
[Crust] Extract session login super cache code.
[Crust] Extract redirect root url and resource handlers.
[Comet] Refactoring placeholder interpolation.
[Comet] Refactoring set request method params.
Bug Fixes
[Fusion] Fixed FusionGroup
on class problem.
[Echo] Fixed response data convert camel style problem.
[Comet] Fixed get host ip cause requests to slow down.
[Particle] Fixed time limiter set expire once per request.
[Moon] Fixed percent not set in mixin mode.
[Uniform] Fixed Response type matching with 500 exception.
[Neutron] Fixed invoke shutdownJobs()
cause start again error.
[Sundial] Fixed always create 4 replica node with ketama hash.
[Sundial] Fixed lose spring transaction when use split schema type.
[Sundial] Fixed duplicate generated sharing id within one millisecond.
API Breaking
[Pulsar] Removed setErrorCallback
method in favor of uniform
.
[Particle] Moving redis key expire from method param to bean props.