Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .changeset/cuddly-bats-repeat.md

This file was deleted.

4 changes: 2 additions & 2 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions packages/kitcn/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# kitcn

## 0.26.3

### Patch Changes

- [#394](https://github.com/udecode/kitcn/pull/394) [`1317349`](https://github.com/udecode/kitcn/commit/13173495fa8db3d8a0568642981c1cdef4dcdf2b) Thanks [@MikeyZhang75](https://github.com/MikeyZhang75)! - ## Features

- Support a per-source `index: { name, range }` on `select().union([...])`, so each source walks its own index range instead of re-walking one shared range and filtering the misses in JS.

```ts
const page = await db.query.messages
.select()
.union([
{
index: {
name: "by_from_to",
range: (q) => q.eq("from", me).eq("to", them),
},
},
{
index: {
name: "by_from_to",
range: (q) => q.eq("from", them).eq("to", me),
},
},
])
.interleaveBy(["createdAt", "id"])
.paginate({ cursor: null, limit: 20 });
```

- Support union sources anchored on different indexes, as long as each source pins its leading fields with `eq` and ends up ordered by the `interleaveBy` fields.

## 0.26.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/kitcn/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kitcn",
"version": "0.26.2",
"version": "0.26.3",
"description": "kitcn - React Query integration and CLI tools for Convex",
"keywords": [
"convex",
Expand Down
2 changes: 2 additions & 0 deletions packages/resend/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @kitcn/resend

## 0.26.3

## 0.26.2

## 0.26.1
Expand Down
2 changes: 1 addition & 1 deletion packages/resend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kitcn/resend",
"version": "0.26.2",
"version": "0.26.3",
"description": "kitcn Resend plugin",
"type": "module",
"sideEffects": false,
Expand Down
Loading