Skip to content

Commit 1a4f92f

Browse files
committed
chore: release v0.2.1
1 parent 44f975a commit 1a4f92f

4 files changed

Lines changed: 11 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.2.1] - 2026-02-16
11+
1012
### Changed
1113

1214
- Shard and bloom filter saves use atomic write (temp file + rename) to prevent corruption
1315
from interrupted writes
1416

17+
### Fixed
18+
19+
- Fix type error in `ShardedNphdIndex.get()` causing CI type check failure
20+
1521
## [0.2.0] - 2026-02-08
1622

1723
### Added
@@ -69,3 +75,4 @@ Initial release of iscc-usearch.
6975

7076
[0.1.0]: https://github.com/iscc/iscc-usearch/releases/tag/0.1.0
7177
[0.2.0]: https://github.com/iscc/iscc-usearch/compare/0.1.0...0.2.0
78+
[0.2.1]: https://github.com/iscc/iscc-usearch/compare/0.2.0...0.2.1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "iscc-usearch"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
description = "Scalable approximate nearest neighbor search for variable-length binary bit-vectors using NPHD metric."
55
readme = "README.md"
66
license = "Apache-2.0"

src/iscc_usearch/sharded_nphd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def get(
330330
result = super().get(keys, dtype=dtype)
331331
if result is None:
332332
return None
333-
return unpad_vectors(result.reshape(1, -1))[0]
333+
return unpad_vectors(np.asarray(result).reshape(1, -1))[0]
334334

335335
# Multiple keys case - parent returns list with None for missing keys
336336
results = super().get(keys, dtype=dtype)

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)