Skip to content

Commit 8b1c68d

Browse files
committed
Merge branch 'main' into samwillis/load-more-tracking
2 parents 0a0bbb0 + 63aa8ef commit 8b1c68d

59 files changed

Lines changed: 1839 additions & 144 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/clever-parks-report.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
"@tanstack/db-ivm": patch
3+
"@tanstack/db": patch
4+
---
5+
6+
Add `utils.setWindow()` method to live query collections to dynamically change limit and offset on ordered queries.
7+
8+
You can now change the pagination window of an ordered live query without recreating the collection:
9+
10+
```ts
11+
const users = createLiveQueryCollection((q) =>
12+
q
13+
.from({ user: usersCollection })
14+
.orderBy(({ user }) => user.name, "asc")
15+
.limit(10)
16+
.offset(0)
17+
)
18+
19+
users.utils.setWindow({ offset: 10, limit: 10 })
20+
```

.changeset/fast-joins-redesign.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/fix-self-join-bug.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/large-otters-unite.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/olive-crews-love.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Bug report
2+
name: 🐛 Bug Report
33
about: Create a report to help us improve
44
title: ""
55
labels: ""

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 🤔 Feature Requests & Questions
4+
url: https://github.com/TanStack/db/discussions
5+
about: Please ask and answer questions here.
6+
- name: 💬 Community Chat
7+
url: https://discord.gg/mQd7egN
8+
about: A dedicated discord server hosted by TanStack
9+
- name: 🦋 TanStack Bluesky
10+
url: https://bsky.app/profile/tanstack.com
11+
about: Stay up to date with new releases of our libraries
File renamed without changes.

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
- name: Run Tests
3232
run: pnpm run lint && pnpm run build && pnpm run test
3333
- name: Run Changesets (version or publish)
34+
id: changesets
3435
uses: changesets/action@v1.5.3
3536
with:
3637
version: pnpm run changeset:version
@@ -40,3 +41,8 @@ jobs:
4041
env:
4142
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4243
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
44+
- name: Comment on PRs about release
45+
if: steps.changesets.outputs.published == 'true'
46+
uses: tanstack/config/.github/comment-on-release@main
47+
with:
48+
published-packages: ${{ steps.changesets.outputs.publishedPackages }}

examples/angular/todos/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# todos
22

3+
## 0.0.10
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`e52be92`](https://github.com/TanStack/db/commit/e52be92ce16b09a095b4b9baf7ac2cf708146f47), [`4a7c44a`](https://github.com/TanStack/db/commit/4a7c44a723223ade4e226745eadffead671fff13), [`ee61bb6`](https://github.com/TanStack/db/commit/ee61bb61f76ca510f113e96baa090940719aac40)]:
8+
- @tanstack/db@0.4.9
9+
- @tanstack/angular-db@0.1.14
10+
311
## 0.0.9
412

513
### Patch Changes

0 commit comments

Comments
 (0)