From f0dd84f58f3995b8aff3fc5c9a956d2b39e4c58e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 6 Jun 2026 15:15:30 +0000 Subject: [PATCH 1/3] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 132441d..b60e5a5 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-9575a58bf027da9ca006bf34d9e24850ef2bbc6de0459b9fff6f26cf62e1d82d.yml -openapi_spec_hash: e68a98dbc0e29b45c42b3517eb554e6c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-77c81f079d31117b328f8535234bcde15298c29437b89916a1414a32e34fc16e.yml +openapi_spec_hash: eeaa6f1cfcc0b604cc1dec505c5dc15d config_hash: f86a4e06ae5ed725aa79d58d7a8dc27c From dc7ab0d30bd79c5f24b502a1d22e5b8602cbfd50 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 15:12:40 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 ++-- .../dev/types/web_web_scrape_html_response.py | 13 ++++++++++++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index b60e5a5..27382d2 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-77c81f079d31117b328f8535234bcde15298c29437b89916a1414a32e34fc16e.yml -openapi_spec_hash: eeaa6f1cfcc0b604cc1dec505c5dc15d +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-de0ba2ed18ec7265b0b20d9639b3da207dd33e354f0a856091902291c6661830.yml +openapi_spec_hash: ae25efc2ac6bcab54bc3f4efaab73a55 config_hash: f86a4e06ae5ed725aa79d58d7a8dc27c diff --git a/src/context/dev/types/web_web_scrape_html_response.py b/src/context/dev/types/web_web_scrape_html_response.py index f96ef12..2e8caa7 100644 --- a/src/context/dev/types/web_web_scrape_html_response.py +++ b/src/context/dev/types/web_web_scrape_html_response.py @@ -9,10 +9,21 @@ class WebWebScrapeHTMLResponse(BaseModel): html: str - """Raw HTML content of the page""" + """The scraped content of the page. + + For normal pages this is the raw HTML. When the page is a sitemap or feed served + behind an XSL stylesheet (which browsers render into HTML), this is the + underlying XML instead — see the `type` field. + """ success: Literal[True] """Indicates success""" + type: Literal["html", "xml", "json", "text", "csv", "markdown", "svg", "pdf"] + """Detected content type of the returned `html` field. + + Sitemaps and feeds are surfaced as `xml`; ordinary pages are `html`. + """ + url: str """The URL that was scraped""" From 8cb220b044231ab8f2c2afc406785acb4968b74e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 15:13:03 +0000 Subject: [PATCH 3/3] release: 0.31.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/context/dev/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 554e34b..f81bf99 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.30.0" + ".": "0.31.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index dac3c43..33e8517 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.31.0 (2026-06-07) + +Full Changelog: [v0.30.0...v0.31.0](https://github.com/context-dot-dev/context-python-sdk/compare/v0.30.0...v0.31.0) + +### Features + +* **api:** api update ([dc7ab0d](https://github.com/context-dot-dev/context-python-sdk/commit/dc7ab0d30bd79c5f24b502a1d22e5b8602cbfd50)) + ## 0.30.0 (2026-06-06) Full Changelog: [v0.29.0...v0.30.0](https://github.com/context-dot-dev/context-python-sdk/compare/v0.29.0...v0.30.0) diff --git a/pyproject.toml b/pyproject.toml index eb5d463..72fc076 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "context.dev" -version = "0.30.0" +version = "0.31.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 57667bf..91dd603 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.30.0" # x-release-please-version +__version__ = "0.31.0" # x-release-please-version