# 框架版本说明

## 目录

> * [版本说明](#chapter-1)
> * [版本列表](#chapter-2)

## 1 版本说明

使用 TARS 其实涉及到以下几部分:

* TARS 框架部署
* 使用各 TARS 各语言的库实现业务代码

这里主要描述 TARS 框架的版本, TARS 框架主要由三部分组成: TarsCpp, TarsFramework, TarsWeb, 其中 TarsFramework 编译是依赖 TarsCpp 的(通过 submodule 形式引入), 因此确定了 TarsFramework 的版本就确定了使用的 TarsCpp 的版本.

在新版的 Web 平台右上角, 可以看到目前框架的 TarsFramework 和 TarsWeb 的版本!

但是注意以下几点:

* Docker 形式部署时, 拉取的镜像: `tarscloud/framework:$tag`, 这里这个$tag 并不是对应的 TarsFramework 的版本
* `tarscloud/framework`包含了 TarsFramework 也包含了 TarsWeb, 因此无法用 TarsFramework 的版本号来标示
* `tarscloud/framework:$tag` 的 tag 是`https://github.com/TarsCloud/Tars` 对应的 tag 号
* 所有相关代码最终都以 submodule 形式被 Tars 这个 git 所引用, 且 docker 的镜像是通过 Tars 这个 git 的 action 自动编译出来的, 因此对应的该版本号!

## 2 版本列表

* 普通TARS版本

| tarscloud/framework镜像版本 | TarsFramework代码版本        | TarsWeb代码版本 |
| ----------------------- | ------------------------ | ----------- |
| v3.0.16                 | v3.0.11(tarscpp-v3.0.13) | v3.0.12     |
| v3.0.15                 | v3.0.11                  | v3.0.11     |
| v3.0.14                 | v3.0.11                  | v3.0.10     |
| v3.0.13                 | v3.0.10                  | v3.0.9      |
| v3.0.12                 | v3.0.10                  | v3.0.8      |
| v3.0.11                 | v3.0.9                   | v3.0.7      |
| v3.0.10                 | v3.0.8                   | v3.0.3      |
| v3.0.9                  | v3.0.8                   | v3.0.2      |
| v3.0.8                  | v3.0.7                   | v3.0.1      |
| v3.0.7                  | v3.0.6                   | v3.0.0      |
| v3.0.6                  | v3.0.5                   | v2.4.27     |
| v3.0.5                  | v3.0.4                   | v2.4.25     |
| v3.0.4                  | v3.0.3                   | v2.4.23     |
| v3.0.3                  | v3.0.3                   | v2.4.21     |
| v3.0.2                  | v3.0.2                   | v2.4.20     |
| v3.0.1                  | v3.0.1                   | v2.4.19     |

* K8SFramework版本

| tarscloud/framework镜像版本 | TarsCpp代码版本 | TarsWeb代码版本 |
| ----------------------- | ----------- | ----------- |
| v1.3.11                 | v3.0.12     | v3.0.11     |
| v1.3.10                 | v3.0.12     | v3.0.10     |
| v1.3.9                  | v3.0.12     | v3.0.9      |
| v1.3.8                  | v3.0.12     | v3.0.8      |
| v1.3.7                  | v3.0.11     | v3.0.7      |
| v1.3.6                  | v3.0.11     | v3.0.7      |
| v1.3.5                  | v3.0.12     | v3.0.5      |
| v1.3.4                  | v3.0.11     | v3.0.4      |
| v1.3.3                  | v3.0.11     | v3.0.3      |
| v1.3.2                  | v3.0.8      | v3.0.1      |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tarscloud.gitbook.io/tarsdocs/ji-chu-jie-shao/version.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
