Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
5b58da9
remove console.log from local-only tests (#626)
samwillis Oct 2, 2025
e837256
Add mutations guide (#614)
KyleAMathews Oct 3, 2025
26ad333
add missing link to mutations doc in config (#632)
KyleAMathews Oct 3, 2025
b38bd76
fix query collection `.preload()` (#635)
samwillis Oct 3, 2025
d27d32a
asc/desc index bug (#623)
samwillis Oct 3, 2025
56b870b
Fix live query optimistic updates during long sync commits (#631)
KyleAMathews Oct 3, 2025
5f43d5f
Reverse index (#627)
kevin-dp Oct 3, 2025
748b2b2
update vite deps and node types to fix types issues (#636)
samwillis Oct 3, 2025
c4c2399
add findOne() to query builder (#440)
fcannizzaro Oct 3, 2025
f623990
fix orderBy field alias bug (#637)
samwillis Oct 3, 2025
e615268
Update mutations.md (#639)
KyleAMathews Oct 4, 2025
01ff54c
Update mutations.md (#640)
KyleAMathews Oct 4, 2025
519b65b
Update mutations.md (#642)
KyleAMathews Oct 5, 2025
c807114
ci: Version Packages (#622)
github-actions[bot] Oct 5, 2025
1d71b21
chore(deps): update all non-major dependencies (#644)
renovate[bot] Oct 6, 2025
a8624c8
electric-db-collection: support for snapshots in awaitTxid (#648)
samwillis Oct 6, 2025
7556fb6
fix race condition that resulted in live queries becoming stuck (#650)
samwillis Oct 6, 2025
916a65f
Update issue templates (#647)
KyleAMathews Oct 6, 2025
7275cbf
ci: Version Packages (#649)
github-actions[bot] Oct 6, 2025
dd6cdf7
Predicate pushdown to sync (#617)
kevin-dp Oct 7, 2025
b5d4981
docs: add debugging section for awaitTxId stalling issues (#651)
KyleAMathews Oct 7, 2025
c30a20b
add collection id to important logs (#655)
marbemac Oct 7, 2025
85feb58
ci: Version Packages (#653)
github-actions[bot] Oct 7, 2025
2621ce4
Add schema validation example to mutations guide (#656)
KyleAMathews Oct 8, 2025
3cb5180
feat: Add flexible matching strategies for electric-db-collection (#4…
KyleAMathews Oct 8, 2025
6692aad
Add acceptMutations utility for local collections in manual transacti…
KyleAMathews Oct 8, 2025
7cb54be
ci: Version Packages (#657)
github-actions[bot] Oct 8, 2025
d9ae7b7
preserve optimistic mutations during truncate operations (#659)
samwillis Oct 9, 2025
44555b7
eagerly run live queries while collections are loading (#658)
samwillis Oct 9, 2025
95516c4
ci: Version Packages (#662)
github-actions[bot] Oct 9, 2025
4a7c44a
stop pushing down where clauses that match a select projection in a s…
samwillis Oct 9, 2025
60d5dc4
chore(deps): update all non-major dependencies (#670)
renovate[bot] Oct 13, 2025
eeb05d4
refactor joins to use direct implementation or each type rather than …
samwillis Oct 13, 2025
e52be92
change to a subscription per collection alias rather than collection …
samwillis Oct 13, 2025
ee61bb6
Add a scheduler that ensures single batch of changes from live query …
samwillis Oct 13, 2025
7c8b531
ci: add PR release comments (#673)
lachlancollins Oct 14, 2025
d523759
rxdb-db-collection fixes (#667)
daveycodez Oct 14, 2025
97d9937
ci: Version Packages (#664)
github-actions[bot] Oct 14, 2025
63aa8ef
Mutable limit and offset for ordered live queries (#663)
kevin-dp Oct 15, 2025
b0687ab
Add loadSubset State Tracking and On-Demand Sync Mode (#669)
samwillis Oct 15, 2025
4cb1093
Fix changeset for PR #669 - Update to accurately describe loadSubset …
KyleAMathews Oct 15, 2025
c0f06e2
Change PR #669 changeset from minor to patch (#680)
KyleAMathews Oct 15, 2025
7044f95
ci: Version Packages (#678)
github-actions[bot] Oct 15, 2025
5566b26
Add Pre-created Collection Support to useLiveInfiniteQuery (#684)
samwillis Oct 16, 2025
3f4e154
ci: Version Packages (#686)
github-actions[bot] Oct 16, 2025
8051cbe
chore(deps): update all non-major dependencies (#693)
renovate[bot] Oct 20, 2025
67f5d54
docs: document conditional queries and isUndefined/isNull functions (…
KyleAMathews Oct 20, 2025
4436d74
chore(deps): update dependency vite [security] (#698)
renovate[bot] Oct 21, 2025
63a7958
chore(deps): update dependency vite to v6.4.1 [security] (#700)
renovate[bot] Oct 21, 2025
8b29841
feat: Add in-memory fallback for localStorage collections in SSR envi…
KyleAMathews Oct 21, 2025
a03b5a5
docs: improve incremental updates example in query-collection docs (#…
KyleAMathews Oct 21, 2025
828fb71
Merge remote-tracking branch 'upstream/main' into update-main-2
stevensJourney Oct 22, 2025
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
11 changes: 11 additions & 0 deletions .changeset/in-memory-fallback-for-ssr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@tanstack/db": patch
---

Add in-memory fallback for localStorage collections in SSR environments

Prevents errors when localStorage collections are imported on the server by automatically falling back to an in-memory store. This allows isomorphic JavaScript applications to safely import localStorage collection modules without errors during module initialization.

When localStorage is not available (e.g., in server-side rendering environments), the collection automatically uses an in-memory storage implementation. Data will not persist across page reloads or be shared across tabs when using the in-memory fallback, but the collection will function normally otherwise.

Fixes #691
5 changes: 0 additions & 5 deletions .changeset/olive-boxes-lie.md

This file was deleted.

42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
name: 🐛 Bug Report
about: Create a report to help us improve
title: ""
labels: ""
assignees: ""
---

- [ ] I've validated the bug against the latest version of DB packages

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: 🤔 Feature Requests & Questions
url: https://github.com/TanStack/db/discussions
about: Please ask and answer questions here.
- name: 💬 Community Chat
url: https://discord.gg/mQd7egN
about: A dedicated discord server hosted by TanStack
- name: 🦋 TanStack Bluesky
url: https://bsky.app/profile/tanstack.com
about: Stay up to date with new releases of our libraries
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
- name: Run Tests
run: pnpm run lint && pnpm run build && pnpm run test
- name: Run Changesets (version or publish)
id: changesets
uses: changesets/[email protected]
with:
version: pnpm run changeset:version
Expand All @@ -40,3 +41,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Comment on PRs about release
if: steps.changesets.outputs.published == 'true'
uses: tanstack/config/.github/comment-on-release@main
with:
published-packages: ${{ steps.changesets.outputs.publishedPackages }}
Loading
Loading