I. Mica (Mica)

Mica evolved from Lutool within Dream technology. Lutool was born in 2017 and has evolved into a core set of microservices inspired by JHipster.

Due to thelutoolThe name didn’t quite match the function, so it was renamed to open source in 2019Mica, meaning the cornerstone of cloud services.

Version description

Note: The MICA-V2.0 branch is only for bug fixes, not feature updates.

The latest version Mica version The spring version of the boot Spring cloud version
2.4.3 – GA Mica 2.4 x X 2.4. 2020
2.1.1 – GA Mica from 2.0 x to 2.1 x 2.2 x to 2.3 x Hoxton

2.4.x cumulative updates

V2.4.3 – GA – 2021-02-27

  • ✨ Open source MicA-logging component.
  • ✨ mica-core completes JsonUtil and SystemUtil.
  • ✨ mica-core Request start time key.
  • ✨ MICA-XSS supports both escape and cleanup modes.
  • ✨ mica-Swagger API key Authentication Token key-name Is changed to the default valueAuthorization.
  • 📝 Add stargazing map.
  • 📝 Replacement module diagram.
  • ⬆️ Upgrade Spring Boot to 2.4.3 and Spring Cloud to 2020.0.1

V2.4.2 – GA – 2021-02-08

  • ✨ mica-Caffeine, mica-redis default @enablecaching.
  • ✨ MICA-BOM Adds micA-Caffeine module.

V2.4.1 – GA – 2021-01-29

  • 🐛 [Critical] mica-xss ThreadLocal remove.
  • ✨ mica-xss improved, new string global trim, newline, escape configuration.

V2.4.0 – GA – 2021-01-18

  • ✨ mica-xss XssUtil allows Whitelist to be customized.
  • ✨ mica-core Adds the ACTIVE_PROFILES_PROPERTY constant.
  • ✨ Move SpringContextUtil to micA-core.
  • ⬆️ Upgrade to Spring Boot 2.4.2.
  • ⬆️ Use Spring Cloud 2020.0.0
  • ⬆️ Upgrade Mica Auto to 2.0.3.
  • ⬆️ Upgrade to mica-weixin 2.0.5.

Update 2.1 x

V2.1.1 – GA – 2021-02-22

  • 🐛 mica-xss ThreadLocal remove.
  • ⬆️ Upgrade to mica-weixin 2.0.5.

Note: If you are using MICA-XSS, please upgrade to 2.1.1-GA or 2.4.3-GA

3. New module description

3.1 mica – logging

  1. By default, printconsoleThe log,all.log,error.log.
  2. Set tojsonFormat, printconsoleLog (notjson),all.log(jsonFormat that can be usedfilebeatCollection).
  3. openlogstashPrint onlyconsoleLog and output the log tologstash.
  4. You can configure startup to complete shutdownconsoleThe logs.

3.2 mica – caffeine

  1. The Spring Caffeine Cache is designed to separate cachename and timeout in ms (milliseconds), S (default seconds), M (minutes), H (hours), and D (days).
  2. Easy to use micA-Weixin, MICA-CAPTCHA and other components.

Iv. Mica Ecology

  • Mica-auto (Spring Boot starter): gitee.com/596392912/m…
  • Mica-weixin (Spring Boot starter for jfinal Weixin) : gitee.com/596392912/m…
  • Mica-mqtt (MQTT component based on T-IO implementation) : gitee.com/596392912/m…
  • Spring Cloud Microservices Http2 Solution (H2C) : gitee.com/596392912/s…

Five, the document

  • Mica source Gitee (code cloud) : gitee.com/596392912/m…
  • Mica source: Github: github.com/lets-mica
  • Documentation (official website) : wiki.dreamlu.net
  • Documentation address (Language – subscribe to follow) : www.yuque.com/dreamlu
  • Example project: github.com/lets-mica/m…