Skip to content

Commit 79c31eb

Browse files
authored
Merge pull request #45 from tidbcloud/release/v0.2.3
Release v0.2.3
2 parents 6f6f347 + 7f81ecc commit 79c31eb

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

‎docs/release-notes/v0.2.3.md‎

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# TiDB Cloud CLI v0.2.3
2+
3+
This release moves TiDB Cloud Filesystem resource inventory and lifecycle management onto the TiDB Cloud control plane, adds organization-visible metadata, and makes Filesystem region and mount behavior more predictable.
4+
5+
## What's new
6+
7+
- `ti fs create-file-system`, `list-file-systems`, `describe-file-system`, and `delete-file-system` now use the typed TiDB Cloud Filesystem tenant API. Remote inventory is authoritative and remains selected by immutable `file_system_id`.
8+
- Filesystem creation accepts an optional display name and repeatable labels. List supports display-name and exact-label filters, while list and describe expose status, labels, quota usage, and whether the current machine has a local token without revealing token plaintext.
9+
- TiDB Cloud Filesystem endpoint mappings for `aws-us-east-1`, `aws-ap-southeast-1`, `aws-us-west-2`, and `alicloud-ap-southeast-1` are built into `ti`. Runtime commands and installers no longer depend on downloading a Drive9 region manifest.
10+
- Alibaba Cloud placement now uses the canonical `alicloud-ap-southeast-1` code. Existing local credentials using the legacy `ali-ap-southeast-1` code remain usable.
11+
- Successful background mounts now return the structured `ti` result without raw Drive9 startup or misleading unmount guidance. Foreground mounts still stream companion output, and failed background mounts retain their diagnostic log path.
12+
- Installer output is shorter and command help fixes several visible wording and spacing errors.
13+
14+
## Upgrade from v0.2.2
15+
16+
Drain and unmount active Filesystem mounts before replacing `ti` and its bundled `ti-drive9` companion, then run:
17+
18+
```bash
19+
ti update --check
20+
ti update
21+
ti --version
22+
```
23+
24+
New installations can use:
25+
26+
```bash
27+
curl -fsSL https://github.com/tidbcloud/ti-cli/releases/download/v0.2.3/install.sh | sh -s -- --yes
28+
export PATH="$HOME/.ti/bin:$PATH"
29+
ti --version
30+
```
31+
32+
## Manage Filesystem metadata
33+
34+
Create a Filesystem with organization-visible metadata and wait for it to become ready:
35+
36+
```bash
37+
FILE_SYSTEM_ID="$(ti fs create-file-system \
38+
--display-name agent-workspace \
39+
--label environment=development \
40+
--wait \
41+
--query file_system_id \
42+
--output text)"
43+
```
44+
45+
Filter remote inventory and inspect the selected resource:
46+
47+
```bash
48+
ti fs list-file-systems \
49+
--display-name agent-workspace \
50+
--label environment=development \
51+
--output text
52+
ti fs describe-file-system --file-system-id "$FILE_SYSTEM_ID" --output text
53+
```
54+
55+
Display names and labels are metadata only. Continue to use `--file-system-id`, `TI_FS_FILE_SYSTEM_ID`, or an explicitly supplied Filesystem token to select a resource.

0 commit comments

Comments
 (0)