Backend Development 7 min read

What’s New in Mica 2.4.x? A Deep Dive into the Latest Backend Framework Updates

This article introduces the Mica framework, explains its origin and naming, details the latest version releases and cumulative updates for the 2.4.x and 2.1.x branches, and describes new modules such as mica-logging and mica-caffeine along with ecosystem links.

Java Architecture Diary
Java Architecture Diary
Java Architecture Diary
What’s New in Mica 2.4.x? A Deep Dive into the Latest Backend Framework Updates

1. Mica (Cloud Stone)

mica

originated from the internal

lutool

project of RuoMeng Technology.

lutool

was created in 2017, inspired by

jhipster

, and gradually formed a core set of micro‑service tools. Because the name

lutool

did not reflect its function, it was renamed to

mica

(meaning “cloud stone”) in 2019 to signify a cornerstone of cloud services.

2. Version Overview

Note: The mica‑v2.0 branch only receives bug fixes and no new features.

Latest releases:

2.4.3‑GA (mica 2.4.x, Spring Boot 2.4.x, Spring Cloud 2020)

2.1.1‑GA (mica 2.0.x~2.1.x, Spring Boot 2.2.x~2.3.x, Spring Cloud Hoxton)

3. Cumulative Updates for 2.4.x

v2.4.3‑GA – 2021‑02‑27

Open‑source

mica‑logging

component.

Enhance

mica‑core

with

JsonUtil

and

SystemUtil

.

Add request start‑time key in

mica‑core

.

mica‑xss

now supports two modes: escape and clean.

mica‑swagger

API key authentication token name changed to

Authorization

.

Add star‑map diagram.

Replace module diagram.

Upgrade Spring Boot to 2.4.3.

v2.4.2‑GA – 2021‑02‑08

mica‑caffeine

and

mica‑redis

enable

@EnableCaching

by default.

Add

mica‑caffeine

module to

mica‑bom

.

v2.4.1‑GA – 2021‑01‑29

Critical : Fix

mica‑xss

ThreadLocal removal issue.

Improve

mica‑xss

with global trim, newline, and escape configurations.

v2.4.0‑GA – 2021‑01‑18

Expose

XssUtil

whitelist for custom rules.

Add

ACTIVE_PROFILES_PROPERTY

constant to

mica‑core

.

Move

SpringContextUtil

into

mica‑core

.

Upgrade to Spring Boot 2.4.2 and Spring Cloud 2020.0.0.

Upgrade

mica‑auto

to 2.0.3 and

mica‑weixin

to 2.0.5.

4. Updates for 2.1.x

v2.1.1‑GA – 2021‑02‑22

Critical : Fix

mica‑xss

ThreadLocal removal issue.

Upgrade

mica‑weixin

to 2.0.5.

Important: Users of

mica‑xss

should upgrade to version

2.1.1‑GA

or

2.4.3‑GA

.

5. New Modules

3.1 mica‑logging

By default, logs are printed to

console

,

all.log

, and

error.log

.

When set to

json

format,

console

logs remain plain text, while

all.log

is JSON‑formatted for

filebeat

collection.

Enable

logstash

to print only

console

logs and forward them to

logstash

.

Optionally disable

console

logs after startup.

3.2 mica‑caffeine

Enhanced Spring Caffeine cache supporting “#” separator for cache name and timeout, and time units ms, s (default), m, h, d.

Facilitates usage in components like

mica‑weixin

and

mica‑captcha

.

6. Mica Ecosystem

mica‑auto

: Spring Boot starter – https://gitee.com/596392912/mica-auto

mica‑weixin

: JFinal Weixin Spring Boot starter – https://gitee.com/596392912/mica-weixin

mica‑mqtt

: MQTT component based on t‑io – https://gitee.com/596392912/mica-mqtt

Spring Cloud microservice HTTP/2 solution (h2c) – https://gitee.com/596392912/spring-cloud-java11

7. Documentation and Resources

Source code on Gitee: https://gitee.com/596392912/mica

Source code on GitHub: https://github.com/lets-mica

Official documentation site: http://wiki.dreamlu.net

Documentation on Yuque (follow for updates): https://www.yuque.com/dreamlu

Example project: https://github.com/lets-mica/mica-example

JavamicroservicesSpring BootBackend FrameworkVersion ReleaseMica
Java Architecture Diary
Written by

Java Architecture Diary

Committed to sharing original, high‑quality technical articles; no fluff or promotional content.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.