Skip to content

feat: implement v1.4 directory services#53

Open
arpad-csepi wants to merge 8 commits into
mainfrom
feat/v1.4
Open

feat: implement v1.4 directory services#53
arpad-csepi wants to merge 8 commits into
mainfrom
feat/v1.4

Conversation

@arpad-csepi

@arpad-csepi arpad-csepi commented Jun 12, 2026

Copy link
Copy Markdown
Member

This PR bumps the Directory Python SDK to v1.4.0, aligned with agntcy/dir v1.4.0. It adds client wrappers for new gRPC APIs introduced in Directory v1.4 and documents annotation-based search via the existing search API.

New client APIs

  • search_routing: wraps RoutingService.Search for network-wide routing search. Exposed on RoutingService and the top-level Client.
  • delete_referrer: wraps StoreService.DeleteReferrer for removing referrer records. Exposed on StoreService and the top-level Client.

Annotation-based search

  • No new search method; uses existing search_cids with RECORD_QUERY_TYPE_ANNOTATION and a key:value query string (e.g. "env:prod"). Covered in integration tests and in examples/example.py.

Dependencies & release metadata

  • Buf-generated dependencies (agntcy-dir-grpc-python, agntcy-dir-protocolbuffers-python) updated to track Directory v1.4.0.
  • Version bumped to 1.4.0 in pyproject.toml, examples, and the bug report template.
  • CHANGELOG.md and RELEASE.md updated for v1.4.0.

Packaging

  • Excludes dir_sdk/tests from the published wheel via Hatch build config so test code is not shipped in releases.

Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
@arpad-csepi arpad-csepi marked this pull request as ready for review June 15, 2026 14:21
@arpad-csepi arpad-csepi requested a review from a team as a code owner June 15, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade deployed directory version to v1.4 Remove test files from release

1 participant