Skip to content

Commit 3cfe298

Browse files
authored
Merge pull request #95 from hyperspell/release-please--branches--main--changes--next
release: 0.21.0
2 parents 03a45d2 + 46ac294 commit 3cfe298

File tree

7 files changed

+17
-12
lines changed

7 files changed

+17
-12
lines changed

.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.20.0"
2+
".": "0.21.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: 13
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell%2Fhyperspell-e8dc461bfd68745a68eddc289ac15c0c5d222f20e81a5c61b11ee3807a75d839.yml
3-
openapi_spec_hash: 24eece3c79152b96c2cc0f398cf9d6af
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell%2Fhyperspell-14d23949fc9a5cf375c542a7a2bda08334079fab55f43b80a3d94ede34244da3.yml
3+
openapi_spec_hash: b80c4f0e0311ff9125dfe27a5a405395
44
config_hash: bf6196b98ec72829d458bc45ccd5a5f9

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.21.0 (2025-08-05)
4+
5+
Full Changelog: [v0.20.0...v0.21.0](https://github.com/hyperspell/python-sdk/compare/v0.20.0...v0.21.0)
6+
7+
### Features
8+
9+
* **api:** api update ([ec5f973](https://github.com/hyperspell/python-sdk/commit/ec5f97338107ae64be0e174dda3ec4dda5903918))
10+
311
## 0.20.0 (2025-08-01)
412

513
Full Changelog: [v0.19.0...v0.20.0](https://github.com/hyperspell/python-sdk/compare/v0.19.0...v0.20.0)

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ client = Hyperspell(
3535
memory_status = client.memories.add(
3636
text="text",
3737
)
38-
print(memory_status.id)
38+
print(memory_status.resource_id)
3939
```
4040

4141
While you can provide an `api_key` keyword argument,
@@ -61,7 +61,7 @@ async def main() -> None:
6161
memory_status = await client.memories.add(
6262
text="text",
6363
)
64-
print(memory_status.id)
64+
print(memory_status.resource_id)
6565

6666

6767
asyncio.run(main())
@@ -96,7 +96,7 @@ async def main() -> None:
9696
memory_status = await client.memories.add(
9797
text="text",
9898
)
99-
print(memory_status.id)
99+
print(memory_status.resource_id)
100100

101101

102102
asyncio.run(main())
@@ -350,7 +350,7 @@ response = client.memories.with_raw_response.add(
350350
print(response.headers.get('X-My-Header'))
351351

352352
memory = response.parse() # get the object that `memories.add()` would have returned
353-
print(memory.id)
353+
print(memory.resource_id)
354354
```
355355

356356
These methods return an [`APIResponse`](https://github.com/hyperspell/python-sdk/tree/main/src/hyperspell/_response.py) object.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "hyperspell"
3-
version = "0.20.0"
3+
version = "0.21.0"
44
description = "The official Python library for the hyperspell API"
55
dynamic = ["readme"]
66
license = "MIT"

src/hyperspell/_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__ = "hyperspell"
4-
__version__ = "0.20.0" # x-release-please-version
4+
__version__ = "0.21.0" # x-release-please-version

src/hyperspell/types/memory_status.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88

99

1010
class MemoryStatus(BaseModel):
11-
id: int
12-
"""Deprecated: refer to documents by source and resource_id instead"""
13-
1411
resource_id: str
1512

1613
source: Literal[

0 commit comments

Comments
 (0)