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/.stats.yml b/.stats.yml index 132441d..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-9575a58bf027da9ca006bf34d9e24850ef2bbc6de0459b9fff6f26cf62e1d82d.yml -openapi_spec_hash: e68a98dbc0e29b45c42b3517eb554e6c +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/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 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"""