Skip to content

Commit cc26a5a

Browse files
authored
Merge pull request #37 from context-dot-dev/release-please--branches--main--changes--next
release: 0.31.0
2 parents 358cad5 + 8cb220b commit cc26a5a

6 files changed

Lines changed: 25 additions & 6 deletions

File tree

‎.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.30.0"
2+
".": "0.31.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: 25
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-9575a58bf027da9ca006bf34d9e24850ef2bbc6de0459b9fff6f26cf62e1d82d.yml
3-
openapi_spec_hash: e68a98dbc0e29b45c42b3517eb554e6c
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-de0ba2ed18ec7265b0b20d9639b3da207dd33e354f0a856091902291c6661830.yml
3+
openapi_spec_hash: ae25efc2ac6bcab54bc3f4efaab73a55
44
config_hash: f86a4e06ae5ed725aa79d58d7a8dc27c

‎CHANGELOG.md‎

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

3+
## 0.31.0 (2026-06-07)
4+
5+
Full Changelog: [v0.30.0...v0.31.0](https://github.com/context-dot-dev/context-python-sdk/compare/v0.30.0...v0.31.0)
6+
7+
### Features
8+
9+
* **api:** api update ([dc7ab0d](https://github.com/context-dot-dev/context-python-sdk/commit/dc7ab0d30bd79c5f24b502a1d22e5b8602cbfd50))
10+
311
## 0.30.0 (2026-06-06)
412

513
Full Changelog: [v0.29.0...v0.30.0](https://github.com/context-dot-dev/context-python-sdk/compare/v0.29.0...v0.30.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 = "context.dev"
3-
version = "0.30.0"
3+
version = "0.31.0"
44
description = "The official Python library for the context.dev API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

‎src/context/dev/_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__ = "context.dev"
4-
__version__ = "0.30.0" # x-release-please-version
4+
__version__ = "0.31.0" # x-release-please-version

‎src/context/dev/types/web_web_scrape_html_response.py‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,21 @@
99

1010
class WebWebScrapeHTMLResponse(BaseModel):
1111
html: str
12-
"""Raw HTML content of the page"""
12+
"""The scraped content of the page.
13+
14+
For normal pages this is the raw HTML. When the page is a sitemap or feed served
15+
behind an XSL stylesheet (which browsers render into HTML), this is the
16+
underlying XML instead — see the `type` field.
17+
"""
1318

1419
success: Literal[True]
1520
"""Indicates success"""
1621

22+
type: Literal["html", "xml", "json", "text", "csv", "markdown", "svg", "pdf"]
23+
"""Detected content type of the returned `html` field.
24+
25+
Sitemaps and feeds are surfaced as `xml`; ordinary pages are `html`.
26+
"""
27+
1728
url: str
1829
"""The URL that was scraped"""

0 commit comments

Comments
 (0)