注意:说明:
注意:获取 SDK 的详细步骤请参考下载 Maven。
一、版本配套关系说明
| Spring Cloud | Spring Boot |
| 2022 | 3.1.x3.0.x |
| 2021 | 2.7.x2.6.x |
| 2020 | 2.5.x |
| Hoxton | 2.3.x |
| Greenwich | 2.1.x |
| Finchley | 2.0.x |
| Edgware | 1.5.x |
二、长期维护 SDK 版本
TSF 长期维护 LTS (Long Term Support) 版本,SDK 的第三位版本号会根据缺陷修复递增。详情参见 SDK 版本更新日志。
| SDK 版本号 | 新增特性 |
| 1.46.x(1.40.x) | 支持微服务网关可扩展性。支持使用 TSF 网关 SDK 的同时,自定义网关路由策略、支持 WebSocket、支持跨域等原生网关能力OAuth 插件支持第三方鉴权地址为微服务 API 的能力支持原生网关使用熔断治理的能力支持服务监听触发回调支持查看下发配置 |
| 1.29.x | 补齐 Spring Cloud Gateway 网关的服务治理能力微服务网关支持托管外部 API支持云上 Spring Cloud 应用平滑迁移 TSF调用链支持 CMQ、PostgreSQL |
| 1.23.x | 新增 Spring Cloud Gateway 微服务网关,链路追踪和调用监控微服务网关路径重写配置和微信小程序登录插件调用链支持 RocketMQ |
| 1.21.x | 支持服务熔断支持服务容错支持全链路灰度发布 |
| 1.18.x | 支持微服务网关(zuul1 版)SDK,基于此 SDK 二次研发,无缝集成 TSF 平台服务治理能力增加 swagger-ui 依赖包调用链支持 MySQL JDBC、Redis、MongoDB、CMQ、Kafka支持全局命名空间新增自定义日志配置需要的 Converter 和 Layout 类,支持用户使用自定义 logback\\log4j\\log4j2 日志配置 |
| 1.12.x | 支持服务限流支持服务路由支持服务鉴权支持分布式配置支持调用链 |
三、SDK 版本使用说明
注意:说明:
四、公有云 TSF
对于 TSF 公有云的用户,建议使用 TSF LTS 版本。如果你希望使用最新的产品能力,可以使用最新的版本。
五、私有化 TSF
对于 TSF 私有云的用户,SDK 版本号需要和 TSF 平台版本保持一致,SDK 的缺陷会在第三位版本号上体现,例如用户使用 TSF 1.12.4 版本,推荐使用的 SDK 版本为 1.12.x。
| TSF 私有化平台版本 | Edgware | Finchley | Greenwich | Hoxton | 2020 | 2021 |
| 1.46.x | – | 1.40.x-Finchley-RELEASE1.46.x-Finchley-RELEASE | 1.40.x-Greenwich-RELEASE1.46.x-Greenwich-RELEASE | 1.40.x-Hoxton-Higher-RELEASE1.46.x-Hoxton-Higher-RELEASE | 1.40.x-SpringCloud2020-RELEASE1.46.x-SpringCloud2020-RELEASE | 1.40.x-SpringCloud2021-RELEASE1.46.x-SpringCloud2021-RELEASE |
| 1.29.x | – | 1.29.x-Finchley-RELEASE | 1.29.x-Greenwich-RELEASE | 1.29.x-Hoxton-Higher-RELEASE | – | – |
| 1.23.x | – | 1.23.x-Finchley-RELEASE | 1.23.x-Greenwich-RELEASE | – | – | – |
| 1.21.x | – | 1.21.x-Finchley-RELEASE | 1.21.x-Greenwich-RELEASE | – | – | – |
| 1.18.x | – | 1.18.x-Finchley-RELEASE | 1.18.x-Greenwich-RELEASE | – | – | – |
| 1.12.x | 1.12.x-Edgware-RELEASE | 1.12.x-Finchley-RELEASE | – | – | – | – |