chore: bump effect and friends to latest rc - #6582
Draft
kanadgupta wants to merge 13 commits into
Draft
Conversation
rc.113 replaces the node-postgres driver with a native one and drops PgClient.fromPool, which the CLI's db-connection layer uses to hand its self-managed pg.Pool to @effect/sql-pg. Keep sql-pg on rc.112 until that layer is migrated off the node-postgres wrapper. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
effect rc.113 requires Effect.ensuring finalizers to have a never error channel. The rm(force: true) cleanup cannot meaningfully fail, so a rejection becomes a defect instead of a swallowed typed error. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Flag/Argument/GlobalFlag/Primitive constructors are now capitalised (String, Boolean, Int, Literals, ChoiceWithValue, Setting, KeyValuePair) and Config.string/redacted became Config.String/Redacted. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
- Schema decoding no longer offers onExcessProperty: "preserve"; the deploy-body assertion keeps its strictness with "error". - Match.valueTags no longer infers handler parameters from a data-first input, so the archive-problem handlers name their variant. - FileSystem.Size is replaced by ByteSize. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Socket.runRaw and the callable writer are gone; a Socket now exposes a scoped reader whose pull yields chunk batches and fails with a SocketCloseError on close, plus a scoped writer object. The control server's demultiplexing socket and the client-side framed socket expose the same contract, and the maintenance and awaitClose clients drive the underlying reader directly. Connection open is now signalled by reader acquisition rather than an onOpen hook. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
SchemaAST.Union takes a UnionOptions object instead of a bare mode, and toJsonSchemaDocument replaced additionalProperties with onExcessProperty. The new default emits open objects, so the project schema drops its explicit opt-in and the CLI config schema opts into "error" to keep emitting additionalProperties: false. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Primitive._tag is typed as string, so the runtime renames Integer -> Int and Float -> Finite slipped past the type checker and broke the docs-spec varname mapping and completion value validation. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ests Installing vitest at the root enables knip's vitest plugin for the root workspace, whose default test-file entries reach into every child workspace. That re-attributed files reachable from those tests and reported the release-notes script's dependencies and the release-plan types as unused. The root config only aggregates projects, so the root plugin gets no entries of its own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… struct
Schema.Struct({}) decodes any non-null value, and effect rc.113+ renders
it faithfully as { not: { type: "null" } }, which changed the published
JSON Schema for storage.analytics.buckets and storage.vector.buckets from
rc.112's { anyOf: [object, array] }. ObjectKeyword decodes and renders
exactly that object-or-array shape, so the artifact keeps its meaning;
only the anyOf branch order differs.
The project-schema exhaustiveness guards learn the new leaf kind, and the
empty-struct sweep no longer has any expected hits.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The comment contrasted collapsed containers with structs that are empty in the source schema. Since dec6f3e96 replaced the last empty struct with ObjectKeyword, that case no longer exists, so the contrast is dropped. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.
Summary
Linked issue
Closes #
open-for-contributionlabel (or I'm a Supabase maintainer).Checklist
fix(cli): …).pnpm check:allpasses; relevant package tests pass for every touched workspace, andpnpm types:checkpasses for each touched TypeScript workspace (or workspace declaring it).