mica 1.2.0 发布,mica-http 组件自动关闭响应 body
mica(云母)
mica 云母,寓意为云服务的核心,增强 Spring cloud 功能,使得 Spring cloud 服务开发更加方便快捷。
mica 核心依赖
mica 基于 java 8,没有历史包袱,支持传统 Servlet 和 Reactive(webflux)。采用 mica-auto 自动生成 spring.factories 和 spring-devtools.properties 配置,仅依赖 Spring boot、Spring cloud 全家桶,无第三方依赖。市面上鲜有的微服务核心组件。
| 依赖 | 版本 |
|---|---|
| Spring | 5.x |
| Spring Boot | 2.1.x |
| Spring Cloud | Greenwich 版 |
更新说明
- ⚡️ lettuce linux use epoll
- ✨ mica-http close ResponseBody。
- ✨ mica-actuator Feign client 信息端点。
- ⚡️ swagger 配置全部移到 swagger 扩展中。
- ⚡️ 优化 feign auto fallback 集合类型反馈空集合。
- 🎉 添加 mica-actuator 模块,为 mica-admin 做铺垫。
v1.1.9 更新内容,1.1.9 未发布新闻:
- ⚡️ 添加 mybatis plus 的扩展 mica-plus-mybatis 组件。
- ⚡️ mica-plus-mybatis 扩展 insert ignore 和 replace 添加老版本的日志记录扩展.
- ⚡️ 添加分布式锁组件 mica-plus-lock。
- ⚡️ mica-cloud ReactiveRequestContextHolder 改为缓存 ServerWebExchange.
- ⚡️ mica-cloud fallback 优化对空集合的支持.
- ⚡️ mica-plus-ribbon @世言 同学 pr 的 ribbon 路由 fallback。添加扩展开关,默认关闭.
- ⚡️ mica-plus-redis protostuff 调成可选依赖.
- ⚡️ mica-core 添加 Pair.
- ⚡️ mica-core 添加 MicaExpressionEvaluator.
- ⚡️ mica-core 添加 YmlPropertyLoaderFactory。
- ⚡️ mica-core 优化 FileUtil Nio 文件读取.
- ⚡️ mica-core 提升 FastStringWriter 一倍的性能.
- ⚡️ mica-http retry 添加对结果集断言.
- ⚡️ 删除第三方登录推荐直接使用 JustAuth.
- ⚡️ 减少 codacy 代码检测问题。
- ⚡️ 优化部分 阿里巴巴 P3C 问题.
- 🐛 修复 mica-core decodeHex java 11 的兼容。
- ⬆️ gradle 升级到 5.6.2。
- ⬆️ Spring cloud Greenwich SR3。
- ⬆️ mybatis-plus 升级到 3.2.0。
- ⬆️ 依赖升级 swagger-bootstrap-ui 到 1.9.6。
文档
-
文档地址(官网):https://www.dreamlu.net/#/doc/docs
- 文档地址(语雀-可关注订阅):https://www.yuque.com/dreamlu/mica
- 示例项目:https://github.com/lets-mica/mica-example