Releases: geekidea/spring-boot-plus
V2.0
V1.4.0
[V1.4.0] 2019.11.5 🚔
spring-boot-plus集成用户角色权限部门管理
⭐️ New Features
- 两种方式获取验证码
- 用户角色权限部门功能
- 同时生成多张表代码
⚡️ Optimization
- 自定义是否启用Shiro权限拦截
- 优化LogAop配置
- 代码生成模板优化,三种生成策略
- 自定义生成Shiro
RequiresPermissions注解 Jackson工具类,按字段顺序格式化输出BaseEnum枚举父接口,EnumController,BaseEnumUtil,EnumTypeValidator校验/获取枚举信息
🐞 Bug Fixes
- fix #81 刷新token问题
- fix 获取角色token问题
- fix refreshToken方法和LoginUtil工具类方法问题
📔 Documentation
🔨 Dependency Upgrades
- Upgrade to
spring-boot2.2.0.RELEASE - Upgrade to
spring-boot-admin2.2.0-SNAPSHOT - Upgrade to
lombok1.18.10 - Upgrade to
hutool5.0.3 - Upgrade to
mapstruct1.3.1.Final - Upgrade to
hutool5.0.4
V1.3.1-RELEASE
[V1.3.1-RELEASE] 2019.10.15
⭐️ New Features
- Xss跨站脚本工具处理
- CORS跨域配置
⚡️ Optimization
- 代码生成器可自定义配置生成哪些文件
- 请求路径filter配置,配置文件属性名称调整
- Aop切点优化,
AopJSON参数输出优化 - 可配置是否生成
Validation验证代码 - 优化
controller,entity模版生成 - 优化代码生成器 CodeGenerator
- 调整
aop,filter,interceptor,controller,param,vo代码目录结构
📝 Added/Modified
- Add
XssFilter,XssHttpServletRequestWrapper,XssJacksonDeserializer,XssJacksonSerializer - Add
SpringBootPlusCorsProperties - Update
JacksonConfig - Update
LogAop,RequestPathFilter,ShiroConfig
🐞 Bug Fixes
- fix druid控制面板无法访问问题
📔 Documentation
🔨 Dependency Upgrades
- Upgrade to
spring-boot2.1.9.RELEASE - Upgrade to
Fastjson1.2.62 - Upgrade to
hutool4.6.10 - Add
commons-text1.8
V1.3.0-RELEASE
[V1.3.0-RELEASE] 2019.10.06
⭐️ New Features
- 集成Apache Shiro安全框架
- 集成JWT 跨域身份验证解决方案
⚡️ Optimization
- 优化代码生成模块格式
- mybatis控制台打印SQL执行语句及结果集
- Redis使用Jackson序列化
RedisTemplateConfigGenericJackson2JsonRedisSerializer - 删除security目录
- 修改sys_user表结构
📝 Added/Modified
- Add
SpringBootPlusFilterConfig过滤器配置类 - Add
SpringBootPlusException,DaoException自定义异常类 - Add
ShiroConfig,ShiroPermissionConfig,ShiroPropertiesShiro配置类 - Add
JwtCredentialsMatcher,JwtFilter,JwtProperties,JwtRealm,JwtTokenJWT配置 - Add
LoginRedisService,LoginRedisServiceImplRedis登陆缓存处理
🐞 Bug Fixes
- fix startup.sh启动jar指定logback.xml
📔 Documentation
🔨 Dependency Upgrades
- Upgrade to
Fastjson1.2.61 - Add
shiro-spring-boot-starter1.4.1 - Add
java-jwt3.8.3 - Add
mapstruct,mapstruct-processor1.3.0.Final对象属性复制 - Add
ini4j0.5.4ini格式文件处理
V1.2.3-RELEASE
[V1.2.3-RELEASE] 2019.09.09 💻
spring-boot-plusV1.2.3发布,CentOS快速安装环境/构建/部署/启动项目
⭐️ New Features
- 项目运行环境安装脚本
- CentOS快速构建/部署/启动项目脚本
⚡️ Optimization
- 优化
maven-assembly-plugin项目打包插件
📝 Added/Modified
-
Add install-jdk.sh yum安装
jdk8脚本 -
Add install-git.sh yum安装
git脚本 -
Add install-maven.sh yum安装
maven脚本 -
Add install-redis.sh yum安装
redis脚本 -
Add install-mysql.sh yum安装
mysql脚本 -
Add install-all.sh 安装所有环境脚本
-
Add download-install-all.sh 下载并安装所有环境脚本
-
Add deploy.sh 下载项目/构建/部署/启动项目脚本
-
Add
maven-javadoc-pluginjava api docs
📔 Documentation
CentOS Quick Installation Environment / Build / Deploy / Launch Spring-boot-plus Project
🔨 Dependency Upgrades
- Upgrade to
springboot2.1.8.RELEASE - Upgrade to
Mybatis3.5.2 - Upgrade to
Mybatis Plus3.2.0 - Upgrade to
Alibaba Druid1.1.20 - Upgrade to
Fastjson1.2.60 - Upgrade to
commons-codec1.13 - Upgrade to
commons-collections4.4 - Upgrade to
hutool-all4.6.4
V1.2.2-RELEASE
[V1.2.2-RELEASE] 2019.08.26 🏇
⭐️ New Features
- 拦截器启用禁用配置
- 文件上传下载安全/权限控制
- 启用
logback.xml日志配置
⚡️ Optimization
- 更改core包目录
- 下载上传拦截器
- logback.xml显示行号
application.yml拦截器配置新增include-path拦截路径配置
📝 Added/Modified
- Add
UploadInterceptor文件上传全局拦截器 - Add
DownloadInterceptor文件下载全局拦截器 - Add
DownloadHandlerDefaultDownloadHandler文件下载回调自定义处理器 - Modify
config/WebMvcConfig-->core/SpringBootPlusWebMvcConfig - Modify
ImageController-->ResouceController,请求路径/api/resource - Add
SysUserCRUD
🐞 Bug Fixes
- Fix 文件下载路径潜在安全漏洞,过滤
../非法路径参数 - Fix 优化文件下载,Firefox 中文乱码问题
📔 Documentation
🔨 Dependency Upgrades
pom.xml使用spring-boot-starter-validation替换hibernate-validator依赖
V1.2.1-RELEASE
[V1.2.1-RELEASE] 2019.08.21
⭐️ New Features
- 文件上传保存到服务器指定目录
- 文件下载
- 访问上传的图片等资源
- 启用项目静态资源访问,可访问static/templates目录下资源
⚡️ Optimization
- static资源访问:http://localhost:8888/static/welcome.html
- templates资源访问:http://localhost:8888/templates/springbootplus.html
- 上传swagger:http://localhost:8888/swagger-ui.html#!/upload-controller/uploadUsingPOST
- 上传后,图片文件访问:http://localhost:8888//resource/201908210134467.png
- 图片自定义控制访问:http://localhost:8888/image/201908210134467.png
📝 Added/Modified
-
Add
UploadController上传控制器 -
Add
DownloadController下载控制器 -
Add
ImageController图片访问控制器 -
Add
ResourceInterceptor资源拦截器 -
Add
welcome.html在static目录下 -
Add
springbootplus.html在templates目录下 -
Add
ContentTypeUtil文件类型工具 -
Add
mime-type.properties文件类型自定义拓展配置 -
Add
UploadUtil上传工具类,UploadFileNameHandle文件名称回调接口,DefaultUploadFileNameHandleImpl默认文件名称实现类 -
Add
DownloadUtil下载工具类 -
Modify
WebMvcConfig注册资源拦截器,项目静态资源访问配置 -
Modify
SpringBootPlusConfig创建ResourceInterceptor资源拦截器 -
Modify
SpringBootPlusInterceptorConfig添加resourceConfig资源拦截器配置 -
Modify
SpringBootPlusProperties添加uploadPath,resourceAccessPath,resourceAccessPatterns,resourceAccessUrl属性 -
Modify
application.yml,application-local.yml添加文件上传/下载配置 -
Modify
mysql_spring_boot_plus.sql添加创建数据库语句,如果不存在,则创建
🐞 Bug Fixes
- 拦截器
exclude-path,include-path字符串配置问题,已修改为数组接收String[] excludePath,String[] includePath
📔 Documentation
🔨 Dependency Upgrades
- Upgrade to springboot 2.1.7.RELEASE
V1.2.0-RELEASE
[V1.2.0-RELEASE] 2019.08.06
🚀 spring-boot-plus演示地址
⭐️ New Features
- 集成
maven-assembly-plugin进行项目打包 - 启动/重启脚本
- 提取
config配置文件到项目外部 - 可配置代码生成查询参数是否支持排序
- 可配置代码生成策略:ALL/SIMPLE
- 新增
SpringBootPlusProperties自定义属性配置类 - 新增
SpringBootPlusConfig项目配置类
⚡️ Optimization
- 优化启动命令脚本路径
- 优化配置文件,设置默认值
- 优化分页排序,使用
OrderItem - 优化代码生成器模板
- 完成CRUD单元测试
- 完成Swagger接口测试
- 删除OrderEnum枚举类,使用
OrderItem替代 - 移除Rabbit/Kafka MQ配置,将在后续版本中已模块形式体现
- 优化刷新Swagger,后台报404 NOT FOUND,设置Swagger版本为
2.6.1 - 优化
application.yml及application-xxx.yml配置文件
🐞 Bug Fixes
- 修复LocalDateTime日期错误问题,使用Date日期类型
- 修复SpringBootAdmin在线查日志错误问题
📔 Documentation
🔨 Dependency Upgrades
- Upgrade to mybatis-plus 3.1.2
- Upgrade to druid 1.1.18
- Upgrade to fastjson 1.2.59
V1.1.0-RELEASE
⭐️ New Features
- 集成spring boot admin 后台监控功能
⚡️ Optimization
- 细节优化
- dev和 local环境一致
📔 Documentation
😃 QQ技术交流讨论群
V1.0.0-RELEASE
Introduction
spring-boot-plus是一套集成spring boot常用开发组件的后台快速开发框架
Purpose
每个人都可以独立、快速、高效地开发项目!
Everyone can develop projects independently, quickly and efficiently!
Quick Start
官网地址:springboot.plus
GITHUB:https://github.com/geekidea/spring-boot-plus
GITEE:https://gitee.com/geekidea/spring-boot-plus
主要特性
- 集成spring boot 常用开发组件集、公共配置、AOP日志等
- 集成mybatis plus快速dao操作
- 快速生成后台代码: entity/param/vo/controller/service/mapper/xml
- 集成swagger2,可自动生成api文档
- 集成jwt、spring security权限控制
- 集成redis、spring cache、ehcache缓存
- 集成rabbit/rocket/kafka mq消息队列
- 集成druid连接池,JDBC性能和慢查询检测
- 集成spring boot admin,实时检测项目运行情况
- 使用assembly maven插件进行不同环境打包部署,包含启动、重启命令,配置文件提取到外部config目录
