> For the complete documentation index, see [llms.txt](https://docs.unitlab.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.unitlab.ai/api-sdk-cli/ko/get-started/versioning-and-changelog.md).

# 버전 관리와 변경 로그

unitlab 패키지와 /api/sdk 경로의 버전 관리 방식, 업그레이드 방법, 릴리스별 변경 사항(changelog)을 정리합니다.

## 버전 관리 방식 <a href="#how-versions-work" id="how-versions-work"></a>

| 구성 요소                     | 버전 관리                                                                                                              |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| `unitlab` 패키지 (SDK 및 CLI) | [PyPI](https://pypi.org/project/unitlab/)의 시맨틱 버전. 패치 릴리스는 버그를 수정하고, 마이너 릴리스는 기능을 추가하며, 메이저 릴리스는 기존 동작을 바꿀 수 있습니다. |
| `/api/sdk/` 아래의 HTTP API  | 버전 접두사 없는 단일 라이브 버전. 경로와 필드는 기존 클라이언트를 깨지 않도록 추가되며, 기존 응답 필드는 형태를 유지하므로 배포된 SDK 버전이 계속 동작합니다.                      |
| 서버 기능                     | 새 SDK 기능에는 더 새로운 서버가 필요할 수 있습니다. 이 경우 SDK는 조용히 다른 동작을 하지 않고 명확한 오류 코드와 함께 실패합니다.                                   |

새 SDK 옵션은 사용할 때만 전송되므로, SDK를 업그레이드해도 변경하지 않은 코드는 이전과 같은 요청을 보냅니다.

### 서버 기능 확인 <a href="#server-feature-checks" id="server-feature-checks"></a>

| 기능                            | 서버가 지원하지 않을 때의 오류                                       |
| ----------------------------- | ------------------------------------------------------- |
| 벤치마크 업로드와 `mark_benchmarks()` | `UnitlabError`, `code="benchmarks_unsupported"`         |
| 벤치마크 어노테이션 가져오기               | `AnnotationImportError`, `code="benchmark_unsupported"` |
| `completed_only` 릴리스          | `UnitlabError`, `code="completed_only_unsupported"`     |

`app.unitlab.ai`는 항상 최신 서버로 운영됩니다. 전용 배포는 뒤처질 수 있으므로 지원되는 SDK 버전을 관리자에게 확인하세요.

## 업그레이드 <a href="#upgrade" id="upgrade"></a>

```bash
python -m pip install --upgrade unitlab
unitlab --version
```

프로덕션에서는 정확한 버전(`unitlab==3.2.0`)을 고정하고, 업로드 1건과 릴리스 다운로드 1건을 테스트한 뒤 의도적으로 업그레이드합니다.

## 변경 로그 <a href="#changelog" id="changelog"></a>

### 3.2.0 (2026-11-19) <a href="#id-3.2.0-2026-11-19" id="id-3.2.0-2026-11-19"></a>

* **벤치마크.** `project.upload(..., benchmark=True)`와 `unitlab project upload --benchmark`는 업로드한 모든 항목을 초안 정답 키가 있는 벤치마크로 만듭니다. `project.mark_benchmarks(ids)`는 기존 항목을 벤치마크로 지정합니다. [벤치마크](https://docs.unitlab.ai/api-sdk-cli/ko/sdks/benchmarks.md)를 참고하세요.
* **벤치마크 라벨 가져오기.** `annotation_imports.create(..., benchmark=True)`는 라벨을 항목이 아닌 숨겨진 정답 키에 기록합니다. `approve_keys=True`를 지정하면 커밋 시 키를 승인합니다.

### 3.1.4 \~ 3.1.6 (2026년 10월) <a href="#id-3.1.4-to-3.1.6-october-2026" id="id-3.1.4-to-3.1.6-october-2026"></a>

* **Agent 단계 웹훅.** `AgentWebhook.verify()`는 Standard Webhooks 서명을 검증합니다. `task.get_annotations()`, `task.save_annotations()`, `task.complete_agent()`, `task.fail_agent()`로 자체 서비스가 Agent 단계의 작업에 라벨을 지정할 수 있습니다. [작업 어노테이션과 Agent 웹훅](https://docs.unitlab.ai/api-sdk-cli/ko/sdks/task-annotations-and-agent-webhooks.md)을 참고하세요.
* **데이터셋 초안.** `dataset.remove_assets()`와 `unitlab dataset remove-assets`로 데이터셋 초안에서 파일을 제거합니다.
* LiDAR 씬 라벨을 작업 어노테이션으로 읽고 저장할 수 있으며, 대용량 저장은 자동으로 나누어 전송됩니다.

### 3.1.0 \~ 3.1.3 (2026년 10월) <a href="#id-3.1.0-to-3.1.3-october-2026" id="id-3.1.0-to-3.1.3-october-2026"></a>

* **어노테이션 가져오기.** `project.annotation_imports`는 프로젝트에 이미 있는 미디어에 대해 COCO, UUEF, Audio JSON, GeoJSON, 네이티브 JSON 라벨을 미리 보고 커밋합니다. [어노테이션 가져오기](https://docs.unitlab.ai/api-sdk-cli/ko/sdks/annotation-imports.md)를 참고하세요.
* 커밋을 미리보기대로 기록할 수 없으면 `AnnotationImportError`가 차단된 행과 파일 문제를 나열합니다.

### 3.0.1 \~ 3.0.5 (2026년 8월 \~ 10월) <a href="#id-3.0.1-to-3.0.5-august-to-october-2026" id="id-3.0.1-to-3.0.5-august-to-october-2026"></a>

* **LiDAR 씬.** `generic_type="pointcloud"`로 `.pcd`, `.ply`, `.bin`, 씬 폴더, `.zip`, nuScenes 데이터셋을 업로드합니다. `detect_scenes()`와 `--dry-run`으로 전송될 내용을 미리 볼 수 있습니다. [LiDAR 씬 업로드](https://docs.unitlab.ai/api-sdk-cli/ko/sdks/lidar-scene-uploads.md)를 참고하세요.
* **Asset 상태.** `client.assets.asset(id)`, `asset.wait()`, `asset.retry()`, `unitlab assets status`, `unitlab assets retry`.
* **백그라운드 릴리스.** 릴리스는 서버에서 준비됩니다. `release.wait()`와 `unitlab release wait`로 진행을 추적합니다. 릴리스가 실행 중일 때 두 번째 릴리스를 시작하면 `ConflictError`가 발생합니다.
* **Model 단계.** `task.complete_model_run()`과 `task.fail_model_run()`으로 자체 모델 서비스의 결과를 보고합니다.
* Consensus 헬퍼: `task.get_consensus_comparison()`, `task.copy_consensus_component()`.

### 3.0.0 (2026-07-27) <a href="#id-3.0.0-2026-07-27" id="id-3.0.0-2026-07-27"></a>

`UnitlabClient`와 타입이 지정된 리소스 핸들을 중심으로 새로 만든 클라이언트입니다. 프로젝트, Batch Queue, Asset, 폴더, 데이터셋과 버전, 온톨로지, 워크플로 작업, 릴리스, 클라우드 스토리지, 임베딩 공간을 다룹니다. 2.x용 코드는 업데이트해야 합니다.

## 관련 문서 <a href="#related" id="related"></a>

[SDK와 CLI 설치](https://docs.unitlab.ai/api-sdk-cli/ko/get-started/install-the-python-sdk-and-cli.md) · [예외, 타임아웃, 재시도](https://docs.unitlab.ai/api-sdk-cli/ko/sdks/exceptions-timeouts-and-retries.md) · [API 개요](https://docs.unitlab.ai/api-sdk-cli/ko/apis/api-overview.md)
