Skip to content

chore(deps): bump effect from 4.0.0-rc.112 to 4.0.0-rc.115 in the effect group across 1 directory - #273

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/effect-dcfe45c0d1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/effect-dcfe45c0d1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the effect group with 1 update in the / directory: effect.

Updates effect from 4.0.0-rc.112 to 4.0.0-rc.115

Release notes

Sourced from effect's releases.

[email protected]

Patch Changes

  • #8196 657254b Thanks @​gcanti! - Optimize schema initialization while preserving custom constructor options.

  • #8190 f9ef0e9 Thanks @​javascript-unsafe! - Omit response bodies for statuses 204, 205, and 304 in HttpServerResponse.toWeb and the Bun/Deno HTTP adapters, preventing invalid Web responses and hung requests. Cancel omitted raw ReadableStream bodies, and finalize request resources without starting omitted Effect streams.

  • #8187 4f73f9e Thanks @​tim-smart! - Parameterize persistence lookup keys in both SQL backing stores' getMany queries.

[email protected]

Patch Changes

  • #8177 3ff4952 Thanks @​tim-smart! - Allow Effect.cachedWithTTL to compute the TTL from each completed Exit, so successes and failures can use different cache durations.

  • #8164 6d55555 Thanks @​sam-goodwin! - Keep Node and Bun file stats usable when optional numeric metadata exceeds the safe integer range by returning Option.none() for those fields.

  • #8162 716e0c0 Thanks @​tim-smart! - Fix published declarations referencing symbols stripped as @internal, which broke consumers compiling with skipLibCheck: false. Effectable.d.ts now uses the public Effect.TypeId, Match.d.ts no longer aliases an internal Contextual type, Schema.d.ts ships the AnnotationSchemaConstraint alias it references, and the CLI's toFlagDoc helper is marked internal so it no longer leaks Param.getParamMetadata.

  • #8160 d4e4ad5 Thanks @​gcanti! - Fix SchemaRepresentation.toCodeDocument generating invalid TypeScript for optional tuple elements containing unions or nested readonly tuples. Optional element types are now parenthesized, for example readonly [(string | number)?] instead of readonly [string | number?]. Generated runtime schemas are unchanged.

  • #8158 b1988f4 Thanks @​gcanti! - Fix SchemaRepresentation.toCodeDocument dropping Struct fields named __proto__ from generated schemas. These fields now use computed keys, such as Schema.Struct({ ["__proto__"]: Schema.String }), so the generated schema validates them correctly.

  • #8169 482b7d7 Thanks @​gcanti! - Improve SchemaRepresentation.fromJsonSchemaDocument and fromJsonSchemaMultiDocument:

    • Import { not: {} } as Schema.Never (#8137).

    • Import closed records with one patternProperties entry, additionalProperties: false, and no declared or required properties when patterns: "apply" is enabled. These were previously rejected.

      {
        "type": "object",
        "patternProperties": { "^a": { "type": "number" } },
        "additionalProperties": false
      }
      Schema.Record(
        Schema.String.check(Schema.isPattern(/^a/)),
        Schema.Finite
      )
    • Reject open patterned objects with patterns: "apply" instead of generating incompatible TypeScript index signatures.

      {
        "type": "object",
        "patternProperties": { "^a": { "type": "number" } },
        "additionalProperties": true

... (truncated)

Changelog

Sourced from effect's changelog.

4.0.0-rc.115

Patch Changes

  • #8196 657254b Thanks @​gcanti! - Optimize schema initialization while preserving custom constructor options.

  • #8190 f9ef0e9 Thanks @​javascript-unsafe! - Omit response bodies for statuses 204, 205, and 304 in HttpServerResponse.toWeb and the Bun/Deno HTTP adapters, preventing invalid Web responses and hung requests. Cancel omitted raw ReadableStream bodies, and finalize request resources without starting omitted Effect streams.

  • #8187 4f73f9e Thanks @​tim-smart! - Parameterize persistence lookup keys in both SQL backing stores' getMany queries.

4.0.0-rc.114

Patch Changes

  • #8177 3ff4952 Thanks @​tim-smart! - Allow Effect.cachedWithTTL to compute the TTL from each completed Exit, so successes and failures can use different cache durations.

  • #8164 6d55555 Thanks @​sam-goodwin! - Keep Node and Bun file stats usable when optional numeric metadata exceeds the safe integer range by returning Option.none() for those fields.

  • #8162 716e0c0 Thanks @​tim-smart! - Fix published declarations referencing symbols stripped as @internal, which broke consumers compiling with skipLibCheck: false. Effectable.d.ts now uses the public Effect.TypeId, Match.d.ts no longer aliases an internal Contextual type, Schema.d.ts ships the AnnotationSchemaConstraint alias it references, and the CLI's toFlagDoc helper is marked internal so it no longer leaks Param.getParamMetadata.

  • #8160 d4e4ad5 Thanks @​gcanti! - Fix SchemaRepresentation.toCodeDocument generating invalid TypeScript for optional tuple elements containing unions or nested readonly tuples. Optional element types are now parenthesized, for example readonly [(string | number)?] instead of readonly [string | number?]. Generated runtime schemas are unchanged.

  • #8158 b1988f4 Thanks @​gcanti! - Fix SchemaRepresentation.toCodeDocument dropping Struct fields named __proto__ from generated schemas. These fields now use computed keys, such as Schema.Struct({ ["__proto__"]: Schema.String }), so the generated schema validates them correctly.

  • #8169 482b7d7 Thanks @​gcanti! - Improve SchemaRepresentation.fromJsonSchemaDocument and fromJsonSchemaMultiDocument:

    • Import { not: {} } as Schema.Never (#8137).

    • Import closed records with one patternProperties entry, additionalProperties: false, and no declared or required properties when patterns: "apply" is enabled. These were previously rejected.

      {
        "type": "object",
        "patternProperties": { "^a": { "type": "number" } },
        "additionalProperties": false
      }
      Schema.Record(
        Schema.String.check(Schema.isPattern(/^a/)),
        Schema.Finite
      )
    • Reject open patterned objects with patterns: "apply" instead of generating incompatible TypeScript index signatures.

      {
        "type": "object",

... (truncated)

Commits
  • 4a05d49 Version Packages (rc) (#8192)
  • 657254b Optimize Schema initialization (#8196)
  • f9ef0e9 fix(http): omit body in toWeb for 204, 205, and 304 (#8190)
  • 4f73f9e fix(persistence): parameterize persistence lookup keys (#8187)
  • cdb3ac9 Version Packages (rc) (#8159)
  • 9941e6d feat(cli): make message optional for Prompt.Select and Prompt.MultiSelect (#8...
  • 6d55555 fix(FileSystem): keep stat when optional inode exceeds MAX_SAFE_INTEGER (#8164)
  • 3ff4952 Support TTL callbacks in Effect.cachedWithTTL (#8177)
  • f48fb1c Add Match.valueTags API contract type tests (#8175)
  • 482b7d7 feat(SchemaRepresentation): improve JSON Schema imports (#8169)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 16, 2026
@github-actions github-actions Bot added area:ci CI, shared testing infrastructure, development scripts and tooling effect-rc-bump size:s Under 100 changed lines labels Sep 16, 2026
@dependabot dependabot Bot changed the title chore(deps): bump effect from 4.0.0-rc.112 to 4.0.0-rc.115 in the effect group chore(deps): bump effect from 4.0.0-rc.112 to 4.0.0-rc.115 in the effect group across 1 directory Sep 16, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/effect-dcfe45c0d1 branch from afcdfdd to eaff82a Compare September 16, 2026 15:55
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/effect-dcfe45c0d1 branch 2 times, most recently from 0cbe5a2 to 0bc8438 Compare September 16, 2026 17:19
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/effect-dcfe45c0d1 branch from 0bc8438 to 07f2cd7 Compare September 16, 2026 18:19
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]>
@dependabot @github

dependabot Bot commented on behalf of github Sep 19, 2026

Copy link
Copy Markdown
Contributor Author

Looks like effect is no longer updatable, so this is no longer needed.

@dependabot dependabot Bot closed this Sep 19, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/effect-dcfe45c0d1 branch September 19, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI, shared testing infrastructure, development scripts and tooling dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code size:s Under 100 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants