diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 41f1b57..bdc23ae 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "3.54.0" + ".": "3.55.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 1d1b745..9f7a948 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 26 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc/supermemory-new-1fb5800f03799e86f90b20b81f24654db100089421c7bc5ad9b6a978fbc2ac7b.yml -openapi_spec_hash: 32480891d93bdc469a2dfa900fd27386 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc/supermemory-new-c207a10df858199c6d25fe82831d18c2fbe4861495050be62d7d8cef3b918d84.yml +openapi_spec_hash: d26ff44dda96d7aff0801873c1ce9534 config_hash: cde97ef3188581c5f4924c633ec33ddb diff --git a/CHANGELOG.md b/CHANGELOG.md index cad4ff2..c120e6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 3.55.0 (2026-07-24) + +Full Changelog: [v3.54.0...v3.55.0](https://github.com/supermemoryai/python-sdk/compare/v3.54.0...v3.55.0) + +### Features + +* **api:** api update ([6dbb312](https://github.com/supermemoryai/python-sdk/commit/6dbb312223bc4ff25ed95dd4fa570a363e9aaff7)) + ## 3.54.0 (2026-07-23) Full Changelog: [v3.53.0...v3.54.0](https://github.com/supermemoryai/python-sdk/compare/v3.53.0...v3.54.0) diff --git a/pyproject.toml b/pyproject.toml index fb01b96..a541ceb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "supermemory" -version = "3.54.0" +version = "3.55.0" description = "The official Python library for the supermemory API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/supermemory/_version.py b/src/supermemory/_version.py index 7d58036..2cd3e96 100644 --- a/src/supermemory/_version.py +++ b/src/supermemory/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "supermemory" -__version__ = "3.54.0" # x-release-please-version +__version__ = "3.55.0" # x-release-please-version diff --git a/src/supermemory/resources/search.py b/src/supermemory/resources/search.py index c02d83c..3b092bb 100644 --- a/src/supermemory/resources/search.py +++ b/src/supermemory/resources/search.py @@ -265,6 +265,7 @@ def memories( q: str, aggregate: bool | Omit = omit, container_tag: str | Omit = omit, + container_tags: SequenceNotStr[str] | Omit = omit, filepath: str | Omit = omit, filters: search_memories_params.Filters | Omit = omit, include: search_memories_params.Include | Omit = omit, @@ -293,6 +294,9 @@ def memories( container_tag: Optional tag this search should be containerized by. This can be an ID for your user, a project ID, or any other identifier you wish to use to filter memories. + container_tags: Optional tags this search should be containerized by. Search is scoped to + memories under these tags. + filepath: Filter search results by filepath. Exact match for full paths, prefix match if ending with / @@ -329,6 +333,7 @@ def memories( "q": q, "aggregate": aggregate, "container_tag": container_tag, + "container_tags": container_tags, "filepath": filepath, "filters": filters, "include": include, @@ -587,6 +592,7 @@ async def memories( q: str, aggregate: bool | Omit = omit, container_tag: str | Omit = omit, + container_tags: SequenceNotStr[str] | Omit = omit, filepath: str | Omit = omit, filters: search_memories_params.Filters | Omit = omit, include: search_memories_params.Include | Omit = omit, @@ -615,6 +621,9 @@ async def memories( container_tag: Optional tag this search should be containerized by. This can be an ID for your user, a project ID, or any other identifier you wish to use to filter memories. + container_tags: Optional tags this search should be containerized by. Search is scoped to + memories under these tags. + filepath: Filter search results by filepath. Exact match for full paths, prefix match if ending with / @@ -651,6 +660,7 @@ async def memories( "q": q, "aggregate": aggregate, "container_tag": container_tag, + "container_tags": container_tags, "filepath": filepath, "filters": filters, "include": include, diff --git a/src/supermemory/types/search_memories_params.py b/src/supermemory/types/search_memories_params.py index 12aa665..3ead4d1 100644 --- a/src/supermemory/types/search_memories_params.py +++ b/src/supermemory/types/search_memories_params.py @@ -5,6 +5,7 @@ from typing import Union, Iterable from typing_extensions import Literal, Required, Annotated, TypeAlias, TypedDict +from .._types import SequenceNotStr from .._utils import PropertyInfo __all__ = [ @@ -346,6 +347,12 @@ class SearchMemoriesParams(TypedDict, total=False): to use to filter memories. """ + container_tags: Annotated[SequenceNotStr[str], PropertyInfo(alias="containerTags")] + """Optional tags this search should be containerized by. + + Search is scoped to memories under these tags. + """ + filepath: str """Filter search results by filepath. diff --git a/tests/api_resources/test_search.py b/tests/api_resources/test_search.py index 87c94eb..a6a922b 100644 --- a/tests/api_resources/test_search.py +++ b/tests/api_resources/test_search.py @@ -170,6 +170,7 @@ def test_method_memories_with_all_params(self, client: Supermemory) -> None: q="what are the API rate limits", aggregate=False, container_tag="user_alex", + container_tags=["user_alex"], filepath="filepath", filters={ "or_": [ @@ -379,6 +380,7 @@ async def test_method_memories_with_all_params(self, async_client: AsyncSupermem q="what are the API rate limits", aggregate=False, container_tag="user_alex", + container_tags=["user_alex"], filepath="filepath", filters={ "or_": [