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.

Java Architecture Diary
Java Architecture Diary
Java Architecture Diary
What’s New in Mica 3.0.8? Key Updates for Spring Boot 3.x

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

Mica component map
Mica component map

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 hash union 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 @XssCleanIgnore annotation with value() array to ignore JSON body fields (thanks 冷冷(pig开源)).

mica‑xss introduces validation mode that throws an exception when xss is detected.

mica‑xss opens XssHolder for custom handling.

mica‑ip2region now supports IPv6.

mica‑core adds SpringContextUtil support for Object‑type event publishing (thanks @lishangbu).

mica‑core adds NanoId and StringUtil#getNanoId62() for alphanumeric IDs.

mica‑core enhances AesUtil with MySQL‑compatible AES encryption/decryption.

mica‑core’s JsonUtil adds toPrettyJson (thanks @老古).

mica‑core improves JsonUtil with getType for 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!

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

JavaBackend DevelopmentredisSpring Bootmica
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

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.