Repository navigation
chore(deps): bump @effect/sql-pg from 4.0.0-rc.112 to 4.0.0-rc.115 - #277
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/effect/sql-pg-4.0.0-rc.115
branch
from
September 16, 2026 15:55
a0703b1 to
cce7516
Compare
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/effect/sql-pg-4.0.0-rc.115
branch
2 times, most recently
from
September 16, 2026 17:20
c66777d to
774dc76
Compare
Bumps [@effect/sql-pg](https://github.com/Effect-TS/effect/tree/HEAD/packages/sql-pg) from 4.0.0-rc.112 to 4.0.0-rc.115. - [Release notes](https://github.com/Effect-TS/effect/releases) - [Commits](https://github.com/Effect-TS/effect/commits/@effect/[email protected]/packages/sql-pg) --- updated-dependencies: - dependency-name: "@effect/sql-pg" dependency-version: 4.0.0-rc.115 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/effect/sql-pg-4.0.0-rc.115
branch
from
September 16, 2026 18:19
774dc76 to
4a8164d
Compare
allisonmahmood
added a commit
that referenced
this pull request
Sep 19, 2026
Dependabot opened five PRs for the Effect 4 RC bump (#273, #275, #277, #278, #279), one per package, and each fails alone because the RCs ship in lockstep. This PR lands rc.112 → rc.115 for `effect`, `@effect/platform-node`, `@effect/sql-pg`, `@effect/sql-pglite` and `@effect/vitest` together through the pnpm catalog, and fixes what the three RCs broke. ## What the RCs changed for us - **`@effect/sql-pg` replaced `pg` with a native client.** Rows now decode `int8` as `bigint` and timestamps as epoch milliseconds, `PgClient.fromPool` is gone, and the extended protocol takes one statement per query. `@patchy/sql` now owns a `types` registry that keeps `int8` as a decimal string and timestamps as `Date`, so no row schema moved and PGlite still answers the same shapes; `@patchy/company-database` builds its pools on it and drops its direct `pg` dependency. Migration records are `ddl(...statements)`, one statement per string. A plain `timestamp` is read as UTC wall time on both Postgres and PGlite, with a parity assertion in the inventory contract. - **Pools tick on the wall clock.** The native pool runs an idle sweep on the Effect clock; a test that calls `TestClock.setTime` on a far date replays that timer millions of times and never returns (OrphanSweep, Pages, DeviceLogins all hung). `Sql.pool` provides the live clock to the pool only, so virtual time still drives domain timestamps. - **PascalCase constructors.** `Config.string/int/redacted` → `Config.String/Int/Redacted`, `mapOrFail` → `mapEffect`; CLI `Flag`, `Argument`, `Prompt` and `GlobalFlag` constructors likewise (`choice` → `Literals`, `float` → `Finite`, `Prompt.text` → `Prompt.String`). Parsing behavior is unchanged. - **`FileSystem.Size` → `ByteSize`** for `HttpServerRequest.MaxBodySize`. - **`parseOptions` annotations no longer affect parsing.** The now-inert annotations are removed and every decoder that must reject unknown fields passes `onExcessProperty: "error"` at the parser: the publish manifest, the runtime envelope, operation arguments and principal, and the shell broker. `POST /api/sdk/generate` now reads its body raw and decodes it strictly, since the `HttpApi` payload decoder would strip unknown fields; a raw HTTP test covers it. Nothing on the wire loosened. - **`onExcessProperty: "preserve"` was removed.** `patchy.json` reads use `Schema.StructWithRest` so a rewrite still keeps keys the repo added. - **`HttpServer.address`** is a `NetAddress.SocketAddress`; socket tests check for a Unix path instead of a `TcpAddress` tag. - `msgpackr` left `@effect/platform-node`, so its `allowBuilds` entry is gone from the workspace file. - **Connection URLs.** The native client resolves `dbname` and `user` parameters differently from `pg`, and reads no `ssl=` or `statement_timeout=` at all. Company pools pass the placement's database and the validated login as explicit options, so neither a `dbname` parameter nor an empty `user=` can redirect them. A URL carrying a parameter the client does not read fails at startup with `UnsupportedUrlParameters` (and the company URL schema refuses it) rather than silently connecting without TLS; ask for TLS with `sslmode=`. ## Not in this PR - `@effect/vitest` rc.115 declares a peer on vitest 5; we stay on vitest 4.1.11, which it runs on with a peer warning. The vitest 5 major is its own bump. - Vite 8 (#280) and posthog-node (#276) follow one by one on top of this branch. ## Verification - `pnpm lint`, `pnpm typecheck` pass. - `pnpm test`: 939 of 939 pass after the review fixes (the first run had two 5-second load timeouts that passed in isolation; nothing was relaxed). - `pnpm test:postgres-concurrency`: 7 of 7 pass. Rebased onto `main` after the portal stack landed. Model: Claude Fable 5.1. Harness: Claude Code. --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
Contributor
Author
|
Looks like @effect/sql-pg is up-to-date now, so this is no longer needed. |
dependabot
Bot
deleted the
dependabot/npm_and_yarn/effect/sql-pg-4.0.0-rc.115
branch
September 19, 2026 13:37
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.
Bumps @effect/sql-pg from 4.0.0-rc.112 to 4.0.0-rc.115.
Release notes
Sourced from @effect/sql-pg's releases.
... (truncated)
Commits