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.
1. Mica (Cloud Stone)
micaoriginated from the internal
lutoolproject of RuoMeng Technology.
lutoolwas created in 2017, inspired by
jhipster, and gradually formed a core set of micro‑service tools. Because the name
lutooldid 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‑loggingcomponent.
Enhance
mica‑corewith
JsonUtiland
SystemUtil.
Add request start‑time key in
mica‑core.
mica‑xssnow supports two modes: escape and clean.
mica‑swaggerAPI 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‑caffeineand
mica‑redisenable
@EnableCachingby default.
Add
mica‑caffeinemodule to
mica‑bom.
v2.4.1‑GA – 2021‑01‑29
Critical : Fix
mica‑xssThreadLocal removal issue.
Improve
mica‑xsswith global trim, newline, and escape configurations.
v2.4.0‑GA – 2021‑01‑18
Expose
XssUtilwhitelist for custom rules.
Add
ACTIVE_PROFILES_PROPERTYconstant to
mica‑core.
Move
SpringContextUtilinto
mica‑core.
Upgrade to Spring Boot 2.4.2 and Spring Cloud 2020.0.0.
Upgrade
mica‑autoto 2.0.3 and
mica‑weixinto 2.0.5.
4. Updates for 2.1.x
v2.1.1‑GA – 2021‑02‑22
Critical : Fix
mica‑xssThreadLocal removal issue.
Upgrade
mica‑weixinto 2.0.5.
Important: Users of
mica‑xssshould upgrade to version
2.1.1‑GAor
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
jsonformat,
consolelogs remain plain text, while
all.logis JSON‑formatted for
filebeatcollection.
Enable
logstashto print only
consolelogs and forward them to
logstash.
Optionally disable
consolelogs 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‑weixinand
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
Java Architecture Diary
Committed to sharing original, high‑quality technical articles; no fluff or promotional content.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.