Skip to content
Merged
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
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.30.0"
".": "0.31.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: 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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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 = "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"
Expand Down
2 changes: 1 addition & 1 deletion src/context/dev/_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__ = "context.dev"
__version__ = "0.30.0" # x-release-please-version
__version__ = "0.31.0" # x-release-please-version
13 changes: 12 additions & 1 deletion src/context/dev/types/web_web_scrape_html_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Loading