mica 2.5.1 发布,添加 jfinal activerecord stater

一、前言

做为一个 JFinal 老玩家,身边还有一部分朋友在混用 JFinal + Spring boot,其主要是在使用 jfinal activerecord 功能。故在 mica 中添加了基于 jfinal activerecord 的 mica-activerecord 模块,替大家排坑,方便使用。

二、mica(云母)

mica是一个微服务组件集,但不仅仅是组件,我们关注的是微服务生态并持续演进,尽量做到开箱即用,简化使用和排坑。总共已有 40+ 组件,并且很多组件已经打通。图片

三、版本说明

最新版本mica 版本spring boot 版本spring cloud 版本
2.5.1mica 2.5.x2.5.x2020
2.4.7mica 2.4.x2.4.x2020
2.1.1-GAmica 2.0.x~2.1.x2.2.x ~ 2.3.xHoxton

说明:mica 对 Spring cloud 为非强制依赖,除了 mica-jobs 其他组件普通 Spring boot 项目也可以使用

四、更新记录

v2.5.1

  • ✨ 整体代码优化减少 codacy 上的问题。

  • ✨ mica-http 代码优化,支持自定义 Logger。

  • ✨ 添加 mica-activerecord 模块。

  • ✨ mica-core 优化 DisableValidationTrustManager 方便使用。

  • ✨ mica-redis 可自定义 RedisTemplate。

  • ✨ mica-logging loki sender 默认值优化,根据依赖判断,gitee #I3T68Y。

  • 🐛 修复 mica-redis RedisTemplate 初始化。

  • 📝 update README.md 更新文档地址。

  • ⬆️ 升级到 Spring cloud 2020.0.3。

  • ⬆️ 升级到 Spring boot 到 2.5.1。

v2.4.7

  • ✨ 整体代码优化减少 codacy 上的问题。

  • ✨ mica-http 代码优化,支持自定义 Logger。

  • ✨ 添加 mica-activerecord 模块。

  • ✨ mica-core 优化 DisableValidationTrustManager 方便使用。

  • ✨ mica-redis 可自定义 RedisTemplate。

  • ✨ mica-logging loki sender 默认值优化,根据依赖判断,gitee #I3T68Y。

  • 🐛 修复 mica-redis RedisTemplate 初始化。

  • 📝 update README.md 更新文档地址。

  • ⬆️ 升级到 Spring cloud 2020.0.3。

  • ⬆️ 升级到 Spring boot 到 2.4.7。

五、重点说明

5.1 添加 mica-activerecord 模块

扩展 jfinal activerecord,方便 Spring boot 中使用。功能如下:

  • @TableName 注解方便 Model 自动 Mapping 映射。

  • Record 的 jackson 处理。

  • 基于 Druid 的可执行 Sql 打印。

  • 基于 Druid 的 DruidSqlDialect,分页 sql 优化,支持多种数据库。

  • @Tx 注解的 JFinal ActiveRecord 事务。

  • 可自定义 ActiveRecordPluginCustomizer Bean 实现自定义扩展。

  • ModelUtil 实现 Model、Record -> Bean 转换。

  • CodeGenerator 代码生成 markdown 格式数据字典。

5.2 mica-logging 对 loki 支持

图片

六、mica生态

  • mica-auto (Spring boot starter 利器): https://gitee.com/596392912/mica-auto

  • mica-weixin(jfinal weixin 的 spring boot starter):https://gitee.com/596392912/mica-weixin

  • mica-mqtt(基于 t-io 实现的 mqtt组件):https://gitee.com/596392912/mica-mqtt

  • Spring cloud 微服务 http2 方案(h2c): https://gitee.com/596392912/spring-cloud-java11

  • mica-security(mica权限系统 vue 改造中): https://gitee.com/596392912/mica-security

七、文档

  • mica 源码 Gitee(码云):https://gitee.com/596392912/mica

  • mica 源码 Github:https://github.com/lets-mica

  • 文档地址(官网):http://wiki.dreamlu.net

  • 文档地址(语雀-可关注订阅):https://www.yuque.com/dreamlu

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值