What’s New in Mica 3.0.8? Key Updates for Spring Boot 3.x
This article reviews the latest Mica releases, highlighting version compatibility with Spring Boot, new Redis and XSS features, core utility enhancements, bug fixes, and upcoming support for Spring Boot 3.1.x, providing developers with a concise overview of the library’s recent advancements.
Time flies, and it’s been two years since the last Mica update article. Below is a look at the important updates of Mica.
Version Compatibility
Latest Mica version: 3.0.8 (compatible with Spring Boot 3.0.x). Previous version: 2.7.13 (compatible with Spring Boot 2.7.x). Older versions are no longer updated unless sponsored.
Mica Open‑Source Ecosystem
More friends are using Mica components, and some are even adopted by Alibaba.
Important Mica Updates
mica‑redis adds a simple wrapper for Redis Pub/Sub.
mica‑redis adds optimized Redis Stream support, providing a lightweight MQ.
mica‑redis improves rate‑limit Lua script for better Alibaba Redis support (thanks
@火炎焱燚).
mica‑redis adds
hashunion operation (thanks
@just-cloud (zqf)).
mica‑redis adds Redis Set with custom serialization method.
mica‑redis sets default cache name delimiter to “:”.
mica‑xss adds
@XssCleanIgnoreannotation with
value()array to ignore JSON body fields (thanks
冷冷(pig开源)).
mica‑xss introduces validation mode that throws an exception when
xssis detected.
mica‑xss opens
XssHolderfor custom handling.
mica‑ip2region now supports IPv6.
mica‑core adds
SpringContextUtilsupport for Object‑type event publishing (thanks
@lishangbu).
mica‑core adds
NanoIdand
StringUtil#getNanoId62()for alphanumeric IDs.
mica‑core enhances
AesUtilwith MySQL‑compatible AES encryption/decryption.
mica‑core’s
JsonUtiladds
toPrettyJson(thanks
@老古).
mica‑core improves
JsonUtilwith
getTypefor complex generic construction.
Bug fix: mica‑xss type mapping issue for JSON int/bool to string (thanks
@有请岁月).
Bug fix: mica‑metrics error when using HikariCP with Druid jar (thanks
@疯狂的狮子Li, gitee #I60O8C).
Final Note
Support for Spring Boot 3.1.x is on the way, and mica‑auto has already released version 3.1.1. Thanks to all contributors and users for their continued support!
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.