Backend Development 6 min read

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

Version 2.x of the open‑source Mica framework, built on Java 8 and Spring Boot/Cloud, introduces a streamlined core, reduced dependencies, enhanced HTTP, captcha, Redis rate‑limiting, job starter, and numerous utility upgrades, while outlining upcoming module releases and providing documentation links.

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

Mica (Cloudstone)

Mica originated from the internal lutool (撸秃) project at Dreamlu. lutool was created in 2017, inspired by JHipster, and gradually formed a microservice core. In 2019 it was renamed to Mica, symbolizing a cornerstone for cloud services.

Mica 2.x Core Dependencies

Mica runs on Java 8, has no legacy baggage, and supports both traditional Servlet and Reactive (WebFlux). It uses mica-auto to auto‑generate spring.factories and spring-devtools.properties, depending only on Spring Boot and the Spring Cloud suite, with no third‑party libraries.

Core dependency: Spring Boot 2.2.x

About This Version

After about half a year of internal incubation, Mica 2.0 is released with the following major changes:

Strengthened basic toolset (mica‑core)

Reduced dependencies (mica‑http)

Optimized rate‑limiting algorithm (mica‑redis)

Enhanced captcha with built‑in arithmetic support (mica‑captcha)

Added xxl‑job starter for easy integration (mica‑jobs)

This version omits some modules compared with 1.x for the following reasons:

mica-launcher

,

mica-boot-test

were removed in the new streamlined Mica 2.x.

Some modules are not open‑source yet and will be released later.

Modules with low development maturity remain in internal development.

Other modules are offered as paid versions; paid editions already include many of these features.

Current module diagram:

Note: Modules marked with a lock icon on the left will be opened in the future.

Update Log

mica‑http now supports specifying protocols.

mica‑http extends HttpRequest proxy method for easier use.

mica‑http extracts mica‑spider crawling tool, reducing dependencies.

mica‑spider enhances CssQueryMethodInterceptor.

mica‑captcha abstracts captcha and supports mathematical captchas.

mica‑captcha adds captcha cache interface and improves generation documentation.

mica‑swagger upgrades Swagger to Knife4j.

mica‑redis aligns rate‑limiting algorithm with Spring Cloud Gateway, reducing memory usage.

mica‑jobs adds xxl‑job starter.

mica‑core generates version information into Mica class.

mica‑core adds compiler utility class.

mica‑core adds CountMap for counting.

mica‑core adds Once object.

mica‑core moves Jackson packages to mica‑boot and adjusts for mica‑api‑encrypt component.

mica‑core simplifies AES utility code.

mica‑core optimizes DateUtil.

mica‑core optimizes RuntimeUtil.

mica‑core refines HexUtil.

mica‑core adds DesUtil.

mica‑core adds RsaUtil.

mica‑core optimizes ResourceUtil.

mica‑core fine‑tunes bean copying.

mica‑core function adds serialization.

mica‑core MD5 no longer depends on Spring DigestUtils.

mica‑core improves file utility handling of file names.

Add .gitattributes.

Replace @Configuration with @Configuration(proxyBeanMethods = false).

Upgrade okhttp to 3.14.8.

Upgrade jsoup to 1.13.1.

Upgrade mica‑auto to 1.2.2.

Upgrade Spring Boot to 2.2.6; versions below 2.2.x are no longer supported.

Upgrade Spring Cloud to Hoxton.SR4.

Documentation

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

Mica source code on Gitee: https://gitee.com/596392912/mica

Official documentation site: https://www.dreamlu.net/mica2x/index.html

Yuque documentation (subscribe for updates): https://www.yuque.com/dreamlu

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

Javamicroservicesbackend developmentSpring 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

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.