Skip to content

Releases: yizzuide/Milkomeda

v3.14.1

30 Nov 15:41
Compare
Choose a tag to compare

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

28 Nov 12:09
Compare
Choose a tag to compare

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.

v3.13.0

06 Sep 10:18
Compare
Choose a tag to compare

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 add decrypt() for verify request params.
  • [Uniform] Exception message support i18n with UniformI18nExceptionDataAssert.
  • [Wormhole] WormholeEvent add support source by extends EventObject.

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 and AopContextHolder to new class SpringContext.
  • [Uniform] Change yml config excludeURLs, includeURLs to excludeUrls, includeUrls.
  • [Comet] Change custom field of logger from {key} to {$x.key}
  • [Particle] Removed share mode config with limiter.

v3.12.10

20 Feb 11:31
Compare
Choose a tag to compare

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.

v3.12.9

26 Sep 10:56
Compare
Choose a tag to compare

Bug Fixes
[*] Fixed could not find dynamic light cache problem.

v3.12.8

11 Apr 06:14
Compare
Choose a tag to compare

Enhance

  • [Echo] Automatically recognizes and removes string backslashes.

v3.12.7

11 Apr 06:12
Compare
Choose a tag to compare

Enhance

  • [Echo] Automatically recognizes and removes string symbols.

v3.12.6

23 Oct 07:57
Compare
Choose a tag to compare

Bug Fixes

  • [Light] Fixed could not find dynamic light cache problem.

v3.12.5

23 Oct 07:55
Compare
Choose a tag to compare

Enhance

  • [Light] Only LightCache instant needs remove super cache.

v3.12.4

23 Oct 07:54
Compare
Choose a tag to compare

Bug Fixes

  • [Light] Fixed super cache not remove with dynamic light cache type.