Skip to content

Commit e5896e4

Browse files
committed
release: prepare v0.2.3
- Fix: critical bug in OnDeviceEmbeddingsAdapter (outputs.first) - Fix: invalid Mermaid diagram in README - Fix: move http to dependencies for tool scripts - Improvement: replace forEach with for loops in cleanup - CI/CD: disable auto benchmark trigger, add Linux desktop - Chore: exclude test_resources/ and tool/ from pub package - Update: version to 0.2.3 in all files
1 parent e1d44b9 commit e5896e4

5 files changed

Lines changed: 20 additions & 4 deletions

File tree

.pubignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,9 @@ pubspec.lock
2626

2727
# Nested test app (not part of published package)
2828
isar_agent_memory_tests/
29+
30+
# Test resources (models downloaded on-demand)
31+
test_resources/
32+
33+
# Development tools
34+
tool/

CHANGELOG.md

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

3+
## 0.2.3 - 2024-11-24
4+
5+
- **Fix**: Critical bug in `OnDeviceEmbeddingsAdapter` - corrected `outputs.values.first` to `outputs.first`.
6+
- **Fix**: Corrected invalid Mermaid diagram syntax in README (ASCII art → valid Mermaid).
7+
- **Fix**: Moved `http` from dev_dependencies to dependencies for tool scripts.
8+
- **Improvement**: Replaced `forEach` with for loops in resource cleanup (better Dart practice).
9+
- **CI/CD**: Disabled automatic benchmark workflow trigger (manual only) and added Linux desktop support.
10+
- **Chore**: Added `test_resources/` and `tool/` to `.pubignore` to reduce package size.
11+
312
## 0.2.2 - 2025-08-18
413

514
- **New Feature**: Added `OnDeviceEmbeddingsAdapter` using `onnxruntime` for privacy-first, local embedding generation.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
### 1. Add dependency (pubspec.yaml)
1515

1616
```yaml
17-
isar_agent_memory: ^0.2.2
17+
isar_agent_memory: ^0.2.3
1818
isar: ^3.1.0+1
1919
# ObjectBox is the default vector backend.
2020
# onnxruntime is used for on-device embeddings.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: isar_agent_memory
2-
version: 0.2.2
2+
version: 0.2.3
33
description: >-
44
Universal, local-first cognitive memory package for LLMs and AI agents. Graph-based, explainable, LLM-agnostic. Inspired by Cognee/Graphiti.
55
repository: https://github.com/iberi22/isar_agent_memory

tool/benchmark.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ Future<void> main() async {
99
final vocabPath = 'test_resources/vocab.txt';
1010

1111
if (!File(modelPath).existsSync() || !File(vocabPath).existsSync()) {
12-
print('Error: Model files not found. Run tool/setup_on_device_test.dart first.');
12+
print(
13+
'Error: Model files not found. Run tool/setup_on_device_test.dart first.');
1314
exit(1);
1415
}
1516

@@ -95,7 +96,7 @@ Future<void> main() async {
9596
9697
## Throughput
9798
98-
- **Total Time:** ${(toMs(latencies.reduce((a,b)=>a+b)) / 1000).toStringAsFixed(2)} s
99+
- **Total Time:** ${(toMs(latencies.reduce((a, b) => a + b)) / 1000).toStringAsFixed(2)} s
99100
- **Est. IPS (Inferences Per Second):** ${(1000000 / avg).toStringAsFixed(1)}
100101
101102
''';

0 commit comments

Comments
 (0)