Skip to content

chore: version packages - #27

Merged
vinznt merged 1 commit into
mainfrom
changeset-release/main
Dec 3, 2026
Merged

vinznt merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@softzweig/spindle-drizzle@0.3.0

Minor Changes

  • #26 c4b7ed7 Thanks @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.

@vinznt
vinznt merged commit 1048b22 into main Dec 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant