Skip to content

Commit ba3bcd6

Browse files
committed
chore: release version 2.4.0 with unique text constraint and conflict handling
- Added `unique_text` parameter in `create_table` for enforcing uniqueness on the text column. - Introduced `on_conflict` parameter in `add` method to manage duplicate entries with options: "error", "ignore", and "replace". - Implemented validation for `on_conflict` values to ensure only accepted options are used. - Updated tests to cover unique text constraints and all conflict resolution strategies. - Updated version in `pyproject.toml` and added `uv.lock` file.
1 parent 466d941 commit ba3bcd6

3 files changed

Lines changed: 35 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.4.0] - 2026-04-21
9+
10+
### Added
11+
- `unique_text` parameter in `create_table` to enforce a uniqueness constraint on the text column
12+
- `on_conflict` parameter in the `add` method to control duplicate-entry handling with options: `"error"`, `"ignore"`, and `"replace"`
13+
- Validation for `on_conflict` values to ensure only accepted options are used
14+
- Tests covering unique text constraints and all conflict resolution strategies
15+
816
## [2.3.0] - 2025-02-15
917

1018
### Added

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "sqlite-vec-client"
7-
version = "2.3.0"
7+
version = "2.4.0"
88
description = "A lightweight Python client around sqlite-vec for CRUD and similarity search."
99
readme = "README.md"
1010
requires-python = ">=3.9"

uv.lock

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

0 commit comments

Comments
 (0)