Version Packages#78
Merged
Merged
Conversation
1080fcb to
8086861
Compare
8086861 to
b0f30cf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
@firtoz/drizzle-durable-sqlite@3.0.0
Major Changes
1e057aaThanks @firtoz! - @firtoz/router-toolkit: Stop re-exporting@firtoz/maybe-errorfrom the package entry so.d.tsmatches runtime.@firtoz/maybe-erroris now a regular dependency; importsuccess,fail,MaybeError,exhaustiveGuard, and related symbols from@firtoz/maybe-errordirectly.@firtoz/hono-fetcher and @firtoz/worker-helper: Regenerate root
index.d.tsafter tsup so type-only symbols useexport 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-utilsdirectly.@firtoz/drizzle-durable-sqlite: Stop re-exporting
SQLOperationandSQLInterceptorfrom the package entry; import them from@firtoz/drizzle-utilswhen needed.Patch Changes
@firtoz/drizzle-sqlite-wasm@2.0.0
Major Changes
c7bf9d5Thanks @firtoz! - @firtoz/drizzle-sqlite-wasm:DrizzleSqliteProvidernow requires aloadingFallbackand gateschildrenuntil the worker and migrations are ready; optionalerrorFallbackanddata-testid="sqlite-db-error".useDrizzleSqliteDbexposessessionStatusandsessionErrorwith a per-dbNamereadyPromise. Collections are created only in the ready subtree, with checkpoint closing over the real client (no provider checkpoint ref). ExportsDrizzleSqliteSessionStatus. Documentkey={dbName}(or a composite) when switching databases. Removes thedrizzleCollectionOptionsentry-point alias: importsqliteCollectionOptions(or deep import@firtoz/drizzle-sqlite-wasm/sqliteCollectionOptions) instead of the former./drizzleCollectionOptionssubpath.1e057aaThanks @firtoz! - @firtoz/router-toolkit: Stop re-exporting@firtoz/maybe-errorfrom the package entry so.d.tsmatches runtime.@firtoz/maybe-erroris now a regular dependency; importsuccess,fail,MaybeError,exhaustiveGuard, and related symbols from@firtoz/maybe-errordirectly.@firtoz/hono-fetcher and @firtoz/worker-helper: Regenerate root
index.d.tsafter tsup so type-only symbols useexport 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-utilsdirectly.@firtoz/drizzle-durable-sqlite: Stop re-exporting
SQLOperationandSQLInterceptorfrom the package entry; import them from@firtoz/drizzle-utilswhen needed.Patch Changes
c7bf9d5Thanks @firtoz! - UseOpfsDbwhen the constructor is present instead of"opfs" in sqlite3, because sqlite-wasm removes theopfshelper 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]:@firtoz/router-toolkit@9.0.0
Major Changes
1e057aaThanks @firtoz! - @firtoz/router-toolkit: Stop re-exporting@firtoz/maybe-errorfrom the package entry so.d.tsmatches runtime.@firtoz/maybe-erroris now a regular dependency; importsuccess,fail,MaybeError,exhaustiveGuard, and related symbols from@firtoz/maybe-errordirectly.@firtoz/hono-fetcher and @firtoz/worker-helper: Regenerate root
index.d.tsafter tsup so type-only symbols useexport 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-utilsdirectly.@firtoz/drizzle-durable-sqlite: Stop re-exporting
SQLOperationandSQLInterceptorfrom the package entry; import them from@firtoz/drizzle-utilswhen needed.2cea54bThanks @firtoz! - Breaking:useDynamicSubmitternow returns only a stable, memoized{ submit, submitJson, Form }. It no longer spreads the React Router fetcher, sostate,data,error, and other fetcher fields are not on the hook result. Useawait submit/await submitJsonfor action payloads; use local React state for loading flags, or pair withuseFetcher({ key: dynamicSubmitterFetcherKey(href(path, ...args)) })for the same submission lifecycle in JSX. New helper:dynamicSubmitterFetcherKey(resolvedHref).Minor Changes
2cea54bThanks @firtoz! - AddfetcherKeyand optionalkeySuffixtouseDynamicSubmitter, exportuseDynamicSubmitterFetcher(submitter)for reactivestate/data, and extenddynamicSubmitterFetcherKey(resolvedHref, keySuffix?)so manualuseFetcherkeys stay aligned.Patch Changes
2cea54bThanks @firtoz! -useDynamicSubmitter: reject in-flightsubmit/submitJsonpromises withSubmitterSupersededErrorwhen 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.@firtoz/collection-sync@6.0.2
Patch Changes
@firtoz/hono-fetcher@2.7.1
Patch Changes
1e057aaThanks @firtoz! - @firtoz/router-toolkit: Stop re-exporting@firtoz/maybe-errorfrom the package entry so.d.tsmatches runtime.@firtoz/maybe-erroris now a regular dependency; importsuccess,fail,MaybeError,exhaustiveGuard, and related symbols from@firtoz/maybe-errordirectly.@firtoz/hono-fetcher and @firtoz/worker-helper: Regenerate root
index.d.tsafter tsup so type-only symbols useexport 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-utilsdirectly.@firtoz/drizzle-durable-sqlite: Stop re-exporting
SQLOperationandSQLInterceptorfrom the package entry; import them from@firtoz/drizzle-utilswhen needed.@firtoz/socka@3.0.1
Patch Changes
@firtoz/websocket-do@13.0.1
Patch Changes
1e057aa]:@firtoz/worker-helper@1.6.2
Patch Changes
1e057aaThanks @firtoz! - @firtoz/router-toolkit: Stop re-exporting@firtoz/maybe-errorfrom the package entry so.d.tsmatches runtime.@firtoz/maybe-erroris now a regular dependency; importsuccess,fail,MaybeError,exhaustiveGuard, and related symbols from@firtoz/maybe-errordirectly.@firtoz/hono-fetcher and @firtoz/worker-helper: Regenerate root
index.d.tsafter tsup so type-only symbols useexport 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-utilsdirectly.@firtoz/drizzle-durable-sqlite: Stop re-exporting
SQLOperationandSQLInterceptorfrom the package entry; import them from@firtoz/drizzle-utilswhen needed.chatroom-bun@0.0.3
Patch Changes
chatroom-do@0.0.3
Patch Changes
chatroom-hono@0.0.3
Patch Changes