Skip to content

Solon v2.8.4

Compare
Choose a tag to compare
@noear noear released this 21 Jun 09:15
· 3 commits to master since this release
  • 新增 solon.net.httputils 插件
  • 添加 BeanWarp::rawClz,优化 BeanWrapLifecycle 的检测方式(避免 LifecycleBean 重复注册)
  • 添加 CloudBreakerException 异常类,用于 CloudBreakerInterceptor
  • 添加 CloudStatusException 异常类,用于 Cloud 触发的 4xx 状态异常
  • 添加 Router 移除控制器的接口
  • 添加 openapi2 支持 action 返回接口类型
  • 简化 Router 注册控制器的方式
  • 优化 solon.boot.websocket 适配,在重启时端口不能立即复用的问题
  • 优化 List[Bean] 注入,支持排序
  • 优化 AppContext::beanShapeRegister 改为实例检测(之前为类型检测)
  • 调整 429 状态改由 CloudBreakerException 发出(访问量过大时)
  • 调整 415 状态改由 StatusException 发出(Consumes 不匹配)
  • 调整 用 solon.net.httputils 替换 solon.test 里的 HttpUtils(统一代码)
  • 调整 @Consumes @Produces 作用域,支持加在类上
  • 调整 solon-rpc 快捷包去掉 hessian 依赖(如有需要手动引入)
  • 调整 CloudBreakerInterceptor 融断时改为 CloudBreakerException(之前为直接设定 429 状态),更方便过滤和拦截
  • 修复 @Consumes @Produces 在 solon.docs 里无效的问题
  • fury 升为 0.5.1
  • liteflow 升为 2.12.1
  • socket.d 升为 2.5.7
  • folkmq 升为 1.7.2
  • mybatis-flex 升为 1.9.3
  • smartsocket 升为 1.5.44
  • smarthttp 升为 1.4.3
  • undertow 升为 2.2.32.Final