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
5 changes: 0 additions & 5 deletions .changeset/cyan-ends-tell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/drizzle-sqlite-session-lifecycle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/forty-animals-decide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gentle-islands-thank.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/proud-signs-pump.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/submitter-stable-major.md

This file was deleted.

22 changes: 11 additions & 11 deletions bun.lock

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

7 changes: 7 additions & 0 deletions examples/chatroom-bun/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# chatroom-bun

## 0.0.3

### Patch Changes

- Updated dependencies []:
- @firtoz/socka@3.0.1

## 0.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/chatroom-bun/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chatroom-bun",
"version": "0.0.2",
"version": "0.0.3",
"private": true,
"type": "module",
"description": "Multi-room chat over socka on Bun.serve with SQLite history (self-contained example)",
Expand Down
8 changes: 8 additions & 0 deletions examples/chatroom-do/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# chatroom-do

## 0.0.3

### Patch Changes

- Updated dependencies []:
- @firtoz/websocket-do@13.0.1
- @firtoz/socka@3.0.1

## 0.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/chatroom-do/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chatroom-do",
"version": "0.0.2",
"version": "0.0.3",
"private": true,
"type": "module",
"description": "Multi-room chat over socka on Cloudflare Durable Objects + Drizzle SQLite (self-contained example)",
Expand Down
7 changes: 7 additions & 0 deletions examples/chatroom-hono/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# chatroom-hono

## 0.0.3

### Patch Changes

- Updated dependencies []:
- @firtoz/socka@3.0.1

## 0.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/chatroom-hono/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chatroom-hono",
"version": "0.0.2",
"version": "0.0.3",
"private": true,
"type": "module",
"description": "Multi-room chat over socka on Hono + @hono/node-ws with JSON file history (self-contained example)",
Expand Down
7 changes: 7 additions & 0 deletions packages/collection-sync/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @firtoz/collection-sync

## 6.0.2

### Patch Changes

- Updated dependencies []:
- @firtoz/websocket-do@13.0.1

## 6.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/collection-sync/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firtoz/collection-sync",
"version": "6.0.1",
"version": "6.0.2",
"description": "WebSocket sync protocol and bridges for TanStack DB collections",
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down
18 changes: 18 additions & 0 deletions packages/drizzle-durable-sqlite/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @firtoz/drizzle-durable-sqlite

## 3.0.0

### Major Changes

