Skip to content
Open
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
lint:
timeout-minutes: 10
name: lint
runs-on: ${{ github.repository == 'stainless-sdks/steel-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand All @@ -44,7 +44,7 @@ jobs:
permissions:
contents: read
id-token: write
runs-on: ${{ github.repository == 'stainless-sdks/steel-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
test:
timeout-minutes: 10
name: test
runs-on: ${{ github.repository == 'stainless-sdks/steel-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.19.0"
".": "0.20.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 39
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/nen-labs/steel-7dfdbffbc4a1b1f44637815cabdc6831ab00a3bbf5157cec73107b5f9d6be8df.yml
openapi_spec_hash: 8d63332328e084a1f1be8d643ceaa685
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/nen-labs/steel-ce5d1b98232bff8090133e02e6421e8d559fed0386f9c83f3ad501ca173527aa.yml
openapi_spec_hash: aba12d36d6d1be379bee50d4d9545247
config_hash: dce4dea59023b0a00890fa654fbfffb4
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.20.0 (2026-07-23)

Full Changelog: [v0.19.0...v0.20.0](https://github.com/steel-dev/steel-python/compare/v0.19.0...v0.20.0)

### Features

* **api:** api update ([879f6dc](https://github.com/steel-dev/steel-python/commit/879f6dcfb4d245beee7b46a75d4701193d91fb58))
* **stlc:** configurable CI runner and private-production-repo support in workflow templates ([837c9ae](https://github.com/steel-dev/steel-python/commit/837c9ae8c741960dc8fac522a738fc352124da93))

## 0.19.0 (2026-06-23)

Full Changelog: [v0.18.0...v0.19.0](https://github.com/steel-dev/steel-python/compare/v0.18.0...v0.19.0)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "steel-sdk"
version = "0.19.0"
version = "0.20.0"
description = "The official Python library for the steel API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/steel/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "steel"
__version__ = "0.19.0" # x-release-please-version
__version__ = "0.20.0" # x-release-please-version
22 changes: 4 additions & 18 deletions src/steel/types/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ class Session(BaseModel):
id: str
"""Unique identifier for the session"""

browser_mode: Literal["stealth", "standard", "unknown"] = FieldInfo(alias="browserMode")
"""Browser mode used for this session."""

created_at: datetime = FieldInfo(alias="createdAt")
"""Timestamp when the session started"""

Expand Down Expand Up @@ -159,24 +162,7 @@ class Session(BaseModel):
project_id: Optional[str] = FieldInfo(alias="projectId", default=None)
"""The project associated with the session"""

region: Optional[
Literal[
"lax",
"ord",
"iad",
"scl",
"fra",
"nrt",
"us-east",
"us-west",
"us-central",
"eu-west",
"eu-central",
"ap-northeast",
"ap-southeast",
"sa-east",
]
] = None
region: Optional[str] = None
"""The region where the session was created."""

release_reason: Optional[
Expand Down
22 changes: 4 additions & 18 deletions src/steel/types/sessionslist.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ class Session(BaseModel):
id: str
"""Unique identifier for the session"""

browser_mode: Literal["stealth", "standard", "unknown"] = FieldInfo(alias="browserMode")
"""Browser mode used for this session."""

created_at: datetime = FieldInfo(alias="createdAt")
"""Timestamp when the session started"""

Expand Down Expand Up @@ -167,24 +170,7 @@ class Session(BaseModel):
project_id: Optional[str] = FieldInfo(alias="projectId", default=None)
"""The project associated with the session"""

region: Optional[
Literal[
"lax",
"ord",
"iad",
"scl",
"fra",
"nrt",
"us-east",
"us-west",
"us-central",
"eu-west",
"eu-central",
"ap-northeast",
"ap-southeast",
"sa-east",
]
] = None
region: Optional[str] = None
"""The region where the session was created."""

release_reason: Optional[
Expand Down