Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 13 additions & 14 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,13 +247,16 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"

- name: Install uv
uses: astral-sh/setup-uv@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
working-directory: python
run: uv python install

- name: Install build tools
run: pip install build
- name: Install dependencies
working-directory: python
run: uv sync

- name: Bump version
id: bump
Expand All @@ -267,26 +270,22 @@ jobs:
- name: Run lint and format check
working-directory: python
run: |
pip install "ruff>=0.12,<1"
ruff format --check .
ruff check .
uv run ruff format --check .
uv run ruff check .

- name: Run tests
working-directory: python
run: |
pip install -e ".[dev]"
pytest -q -m "not e2e"
run: uv run pytest -q -m "not e2e"

- name: Build package
working-directory: python
run: python -m build
run: uv build

- name: Inspect package contents
id: pack_info
working-directory: python
run: |
pip install twine
twine check dist/*
uvx twine check dist/*

# Get package info
whl_file=$(ls dist/*.whl 2>/dev/null | head -1)
Expand Down
20 changes: 20 additions & 0 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
## [1.1.14](https://github.com/Phala-Network/phala-cloud/compare/cli-v1.1.13...cli-v1.1.14) (2026-03-27)

### feat

* **cli:** add --prepare-only and --commit flags for multisig CVM updates ([99edfc0](https://github.com/Phala-Network/phala-cloud/commit/99edfc0f0a472bc8c92dc81dc1bebe26ac174ae0))
* **cli:** show chain ID and block explorer URL in --prepare-only output ([6de7e4a](https://github.com/Phala-Network/phala-cloud/commit/6de7e4aec4a8e0be258ff1db4638f2bd4e961441))
* display on-chain status in --prepare-only output ([f98f614](https://github.com/Phala-Network/phala-cloud/commit/f98f6149f13b9452099e23409964dcedbfb82ff7))
* **js,cli:** add on-chain prerequisite checks and improve update flow ([d3209e1](https://github.com/Phala-Network/phala-cloud/commit/d3209e1fd2b0be61455f5ec69de64a7919b1b7e2))
* **js:** add patchCvm and confirmCvmPatch for unified PATCH /cvms/{id} ([30cabaf](https://github.com/Phala-Network/phala-cloud/commit/30cabaf7084e72dbda656504d9f4359db95e2a16))

### fix

* **cli:** --commit mode no longer requires API key ([39bdd7a](https://github.com/Phala-Network/phala-cloud/commit/39bdd7ae98cfb39579a471e0abda3ba86cd56fb4))
* **cli:** 0x prefix on explorer URL, expired token hint ([4cb7398](https://github.com/Phala-Network/phala-cloud/commit/4cb73980850cab2a9f95f08ba0d1433c39a1faab))
* **cli:** add 0x prefix to compose hash in --prepare-only output ([62e4122](https://github.com/Phala-Network/phala-cloud/commit/62e4122486c281b82de0b538839ae3cff2ca6671))
* **cli:** add missing return after --prepare-only warning on non-on-chain CVM ([6a4abb8](https://github.com/Phala-Network/phala-cloud/commit/6a4abb8fc27fadcd90f3dc27f3cc5dc9b0a5755b))
* **cli:** fix --prepare-only output formatting for shell continuation ([732cbb8](https://github.com/Phala-Network/phala-cloud/commit/732cbb82787b04479db04d0d29f760bae78ca895))
* **cli:** fix --prepare-only output indentation, make --transaction-hash optional ([79e695f](https://github.com/Phala-Network/phala-cloud/commit/79e695f3402e38ba0c7233c30a517c63472157b2))
* **cli:** warn when --prepare-only used on non-on-chain KMS CVM ([f874b65](https://github.com/Phala-Network/phala-cloud/commit/f874b6526bcfe130e2078e5ecf4a7a64a429869c))
* **js,cli:** add missing files and fix compose hash tx verification ([7656a45](https://github.com/Phala-Network/phala-cloud/commit/7656a459ced2843a03146d6757fd019ede2f1f53))
## [1.1.13](https://github.com/Phala-Network/phala-cloud/compare/cli-v1.1.12...cli-v1.1.13) (2026-03-14)

### feat
Expand Down
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "phala",
"version": "1.1.13",
"version": "1.1.14",
"description": "CLI for Managing Phala Cloud Services",
"author": {
"name": "Phala Network",
Expand Down
2 changes: 1 addition & 1 deletion go/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ const (
DefaultBaseURL = "https://cloud-api.phala.com/api/v1"

// sdkVersion is the version of this SDK, used in User-Agent.
sdkVersion = "0.1.0"
sdkVersion = "0.1.1"
)
18 changes: 18 additions & 0 deletions js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
## [0.2.6](https://github.com/Phala-Network/phala-cloud/compare/js-v0.2.5...js-v0.2.6) (2026-03-27)

### feat

* add is-allowed API to JS, Python, and Go SDKs ([1fa61f0](https://github.com/Phala-Network/phala-cloud/commit/1fa61f0581ce111213f721f1c2d2f4744c3c2f00))
* add structured error codes and idempotency support across all SDKs ([2dd6d0b](https://github.com/Phala-Network/phala-cloud/commit/2dd6d0bae4d5fd7acdef551c3c9bf507ac1b0e4e)), closes [#1041](https://github.com/Phala-Network/phala-cloud/issues/1041)
* display on-chain status in --prepare-only output ([f98f614](https://github.com/Phala-Network/phala-cloud/commit/f98f6149f13b9452099e23409964dcedbfb82ff7))
* **js-sdk:** add webhook signature verification via @phala/cloud/webhook ([3544694](https://github.com/Phala-Network/phala-cloud/commit/3544694efbd70a7f2cbd123b2ca92ccbf3c99428))
* **js,cli:** add on-chain prerequisite checks and improve update flow ([d3209e1](https://github.com/Phala-Network/phala-cloud/commit/d3209e1fd2b0be61455f5ec69de64a7919b1b7e2))
* **js:** add patchCvm and confirmCvmPatch for unified PATCH /cvms/{id} ([30cabaf](https://github.com/Phala-Network/phala-cloud/commit/30cabaf7084e72dbda656504d9f4359db95e2a16))
* **sdk:** add prepareOnly support to patchCvm and new commitCvmUpdate action ([38d6bf4](https://github.com/Phala-Network/phala-cloud/commit/38d6bf40b9209f4fcfae70fcc4c5db2d0de379e8))

### fix

* **js,cli:** add missing files and fix compose hash tx verification ([7656a45](https://github.com/Phala-Network/phala-cloud/commit/7656a459ced2843a03146d6757fd019ede2f1f53))
* **js:** handle FormData Content-Type in post/put/patch methods ([68d77ef](https://github.com/Phala-Network/phala-cloud/commit/68d77ef29a865c4cf8fb8dd91afc703064dac416))
* **js:** send empty body in confirmCvmPatch instead of undefined ([a228001](https://github.com/Phala-Network/phala-cloud/commit/a22800121b6d4db6fa719864f8775cd70c28801d))
* **js:** use toMatchObject for viem Chain comparisons in tests ([5b5d00c](https://github.com/Phala-Network/phala-cloud/commit/5b5d00c0b8f32d8147e2d784e9a10ad7fcaf152e))
## [0.2.5](https://github.com/Phala-Network/phala-cloud/compare/js-v0.2.4...js-v0.2.5) (2026-03-14)

### docs
Expand Down
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@phala/cloud",
"version": "0.2.5",
"version": "0.2.6",
"description": "TypeScript SDK for Phala Cloud API",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down
10 changes: 9 additions & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "phala-cloud"
version = "0.1.1"
version = "0.1.2"
description = "Python SDK for Phala Cloud API (sync/async, pydantic, REPL-friendly)"
readme = "README.md"
requires-python = ">=3.10"
Expand All @@ -28,6 +28,14 @@ dependencies = [
"dstack-sdk>=0.1.0",
]

[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"ruff>=0.6.0",
"mypy>=1.10.0",
]

[dependency-groups]
dev = [
"pytest>=8.0.0",
Expand Down
Loading