- [`1e057aa`](https://github.com/firtoz/fullstack-toolkit/commit/1e057aad4b252223f4269a9bc6bd01a744cf56a8) Thanks [@firtoz](https://github.com/firtoz)! - **@firtoz/router-toolkit:** Stop re-exporting `@firtoz/maybe-error` from the package entry so `.d.ts` matches runtime. `@firtoz/maybe-error` is now a regular dependency; import `success`, `fail`, `MaybeError`, `exhaustiveGuard`, and related symbols from `@firtoz/maybe-error` directly.

**@firtoz/hono-fetcher** and **@firtoz/worker-helper:** Regenerate root `index.d.ts` after tsup so type-only symbols use `export type { ... }`, for compatibility with stricter consumer compiler settings.

**@firtoz/drizzle-sqlite-wasm:** Remove re-exports of `@firtoz/drizzle-utils` (`syncableTable`, `makeId`, branded/schema types, `SQLOperation`, `SQLInterceptor`) from the package entry. Import those from `@firtoz/drizzle-utils` directly.

**@firtoz/drizzle-durable-sqlite:** Stop re-exporting `SQLOperation` and `SQLInterceptor` from the package entry; import them from `@firtoz/drizzle-utils` when needed.

### Patch Changes

- Updated dependencies []:
- @firtoz/websocket-do@13.0.1
- @firtoz/collection-sync@6.0.2

## 2.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/drizzle-durable-sqlite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firtoz/drizzle-durable-sqlite",
"version": "2.1.1",
"version": "3.0.0",
"description": "TanStack DB collections backed by Drizzle on Cloudflare Durable Object SQLite",
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down
22 changes: 22 additions & 0 deletions packages/drizzle-sqlite-wasm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# @firtoz/drizzle-sqlite-wasm

## 2.0.0

### Major Changes

- [`c7bf9d5`](https://github.com/firtoz/fullstack-toolkit/commit/c7bf9d57094b9d4348410ed0d824eb8416639469) Thanks [@firtoz](https://github.com/firtoz)! - **@firtoz/drizzle-sqlite-wasm:** `DrizzleSqliteProvider` now requires a `loadingFallback` and gates `children` until the worker and migrations are ready; optional `errorFallback` and `data-testid="sqlite-db-error"`. `useDrizzleSqliteDb` exposes `sessionStatus` and `sessionError` with a per-`dbName` `readyPromise`. Collections are created only in the ready subtree, with checkpoint closing over the real client (no provider checkpoint ref). Exports `DrizzleSqliteSessionStatus`. Document `key={dbName}` (or a composite) when switching databases. Removes the `drizzleCollectionOptions` entry-point alias: import `sqliteCollectionOptions` (or deep import `@firtoz/drizzle-sqlite-wasm/sqliteCollectionOptions`) instead of the former `./drizzleCollectionOptions` subpath.

- [`1e057aa`](https://github.com/firtoz/fullstack-toolkit/commit/1e057aad4b252223f4269a9bc6bd01a744cf56a8) Thanks [@firtoz](https://github.com/firtoz)! - **@firtoz/router-toolkit:** Stop re-exporting `@firtoz/maybe-error` from the package entry so `.d.ts` matches runtime. `@firtoz/maybe-error` is now a regular dependency; import `success`, `fail`, `MaybeError`, `exhaustiveGuard`, and related symbols from `@firtoz/maybe-error` directly.

**@firtoz/hono-fetcher** and **@firtoz/worker-helper:** Regenerate root `index.d.ts` after tsup so type-only symbols use `export type { ... }`, for compatibility with stricter consumer compiler settings.

**@firtoz/drizzle-sqlite-wasm:** Remove re-exports of `@firtoz/drizzle-utils` (`syncableTable`, `makeId`, branded/schema types, `SQLOperation`, `SQLInterceptor`) from the package entry. Import those from `@firtoz/drizzle-utils` directly.

**@firtoz/drizzle-durable-sqlite:** Stop re-exporting `SQLOperation` and `SQLInterceptor` from the package entry; import them from `@firtoz/drizzle-utils` when needed.

### Patch Changes

- [`c7bf9d5`](https://github.com/firtoz/fullstack-toolkit/commit/c7bf9d57094b9d4348410ed0d824eb8416639469) Thanks [@firtoz](https://github.com/firtoz)! - Use `OpfsDb` when the constructor is present instead of `"opfs" in sqlite3`, because sqlite-wasm removes the `opfs` helper namespace after init in non-test builds (which incorrectly forced a transient database). Wire WAL checkpoint through a ref so collections created before the worker client is ready still flush to OPFS after mutations.

- Updated dependencies [[`1e057aa`](https://github.com/firtoz/fullstack-toolkit/commit/1e057aad4b252223f4269a9bc6bd01a744cf56a8)]:
- @firtoz/worker-helper@1.6.2
- @firtoz/collection-sync@6.0.2

## 1.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/drizzle-sqlite-wasm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firtoz/drizzle-sqlite-wasm",
"version": "1.1.2",
"version": "2.0.0",
"description": "Drizzle SQLite WASM bindings",
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down
12 changes: 12 additions & 0 deletions packages/hono-fetcher/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @firtoz/hono-fetcher

## 2.7.1

### Patch Changes

- [`1e057aa`](https://github.com/firtoz/fullstack-toolkit/commit/1e057aad4b252223f4269a9bc6bd01a744cf56a8) Thanks [@firtoz](https://github.com/firtoz)! - **@firtoz/router-toolkit:** Stop re-exporting `@firtoz/maybe-error` from the package entry so `.d.ts` matches runtime. `@firtoz/maybe-error` is now a regular dependency; import `success`, `fail`, `MaybeError`, `exhaustiveGuard`, and related symbols from `@firtoz/maybe-error` directly.

**@firtoz/hono-fetcher** and **@firtoz/worker-helper:** Regenerate root `index.d.ts` after tsup so type-only symbols use `export type { ... }`, for compatibility with stricter consumer compiler settings.

**@firtoz/drizzle-sqlite-wasm:** Remove re-exports of `@firtoz/drizzle-utils` (`syncableTable`, `makeId`, branded/schema types, `SQLOperation`, `SQLInterceptor`) from the package entry. Import those from `@firtoz/drizzle-utils` directly.

**@firtoz/drizzle-durable-sqlite:** Stop re-exporting `SQLOperation` and `SQLInterceptor` from the package entry; import them from `@firtoz/drizzle-utils` when needed.

## 2.7.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/hono-fetcher/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firtoz/hono-fetcher",
"version": "2.7.0",
"version": "2.7.1",
"description": "Type-safe Hono API client with full TypeScript inference for routes, params, and payloads",
"type": "module",
"main": "./dist/index.js",
Expand Down
22 changes: 22 additions & 0 deletions packages/router-toolkit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# [@firtoz/router-toolkit-v1.1.0](https://github.com/firtoz/fullstack-toolkit/compare/@firtoz/router-toolkit@1.0.3...@firtoz/router-toolkit@1.1.0) (2025-07-13)

## 9.0.0

### Major Changes

- [`1e057aa`](https://github.com/firtoz/fullstack-toolkit/commit/1e057aad4b252223f4269a9bc6bd01a744cf56a8) Thanks [@firtoz](https://github.com/firtoz)! - **@firtoz/router-toolkit:** Stop re-exporting `@firtoz/maybe-error` from the package entry so `.d.ts` matches runtime. `@firtoz/maybe-error` is now a regular dependency; import `success`, `fail`, `MaybeError`, `exhaustiveGuard`, and related symbols from `@firtoz/maybe-error` directly.

**@firtoz/hono-fetcher** and **@firtoz/worker-helper:** Regenerate root `index.d.ts` after tsup so type-only symbols use `export type { ... }`, for compatibility with stricter consumer compiler settings.

**@firtoz/drizzle-sqlite-wasm:** Remove re-exports of `@firtoz/drizzle-utils` (`syncableTable`, `makeId`, branded/schema types, `SQLOperation`, `SQLInterceptor`) from the package entry. Import those from `@firtoz/drizzle-utils` directly.

**@firtoz/drizzle-durable-sqlite:** Stop re-exporting `SQLOperation` and `SQLInterceptor` from the package entry; import them from `@firtoz/drizzle-utils` when needed.

- [`2cea54b`](https://github.com/firtoz/fullstack-toolkit/commit/2cea54b7c6c9310c6d54f5d72b2f4c9b9ecf5dc5) Thanks [@firtoz](https://github.com/firtoz)! - **Breaking:** `useDynamicSubmitter` now returns only a stable, memoized `{ submit, submitJson, Form }`. It no longer spreads the React Router fetcher, so `state`, `data`, `error`, and other fetcher fields are not on the hook result. Use `await submit` / `await submitJson` for action payloads; use local React state for loading flags, or pair with `useFetcher({ key: dynamicSubmitterFetcherKey(href(path, ...args)) })` for the same submission lifecycle in JSX. New helper: `dynamicSubmitterFetcherKey(resolvedHref)`.

### Minor Changes

- [`2cea54b`](https://github.com/firtoz/fullstack-toolkit/commit/2cea54b7c6c9310c6d54f5d72b2f4c9b9ecf5dc5) Thanks [@firtoz](https://github.com/firtoz)! - Add `fetcherKey` and optional `keySuffix` to `useDynamicSubmitter`, export `useDynamicSubmitterFetcher(submitter)` for reactive `state` / `data`, and extend `dynamicSubmitterFetcherKey(resolvedHref, keySuffix?)` so manual `useFetcher` keys stay aligned.

### Patch Changes

- [`2cea54b`](https://github.com/firtoz/fullstack-toolkit/commit/2cea54b7c6c9310c6d54f5d72b2f4c9b9ecf5dc5) Thanks [@firtoz](https://github.com/firtoz)! - `useDynamicSubmitter`: reject in-flight `submit` / `submitJson` promises with `SubmitterSupersededError` when a newer submission starts on the **same React Router fetcher key**, including across separate hook instances. Unmount cleanup only rejects the pending promise owned by that instance.

## 8.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/router-toolkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firtoz/router-toolkit",
"version": "8.0.1",
"version": "9.0.0",
"description": "Type-safe React Router 7 framework mode helpers with enhanced fetching, form submission, and state management",
"type": "module",
"main": "./dist/index.js",
Expand Down
7 changes: 7 additions & 0 deletions packages/socka/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @firtoz/socka

## 3.0.1

### Patch Changes

- Updated dependencies []:
- @firtoz/websocket-do@13.0.1

## 3.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/socka/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firtoz/socka",
"version": "3.0.0",
"version": "3.0.1",
"type": "module",
"description": "Standard Schema–first WebSocket RPC for TypeScript — Bun, Hono, Node ws, Cloudflare Workers, Durable Objects",
"main": "./dist/core/index.js",
Expand Down
7 changes: 7 additions & 0 deletions packages/websocket-do/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @firtoz/websocket-do

## 13.0.1

### Patch Changes

- Updated dependencies [[`1e057aa`](https://github.com/firtoz/fullstack-toolkit/commit/1e057aad4b252223f4269a9bc6bd01a744cf56a8)]:
- @firtoz/hono-fetcher@2.7.1

## 13.0.0

### Minor Changes
Expand Down
Loading