Skip to content

Commit dadf685

Browse files
authored
Merge pull request #134 from steel-dev/release-please--branches--main--changes--next
release: 0.19.0
2 parents 00054e3 + 13d996c commit dadf685

12 files changed

Lines changed: 104 additions & 6 deletions

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.18.0"
2+
".": "0.19.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 39
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/nen-labs/steel-1adb331648e417385feb2f84de86b9e1a5440ff6f2c9182f14b25337c3ea5588.yml
3-
openapi_spec_hash: d9fe0172a42c9ebce9f339aefd93bcd5
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/nen-labs/steel-7dfdbffbc4a1b1f44637815cabdc6831ab00a3bbf5157cec73107b5f9d6be8df.yml
3+
openapi_spec_hash: 8d63332328e084a1f1be8d643ceaa685
44
config_hash: dce4dea59023b0a00890fa654fbfffb4

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 0.19.0 (2026-06-23)
4+
5+
Full Changelog: [v0.18.0...v0.19.0](https://github.com/steel-dev/steel-python/compare/v0.18.0...v0.19.0)
6+
7+
### Features
8+
9+
* **api:** api update ([a894084](https://github.com/steel-dev/steel-python/commit/a894084294c159526a3ef049289c2f611c88b368))
10+
* **api:** api update ([8d799e8](https://github.com/steel-dev/steel-python/commit/8d799e868c0ae347a7964150f6ee8068e06a9a68))
11+
312
## 0.18.0 (2026-06-09)
413

514
Full Changelog: [v0.17.0...v0.18.0](https://github.com/steel-dev/steel-python/compare/v0.17.0...v0.18.0)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "steel-sdk"
3-
version = "0.18.0"
3+
version = "0.19.0"
44
description = "The official Python library for the steel API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/steel/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "steel"
4-
__version__ = "0.18.0" # x-release-please-version
4+
__version__ = "0.19.0" # x-release-please-version

src/steel/resources/profiles.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def create(
5454
dimensions: profile_create_params.Dimensions | Omit = omit,
5555
project_id: str | Omit = omit,
5656
proxy_url: str | Omit = omit,
57+
use_proxy: str | Omit = omit,
5758
user_agent: str | Omit = omit,
5859
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
5960
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -74,6 +75,9 @@ def create(
7475
7576
proxy_url: The proxy associated with the profile
7677
78+
use_proxy: JSON-encoded proxy configuration associated with the profile. For fixed IPs,
79+
send {"type":"fixed","id":"fixed:<id>"}.
80+
7781
user_agent: The user agent associated with the profile
7882
7983
extra_headers: Send extra headers
@@ -90,6 +94,7 @@ def create(
9094
"dimensions": dimensions,
9195
"project_id": project_id,
9296
"proxy_url": proxy_url,
97+
"use_proxy": use_proxy,
9398
"user_agent": user_agent,
9499
},
95100
[["userDataDir"]],
@@ -118,6 +123,7 @@ def update(
118123
dimensions: profile_update_params.Dimensions | Omit = omit,
119124
body_project_id: str | Omit = omit,
120125
proxy_url: str | Omit = omit,
126+
use_proxy: str | Omit = omit,
121127
user_agent: str | Omit = omit,
122128
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
123129
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -140,6 +146,9 @@ def update(
140146
141147
proxy_url: The proxy associated with the profile
142148
149+
use_proxy: JSON-encoded proxy configuration associated with the profile. For fixed IPs,
150+
send {"type":"fixed","id":"fixed:<id>"}.
151+
143152
user_agent: The user agent associated with the profile
144153
145154
extra_headers: Send extra headers
@@ -158,6 +167,7 @@ def update(
158167
"dimensions": dimensions,
159168
"body_project_id": body_project_id,
160169
"proxy_url": proxy_url,
170+
"use_proxy": use_proxy,
161171
"user_agent": user_agent,
162172
},
163173
[["userDataDir"]],
@@ -288,6 +298,7 @@ async def create(
288298
dimensions: profile_create_params.Dimensions | Omit = omit,
289299
project_id: str | Omit = omit,
290300
proxy_url: str | Omit = omit,
301+
use_proxy: str | Omit = omit,
291302
user_agent: str | Omit = omit,
292303
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
293304
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -308,6 +319,9 @@ async def create(
308319
309320
proxy_url: The proxy associated with the profile
310321
322+
use_proxy: JSON-encoded proxy configuration associated with the profile. For fixed IPs,
323+
send {"type":"fixed","id":"fixed:<id>"}.
324+
311325
user_agent: The user agent associated with the profile
312326
313327
extra_headers: Send extra headers
@@ -324,6 +338,7 @@ async def create(
324338
"dimensions": dimensions,
325339
"project_id": project_id,
326340
"proxy_url": proxy_url,
341+
"use_proxy": use_proxy,
327342
"user_agent": user_agent,
328343
},
329344
[["userDataDir"]],
@@ -352,6 +367,7 @@ async def update(
352367
dimensions: profile_update_params.Dimensions | Omit = omit,
353368
body_project_id: str | Omit = omit,
354369
proxy_url: str | Omit = omit,
370+
use_proxy: str | Omit = omit,
355371
user_agent: str | Omit = omit,
356372
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
357373
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -374,6 +390,9 @@ async def update(
374390
375391
proxy_url: The proxy associated with the profile
376392
393+
use_proxy: JSON-encoded proxy configuration associated with the profile. For fixed IPs,
394+
send {"type":"fixed","id":"fixed:<id>"}.
395+
377396
user_agent: The user agent associated with the profile
378397
379398
extra_headers: Send extra headers
@@ -392,6 +411,7 @@ async def update(
392411
"dimensions": dimensions,
393412
"body_project_id": body_project_id,
394413
"proxy_url": proxy_url,
414+
"use_proxy": use_proxy,
395415
"user_agent": user_agent,
396416
},
397417
[["userDataDir"]],

src/steel/types/profile_create_params.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ class ProfileCreateParams(TypedDict, total=False):
2323
proxy_url: Annotated[str, PropertyInfo(alias="proxyUrl")]
2424
"""The proxy associated with the profile"""
2525

26+
use_proxy: Annotated[str, PropertyInfo(alias="useProxy")]
27+
"""JSON-encoded proxy configuration associated with the profile.
28+
29+
For fixed IPs, send {"type":"fixed","id":"fixed:<id>"}.
30+
"""
31+
2632
user_agent: Annotated[str, PropertyInfo(alias="userAgent")]
2733
"""The user agent associated with the profile"""
2834

src/steel/types/profile_update_params.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ class ProfileUpdateParams(TypedDict, total=False):
2626
proxy_url: Annotated[str, PropertyInfo(alias="proxyUrl")]
2727
"""The proxy associated with the profile"""
2828

29+
use_proxy: Annotated[str, PropertyInfo(alias="useProxy")]
30+
"""JSON-encoded proxy configuration associated with the profile.
31+
32+
For fixed IPs, send {"type":"fixed","id":"fixed:<id>"}.
33+
"""
34+
2935
user_agent: Annotated[str, PropertyInfo(alias="userAgent")]
3036
"""The user agent associated with the profile"""
3137

src/steel/types/session.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,28 @@ class Session(BaseModel):
179179
] = None
180180
"""The region where the session was created."""
181181

182+
release_reason: Optional[
183+
Literal[
184+
"user_requested",
185+
"timeout",
186+
"inactivity_timeout",
187+
"creation_timeout",
188+
"startup_failed",
189+
"browser_closed",
190+
"browser_crashed",
191+
]
192+
] = FieldInfo(alias="releaseReason", default=None)
193+
"""Why the session reached a terminal state.
194+
195+
Null while the session is live, or when the reason is unknown (e.g. sessions
196+
created before this was tracked). One of: user_requested (released via the
197+
API/SDK), timeout (hard `timeout` elapsed), inactivity_timeout (no activity for
198+
the configured window), creation_timeout (never started in time), startup_failed
199+
(could not be dispatched), browser_closed (the browser or agent closed itself —
200+
not a crash), browser_crashed (the browser crashed or its machine became
201+
unresponsive).
202+
"""
203+
182204
solve_captcha: Optional[bool] = FieldInfo(alias="solveCaptcha", default=None)
183205
"""Indicates if captcha solving is enabled"""
184206

src/steel/types/session_create_params.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"UseProxyGeolocation",
3030
"UseProxyGeolocationGeolocation",
3131
"UseProxyServer",
32+
"UseProxyUnionMember3",
3233
]
3334

3435

@@ -1724,4 +1725,12 @@ class UseProxyServer(TypedDict, total=False):
17241725
"""Proxy server URL"""
17251726

17261727

1727-
UseProxy: TypeAlias = Union[bool, UseProxyGeolocation, UseProxyServer, object]
1728+
class UseProxyUnionMember3(TypedDict, total=False):
1729+
type: Required[Literal["fixed"]]
1730+
"""Use Steel fixed IP proxies"""
1731+
1732+
id: str
1733+
"""Specific fixed IP identifier. Omit to use any active fixed IP owned by the org."""
1734+
1735+
1736+
UseProxy: TypeAlias = Union[bool, UseProxyGeolocation, UseProxyServer, UseProxyUnionMember3, object]

0 commit comments

Comments
 (0)