From b84ba2254e6e98fe8fd5168c5ef612a4bc6aaf7f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 3 Dec 2026 20:48:13 +0000 Subject: [PATCH] chore: version packages --- .changeset/quiet-pandas-filter.md | 20 -------------------- packages/drizzle/CHANGELOG.md | 21 +++++++++++++++++++++ packages/drizzle/package.json | 2 +- 3 files changed, 22 insertions(+), 21 deletions(-) delete mode 100644 .changeset/quiet-pandas-filter.md diff --git a/.changeset/quiet-pandas-filter.md b/.changeset/quiet-pandas-filter.md deleted file mode 100644 index e2f4962..0000000 --- a/.changeset/quiet-pandas-filter.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -"@softzweig/spindle-drizzle": minor ---- - -Filter values can carry an operator. A value may now be a condition, a small branded object -that builds its own clause from the column the key resolved to, so `ilike`, ranges and -comparisons no longer need a custom repository method. - -- The new `filter` module exposes `condition` and helpers that delegate to drizzle's own - operators (`eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `between`, `notBetween`, `like`, - `notLike`, `oneOf`, `noneOf`, `isNotNull`), so the emitted clause is the driver's and no - dialect is reimplemented. `ilike` and `notIlike` are in the same set, marked Postgres - only, matching the flat operator surface drizzle itself exports; SQLite rejects them and - its `like` is already case insensitive for ASCII. -- `where` recognises a condition before the scalar, array and `null` cases, so conditions - work for reads and writes alike, `list`, `count`, `findOne`, `exists`, `patchWhere` and - `deleteWhere` included. -- The default filter value widens to `DrizzleFilterValue` (`SQL | FilterCondition`) in - `AbstractDrizzleRepository` and in both dialect bindings, so `PostgresRepository.of` and - `SqliteRepository.of` accept conditions without extra generics. diff --git a/packages/drizzle/CHANGELOG.md b/packages/drizzle/CHANGELOG.md index 7a47841..2bfb8c2 100644 --- a/packages/drizzle/CHANGELOG.md +++ b/packages/drizzle/CHANGELOG.md @@ -1,5 +1,26 @@ # @softzweig/spindle-drizzle +## 0.3.0 + +### Minor Changes + +- [#26](https://github.com/softzweig/spindle/pull/26) [`c4b7ed7`](https://github.com/softzweig/spindle/commit/c4b7ed7c9f8d36f6d2622562d59d75dabc2a5e0e) Thanks [@vinznt](https://github.com/vinznt)! - Filter values can carry an operator. A value may now be a condition, a small branded object + that builds its own clause from the column the key resolved to, so `ilike`, ranges and + comparisons no longer need a custom repository method. + + - The new `filter` module exposes `condition` and helpers that delegate to drizzle's own + operators (`eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `between`, `notBetween`, `like`, + `notLike`, `oneOf`, `noneOf`, `isNotNull`), so the emitted clause is the driver's and no + dialect is reimplemented. `ilike` and `notIlike` are in the same set, marked Postgres + only, matching the flat operator surface drizzle itself exports; SQLite rejects them and + its `like` is already case insensitive for ASCII. + - `where` recognises a condition before the scalar, array and `null` cases, so conditions + work for reads and writes alike, `list`, `count`, `findOne`, `exists`, `patchWhere` and + `deleteWhere` included. + - The default filter value widens to `DrizzleFilterValue` (`SQL | FilterCondition`) in + `AbstractDrizzleRepository` and in both dialect bindings, so `PostgresRepository.of` and + `SqliteRepository.of` accept conditions without extra generics. + ## 0.2.1 ### Patch Changes diff --git a/packages/drizzle/package.json b/packages/drizzle/package.json index 62357a2..40c2a4d 100644 --- a/packages/drizzle/package.json +++ b/packages/drizzle/package.json @@ -1,6 +1,6 @@ { "name": "@softzweig/spindle-drizzle", - "version": "0.2.1", + "version": "0.3.0", "description": "Drizzle ORM repository bindings for Spindle.", "license": "MIT", "repository": {