diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f04d089..57dc0c3 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.32.0" + ".": "0.33.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index f1634d6..74f2330 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 25 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-8f6bc62256b5a4aa44e82389bfefee1d73172856c407567bba11a82fd4203641.yml -openapi_spec_hash: 8b7230de56ecbec4712fa1e81067a75c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-d605be55fd51d8f3ae53439a3bbcdcd20c4c78e3d9dcec9bf0bbf326290f0dd5.yml +openapi_spec_hash: 2f6a14c5ab9716e73da8e1c03df8cab6 config_hash: f86a4e06ae5ed725aa79d58d7a8dc27c diff --git a/CHANGELOG.md b/CHANGELOG.md index 8728cc7..13c487d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.33.0 (2026-06-08) + +Full Changelog: [v0.32.0...v0.33.0](https://github.com/context-dot-dev/context-python-sdk/compare/v0.32.0...v0.33.0) + +### Features + +* **api:** api update ([06f5e93](https://github.com/context-dot-dev/context-python-sdk/commit/06f5e93deea22c2b395703e10ecca554e086c7c2)) + ## 0.32.0 (2026-06-07) Full Changelog: [v0.31.0...v0.32.0](https://github.com/context-dot-dev/context-python-sdk/compare/v0.31.0...v0.32.0) diff --git a/pyproject.toml b/pyproject.toml index 7831f68..63fa77c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "context.dev" -version = "0.32.0" +version = "0.33.0" description = "The official Python library for the context.dev API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/context/dev/_version.py b/src/context/dev/_version.py index 554da7b..f5a3e45 100644 --- a/src/context/dev/_version.py +++ b/src/context/dev/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "context.dev" -__version__ = "0.32.0" # x-release-please-version +__version__ = "0.33.0" # x-release-please-version diff --git a/src/context/dev/resources/web.py b/src/context/dev/resources/web.py index c41b40a..2dbd25e 100644 --- a/src/context/dev/resources/web.py +++ b/src/context/dev/resources/web.py @@ -116,7 +116,8 @@ def extract( max_age_ms: Return cached scrape results if a prior scrape for the same parameters is younger than this many milliseconds. Defaults to 7 days (604800000 ms). - stop_after_ms: Soft time budget for the crawl in milliseconds. + stop_after_ms: Soft time budget for the crawl in milliseconds. Min: 10000 (10s). Max: 110000 + (110s). Default: 80000 (80s). timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer than this value, it will be aborted with a 408 status code. Maximum allowed @@ -568,8 +569,8 @@ def web_crawl_md( stop_after_ms: Soft time budget for the crawl in milliseconds. After each scrape, the crawler checks the elapsed time and, if exceeded, returns the pages collected so far - instead of continuing. Min: 10000 (10s). Max: 240000 (4 min). Default: 120000 (2 - min). + instead of continuing. Min: 10000 (10s). Max: 110000 (110s). Default: 80000 + (80s). timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer than this value, it will be aborted with a 408 status code. Maximum allowed @@ -1019,7 +1020,8 @@ async def extract( max_age_ms: Return cached scrape results if a prior scrape for the same parameters is younger than this many milliseconds. Defaults to 7 days (604800000 ms). - stop_after_ms: Soft time budget for the crawl in milliseconds. + stop_after_ms: Soft time budget for the crawl in milliseconds. Min: 10000 (10s). Max: 110000 + (110s). Default: 80000 (80s). timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer than this value, it will be aborted with a 408 status code. Maximum allowed @@ -1471,8 +1473,8 @@ async def web_crawl_md( stop_after_ms: Soft time budget for the crawl in milliseconds. After each scrape, the crawler checks the elapsed time and, if exceeded, returns the pages collected so far - instead of continuing. Min: 10000 (10s). Max: 240000 (4 min). Default: 120000 (2 - min). + instead of continuing. Min: 10000 (10s). Max: 110000 (110s). Default: 80000 + (80s). timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer than this value, it will be aborted with a 408 status code. Maximum allowed diff --git a/src/context/dev/types/web_extract_params.py b/src/context/dev/types/web_extract_params.py index b11c37d..e357153 100644 --- a/src/context/dev/types/web_extract_params.py +++ b/src/context/dev/types/web_extract_params.py @@ -55,7 +55,10 @@ class WebExtractParams(TypedDict, total=False): pdf: Pdf stop_after_ms: Annotated[int, PropertyInfo(alias="stopAfterMs")] - """Soft time budget for the crawl in milliseconds.""" + """Soft time budget for the crawl in milliseconds. + + Min: 10000 (10s). Max: 110000 (110s). Default: 80000 (80s). + """ timeout_ms: Annotated[int, PropertyInfo(alias="timeoutMS")] """Optional timeout in milliseconds for the request. diff --git a/src/context/dev/types/web_web_crawl_md_params.py b/src/context/dev/types/web_web_crawl_md_params.py index c8c7ba5..9ad3782 100644 --- a/src/context/dev/types/web_web_crawl_md_params.py +++ b/src/context/dev/types/web_web_crawl_md_params.py @@ -75,8 +75,8 @@ class WebWebCrawlMdParams(TypedDict, total=False): """Soft time budget for the crawl in milliseconds. After each scrape, the crawler checks the elapsed time and, if exceeded, returns - the pages collected so far instead of continuing. Min: 10000 (10s). Max: 240000 - (4 min). Default: 120000 (2 min). + the pages collected so far instead of continuing. Min: 10000 (10s). Max: 110000 + (110s). Default: 80000 (80s). """ timeout_ms: Annotated[int, PropertyInfo(alias="timeoutMS")]