Skip to content

Commit 7c785f4

Browse files
committed
Bump version to 0.9.84 and add Flutter package install instructions to README
1 parent b83891c commit 7c785f4

File tree

5 files changed

+25
-4
lines changed

5 files changed

+25
-4
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ jobs:
400400
body: |
401401
# Packages
402402
403-
[**Flutter/Dart**](https://pub.dev/packages/sqlite_vector): `dart pub add sqlite_vector`
403+
[**Flutter/Dart**](https://pub.dev/packages/sqlite_vector): `flutter pub add sqlite_vector:${{ steps.tag.outputs.version }}` or `dart pub add sqlite_vector:${{ steps.tag.outputs.version }}`
404404
[**Node**](https://www.npmjs.com/package/@sqliteai/sqlite-vector): `npm install @sqliteai/sqlite-vector`
405405
[**WASM**](https://www.npmjs.com/package/@sqliteai/sqlite-wasm): `npm install @sqliteai/sqlite-wasm`
406406
[**Android**](https://central.sonatype.com/artifact/ai.sqlite/vector): `ai.sqlite:vector:${{ steps.tag.outputs.version }}`

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,27 @@ pip install sqliteai-vector
152152

153153
For usage details and examples, see the [Python package documentation](./packages/python/README.md).
154154

155+
### Flutter Package
156+
157+
Add the [sqlite_vector](https://pub.dev/packages/sqlite_vector) package to your project:
158+
159+
```bash
160+
flutter pub add sqlite_vector # Flutter projects
161+
dart pub add sqlite_vector # Dart projects
162+
```
163+
164+
Usage with `sqlite3` package:
165+
```dart
166+
import 'package:sqlite3/sqlite3.dart';
167+
import 'package:sqlite_vector/sqlite_vector.dart';
168+
169+
sqlite3.loadSqliteVectorExtension();
170+
final db = sqlite3.openInMemory();
171+
print(db.select('SELECT vector_version()'));
172+
```
173+
174+
For a complete example, see the [Flutter example](https://github.com/sqliteai/sqlite-extensions-guide/blob/main/examples/flutter/README.md).
175+
155176
## Documentation
156177

157178
Extensive API documentation can be found in the [API page](https://github.com/sqliteai/sqlite-vector/blob/main/API.md).

packages/flutter/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 0.9.83
1+
## 0.9.84
22

33
- Initial release.
44
- Bundles pre-built sqlite-vector binaries for Android, iOS, macOS, Linux, and Windows.

packages/flutter/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: sqlite_vector
2-
version: 0.9.83
2+
version: 0.9.84
33
description: >
44
SQLite Vector is a cross-platform, ultra-efficient SQLite extension that
55
brings vector search capabilities to your embedded database. It works

src/sqlite-vector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
extern "C" {
2525
#endif
2626

27-
#define SQLITE_VECTOR_VERSION "0.9.83"
27+
#define SQLITE_VECTOR_VERSION "0.9.84"
2828

2929
SQLITE_VECTOR_API int sqlite3_vector_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi);
3030

0 commit comments

Comments
 (0)