Skip to content

Commit 9321477

Browse files
author
stlc-bot
committed
seal
1 parent 1136aaa commit 9321477

97 files changed

Lines changed: 2136 additions & 2847 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.release-please-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "2.20.0"
2+
".": "2.21.0"
33
}

‎CHANGELOG.md‎

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

3+
## [2.21.0](https://github.com/context-dot-dev/context-python-sdk/compare/v2.20.0...v2.21.0) (2026-09-27)
4+
5+
6+
### Features
7+
8+
* **feedback:** add agent feedback endpoint ([#1322](https://github.com/context-dot-dev/context-python-sdk/issues/1322)) ([959b17f](https://github.com/context-dot-dev/context-python-sdk/commit/959b17f9efdad40c29091bc8b7429b01984b27ca))
9+
* **highlights:** preserve Markdown structure in scrape excerpts ([#1236](https://github.com/context-dot-dev/context-python-sdk/issues/1236)) ([d002c89](https://github.com/context-dot-dev/context-python-sdk/commit/d002c89acd4b227769cfadb65da0558196e0dc65))
10+
* **scrape:** enable highlights with zero data retention ([#1246](https://github.com/context-dot-dev/context-python-sdk/issues/1246)) ([0459b42](https://github.com/context-dot-dev/context-python-sdk/commit/0459b4230713eff50beb67a903fe8bdd65bb92b8))
11+
12+
13+
### Bug Fixes
14+
15+
* **openapi:** document exclusive news filters ([#1265](https://github.com/context-dot-dev/context-python-sdk/issues/1265)) ([4e63b62](https://github.com/context-dot-dev/context-python-sdk/commit/4e63b620b7e8203bba480acca745d50b037150f9))
16+
* **scrape:** only flag partial success when a requested format succeeds ([#1325](https://github.com/context-dot-dev/context-python-sdk/issues/1325)) ([9a5597d](https://github.com/context-dot-dev/context-python-sdk/commit/9a5597dcc1faf9cf4e452337464e020833d02d42))
17+
* **scrape:** preserve successful formats when other outputs fail ([#1263](https://github.com/context-dot-dev/context-python-sdk/issues/1263)) ([e1761c5](https://github.com/context-dot-dev/context-python-sdk/commit/e1761c5c1ec14d6c0276e933f0aa388e056f36de))
18+
* **scrape:** retain highlight headings only when needed ([#1245](https://github.com/context-dot-dev/context-python-sdk/issues/1245)) ([a76377d](https://github.com/context-dot-dev/context-python-sdk/commit/a76377ddf7f9cc5baa002ac87ee3e0c032601a91))
19+
320
## [2.20.0](https://github.com/context-dot-dev/context-python-sdk/compare/v2.19.0...v2.20.0) (2026-09-23)
421

522

‎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 = "2.20.0"
3+
version = "2.21.0"
44
description = "The official Python library for the context.dev API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

‎src/context/dev/_client.py‎

Lines changed: 24 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,7 @@ def utility(self) -> UtilityResource:
157157

158158
@cached_property
159159
def monitors(self) -> MonitorsResource:
160-
"""
161-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
162-
"""
160+
"""Watch websites for exact or meaningful changes."""
163161
from .resources.monitors import MonitorsResource
164162

165163
return MonitorsResource(self)
@@ -185,27 +183,21 @@ def people(self) -> PeopleResource:
185183

186184
@cached_property
187185
def news(self) -> NewsResource:
188-
"""Search live first-party RSS and free historical news data by company identity."""
186+
"""Search live and historical news about a company."""
189187
from .resources.news import NewsResource
190188

191189
return NewsResource(self)
192190

193191
@cached_property
194192
def logs(self) -> LogsResource:
195-
"""Read your organization's API request logs to debug failed calls.
196-
197-
These endpoints cost no credits and use a separate rate limit.
198-
"""
193+
"""Read your organization's API request logs."""
199194
from .resources.logs import LogsResource
200195

201196
return LogsResource(self)
202197

203198
@cached_property
204199
def feedback(self) -> FeedbackResource:
205-
"""Report bugs, docs mismatches, and friction with any Context.dev API.
206-
207-
Submissions cost no credits and use a separate rate limit.
208-
"""
200+
"""Report API issues and documentation mismatches."""
209201
from .resources.feedback import FeedbackResource
210202

211203
return FeedbackResource(self)
@@ -419,9 +411,7 @@ def utility(self) -> AsyncUtilityResource:
419411

420412
@cached_property
421413
def monitors(self) -> AsyncMonitorsResource:
422-
"""
423-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
424-
"""
414+
"""Watch websites for exact or meaningful changes."""
425415
from .resources.monitors import AsyncMonitorsResource
426416

427417
return AsyncMonitorsResource(self)
@@ -447,27 +437,21 @@ def people(self) -> AsyncPeopleResource:
447437

448438
@cached_property
449439
def news(self) -> AsyncNewsResource:
450-
"""Search live first-party RSS and free historical news data by company identity."""
440+
"""Search live and historical news about a company."""
451441
from .resources.news import AsyncNewsResource
452442

453443
return AsyncNewsResource(self)
454444

455445
@cached_property
456446
def logs(self) -> AsyncLogsResource:
457-
"""Read your organization's API request logs to debug failed calls.
458-
459-
These endpoints cost no credits and use a separate rate limit.
460-
"""
447+
"""Read your organization's API request logs."""
461448
from .resources.logs import AsyncLogsResource
462449

463450
return AsyncLogsResource(self)
464451

465452
@cached_property
466453
def feedback(self) -> AsyncFeedbackResource:
467-
"""Report bugs, docs mismatches, and friction with any Context.dev API.
468-
469-
Submissions cost no credits and use a separate rate limit.
470-
"""
454+
"""Report API issues and documentation mismatches."""
471455
from .resources.feedback import AsyncFeedbackResource
472456

473457
return AsyncFeedbackResource(self)
@@ -623,9 +607,7 @@ def utility(self) -> utility.UtilityResourceWithRawResponse:
623607

624608
@cached_property
625609
def monitors(self) -> monitors.MonitorsResourceWithRawResponse:
626-
"""
627-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
628-
"""
610+
"""Watch websites for exact or meaningful changes."""
629611
from .resources.monitors import MonitorsResourceWithRawResponse
630612

631613
return MonitorsResourceWithRawResponse(self._client.monitors)
@@ -651,27 +633,21 @@ def people(self) -> people.PeopleResourceWithRawResponse:
651633

652634
@cached_property
653635
def news(self) -> news.NewsResourceWithRawResponse:
654-
"""Search live first-party RSS and free historical news data by company identity."""
636+
"""Search live and historical news about a company."""
655637
from .resources.news import NewsResourceWithRawResponse
656638

657639
return NewsResourceWithRawResponse(self._client.news)
658640

659641
@cached_property
660642
def logs(self) -> logs.LogsResourceWithRawResponse:
661-
"""Read your organization's API request logs to debug failed calls.
662-
663-
These endpoints cost no credits and use a separate rate limit.
664-
"""
643+
"""Read your organization's API request logs."""
665644
from .resources.logs import LogsResourceWithRawResponse
666645

667646
return LogsResourceWithRawResponse(self._client.logs)
668647

669648
@cached_property
670649
def feedback(self) -> feedback.FeedbackResourceWithRawResponse:
671-
"""Report bugs, docs mismatches, and friction with any Context.dev API.
672-
673-
Submissions cost no credits and use a separate rate limit.
674-
"""
650+
"""Report API issues and documentation mismatches."""
675651
from .resources.feedback import FeedbackResourceWithRawResponse
676652

677653
return FeedbackResourceWithRawResponse(self._client.feedback)
@@ -715,9 +691,7 @@ def utility(self) -> utility.AsyncUtilityResourceWithRawResponse:
715691

716692
@cached_property
717693
def monitors(self) -> monitors.AsyncMonitorsResourceWithRawResponse:
718-
"""
719-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
720-
"""
694+
"""Watch websites for exact or meaningful changes."""
721695
from .resources.monitors import AsyncMonitorsResourceWithRawResponse
722696

723697
return AsyncMonitorsResourceWithRawResponse(self._client.monitors)
@@ -743,27 +717,21 @@ def people(self) -> people.AsyncPeopleResourceWithRawResponse:
743717

744718
@cached_property
745719
def news(self) -> news.AsyncNewsResourceWithRawResponse:
746-
"""Search live first-party RSS and free historical news data by company identity."""
720+
"""Search live and historical news about a company."""
747721
from .resources.news import AsyncNewsResourceWithRawResponse
748722

749723
return AsyncNewsResourceWithRawResponse(self._client.news)
750724

751725
@cached_property
752726
def logs(self) -> logs.AsyncLogsResourceWithRawResponse:
753-
"""Read your organization's API request logs to debug failed calls.
754-
755-
These endpoints cost no credits and use a separate rate limit.
756-
"""
727+
"""Read your organization's API request logs."""
757728
from .resources.logs import AsyncLogsResourceWithRawResponse
758729

759730
return AsyncLogsResourceWithRawResponse(self._client.logs)
760731

761732
@cached_property
762733
def feedback(self) -> feedback.AsyncFeedbackResourceWithRawResponse:
763-
"""Report bugs, docs mismatches, and friction with any Context.dev API.
764-
765-
Submissions cost no credits and use a separate rate limit.
766-
"""
734+
"""Report API issues and documentation mismatches."""
767735
from .resources.feedback import AsyncFeedbackResourceWithRawResponse
768736

769737
return AsyncFeedbackResourceWithRawResponse(self._client.feedback)
@@ -807,9 +775,7 @@ def utility(self) -> utility.UtilityResourceWithStreamingResponse:
807775

808776
@cached_property
809777
def monitors(self) -> monitors.MonitorsResourceWithStreamingResponse:
810-
"""
811-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
812-
"""
778+
"""Watch websites for exact or meaningful changes."""
813779
from .resources.monitors import MonitorsResourceWithStreamingResponse
814780

815781
return MonitorsResourceWithStreamingResponse(self._client.monitors)
@@ -835,27 +801,21 @@ def people(self) -> people.PeopleResourceWithStreamingResponse:
835801

836802
@cached_property
837803
def news(self) -> news.NewsResourceWithStreamingResponse:
838-
"""Search live first-party RSS and free historical news data by company identity."""
804+
"""Search live and historical news about a company."""
839805
from .resources.news import NewsResourceWithStreamingResponse
840806

841807
return NewsResourceWithStreamingResponse(self._client.news)
842808

843809
@cached_property
844810
def logs(self) -> logs.LogsResourceWithStreamingResponse:
845-
"""Read your organization's API request logs to debug failed calls.
846-
847-
These endpoints cost no credits and use a separate rate limit.
848-
"""
811+
"""Read your organization's API request logs."""
849812
from .resources.logs import LogsResourceWithStreamingResponse
850813

851814
return LogsResourceWithStreamingResponse(self._client.logs)
852815

853816
@cached_property
854817
def feedback(self) -> feedback.FeedbackResourceWithStreamingResponse:
855-
"""Report bugs, docs mismatches, and friction with any Context.dev API.
856-
857-
Submissions cost no credits and use a separate rate limit.
858-
"""
818+
"""Report API issues and documentation mismatches."""
859819
from .resources.feedback import FeedbackResourceWithStreamingResponse
860820

861821
return FeedbackResourceWithStreamingResponse(self._client.feedback)
@@ -899,9 +859,7 @@ def utility(self) -> utility.AsyncUtilityResourceWithStreamingResponse:
899859

900860
@cached_property
901861
def monitors(self) -> monitors.AsyncMonitorsResourceWithStreamingResponse:
902-
"""
903-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
904-
"""
862+
"""Watch websites for exact or meaningful changes."""
905863
from .resources.monitors import AsyncMonitorsResourceWithStreamingResponse
906864

907865
return AsyncMonitorsResourceWithStreamingResponse(self._client.monitors)
@@ -927,27 +885,21 @@ def people(self) -> people.AsyncPeopleResourceWithStreamingResponse:
927885

928886
@cached_property
929887
def news(self) -> news.AsyncNewsResourceWithStreamingResponse:
930-
"""Search live first-party RSS and free historical news data by company identity."""
888+
"""Search live and historical news about a company."""
931889
from .resources.news import AsyncNewsResourceWithStreamingResponse
932890

933891
return AsyncNewsResourceWithStreamingResponse(self._client.news)
934892

935893
@cached_property
936894
def logs(self) -> logs.AsyncLogsResourceWithStreamingResponse:
937-
"""Read your organization's API request logs to debug failed calls.
938-
939-
These endpoints cost no credits and use a separate rate limit.
940-
"""
895+
"""Read your organization's API request logs."""
941896
from .resources.logs import AsyncLogsResourceWithStreamingResponse
942897

943898
return AsyncLogsResourceWithStreamingResponse(self._client.logs)
944899

945900
@cached_property
946901
def feedback(self) -> feedback.AsyncFeedbackResourceWithStreamingResponse:
947-
"""Report bugs, docs mismatches, and friction with any Context.dev API.
948-
949-
Submissions cost no credits and use a separate rate limit.
950-
"""
902+
"""Report API issues and documentation mismatches."""
951903
from .resources.feedback import AsyncFeedbackResourceWithStreamingResponse
952904

953905
return AsyncFeedbackResourceWithStreamingResponse(self._client.feedback)

‎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__ = "2.20.0" # x-release-please-version
4+
__version__ = "2.21.0" # x-release-please-version

0 commit comments

Comments
 (0)