Skip to content

Update peer dependency ranges - #7094

Merged
fubhy merged 2 commits into
mainfrom
peer-deps
Aug 6, 2026
Merged

Update peer dependency ranges#7094
fubhy merged 2 commits into
mainfrom
peer-deps

Conversation

@fubhy

@fubhy fubhy commented Aug 6, 2026

Copy link
Copy Markdown
Member

No description provided.

@changeset-bot

changeset-bot Bot commented Aug 6, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d95244a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 30 packages
Name Type
@effect/atom-react Patch
@effect/atom-solid Patch
@effect/atom-vue Patch
@effect/docgen Patch
@effect/doctest Patch
@effect/opentelemetry Patch
@effect/platform-node Patch
@effect/sql-pg Patch
@effect/sql-sqlite-react-native Patch
@effect/sql-sqlite-wasm Patch
@effect/vitest Patch
effect Patch
@effect/ai-anthropic Patch
@effect/ai-openai Patch
@effect/ai-openai-compat Patch
@effect/ai-openrouter Patch
@effect/openapi-generator Patch
@effect/platform-browser Patch
@effect/platform-bun Patch
@effect/platform-deno Patch
@effect/platform-node-shared Patch
@effect/sql-clickhouse Patch
@effect/sql-d1 Patch
@effect/sql-libsql Patch
@effect/sql-mssql Patch
@effect/sql-mysql2 Patch
@effect/sql-pglite Patch
@effect/sql-sqlite-bun Patch
@effect/sql-sqlite-do Patch
@effect/sql-sqlite-node Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@effect-slopcop effect-slopcop Bot added the 4.0 label Aug 6, 2026

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

Moving @types/ws to devDependencies in @effect/platform-node-shared will break TypeScript consumers because ws does not ship its own declarations and the package publicly re-exports the ws namespace.

Reviewed changes

  • Updated peer dependency ranges across 11 packages to explicit >=x <y intervals.
  • Removed exact-version pinning for several devDependencies (react, react-dom, vitest, @types/doctrine, etc.).
  • Bumped peer lower bounds for React, scheduler, SolidJS, Vue, op-sqlite, and Vite to current workspace versions.
  • Moved @types/ws from dependencies to devDependencies in @effect/platform-node-shared.
  • Regenerated pnpm-lock.yaml to match the package.json changes.

ℹ️ Peer-dependency lower bounds may be narrower than necessary

The new lower bounds (e.g., react >=19.2.7, solid-js >=1.9.14, vue >=3.5.39, @op-engineering/op-sqlite >=17.1.2, vite >=8.1.5) match the workspace's current dev versions, but the source uses APIs available in older releases. Unless a specific runtime feature or type requires those minima, keeping the lower bound at the oldest supported version avoids breaking consumers who are still on earlier patches. Please confirm whether each bumped lower bound is intentional and required.

Pullfrog  | ⚠️ this action is pinned to a commit SHA, which freezes the cleanup step — switch to @v0 or keep the SHA fresh with Dependabot | Fix all ➔Fix 👍s ➔View workflow run | Using Kimi K2 (free via Pullfrog for OSS) | 𝕏

Comment thread packages/platform-node-shared/package.json Outdated
@fubhy
fubhy force-pushed the peer-deps branch 2 times, most recently from 70157fe to 9c44758 Compare August 6, 2026 17:01
@effect-slopcop effect-slopcop Bot added the enhancement New feature or request label Aug 6, 2026
@fubhy
fubhy enabled auto-merge (squash) August 6, 2026 17:09
@pullfrog

pullfrog Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Run failed. View the logs →

Pullfrog  | ⚠️ this action is pinned to a commit SHA, which freezes the cleanup step — switch to @v0 or keep the SHA fresh with Dependabot | Rerun failed job ➔View workflow run | via Pullfrog | Using Kimi K2 (free via Pullfrog for OSS) | 𝕏

pullfrog[bot]
pullfrog Bot previously requested changes Aug 6, 2026

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

The changeset still lists @effect/platform-node-shared for a patch release, but the corresponding package.json change was removed in this revision. This would produce a no-op patch with a misleading changelog entry.

Reviewed changes

  • Reverted the @types/ws dependency move in @effect/platform-node-shared, leaving it in dependencies as required.
  • Retained peer-dependency range conversions to explicit >=x <y intervals across the other packages.
  • Retained the lower-bound bumps for React, scheduler, SolidJS, Vue, op-sqlite, and Vite.
  • Regenerated pnpm-lock.yaml to match the specifier updates.

⚠️ Stale changeset entry for @effect/platform-node-shared

The changeset includes a patch entry for @effect/platform-node-shared, but no file in that package changed in this revision. This will trigger a no-op release and record "Update peer dependencies" in its changelog even though its package.json was not touched.

Technical details
# Stale changeset entry

## Affected sites
- `.changeset/dry-bugs-hug.md:9``@effect/platform-node-shared: patch` without a matching package change

## Required outcome
- Remove the `@effect/platform-node-shared` line from the changeset, or re-add the intended package change.

Pullfrog  | ⚠️ this action is pinned to a commit SHA, which freezes the cleanup step — switch to @v0 or keep the SHA fresh with Dependabot | Fix it ➔View workflow run | Using Kimi K2 (free via Pullfrog for OSS) | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

  • Removed the stale @effect/platform-node-shared: patch entry from .changeset/dry-bugs-hug.md, resolving the prior concern that the package would receive a no-op patch release.
  • No other files changed since the prior Pullfrog review.

The prior informational note about peer-dependency lower bounds being potentially narrower than necessary is unchanged by this delta.

Pullfrog  | ⚠️ this action is pinned to a commit SHA, which freezes the cleanup step — switch to @v0 or keep the SHA fresh with Dependabot | View workflow run | Using Kimi K2 (free via Pullfrog for OSS) | 𝕏

@fubhy
fubhy merged commit 31efc5c into main Aug 6, 2026
20 checks passed
@fubhy
fubhy deleted the peer-deps branch August 6, 2026 23:42
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Bundle Size Analysis

Generated from PR build output; treat the content below as untrusted.

File Name Current Size Previous Size Difference
basic.ts 6.92 KB 6.92 KB 0.00 KB (0.00%)
batching.ts 9.72 KB 9.72 KB 0.00 KB (0.00%)
brand.ts 6.60 KB 6.60 KB 0.00 KB (0.00%)
cache.ts 10.59 KB 10.59 KB 0.00 KB (0.00%)
config.ts 20.83 KB 20.83 KB 0.00 KB (0.00%)
differ.ts 19.67 KB 19.67 KB 0.00 KB (0.00%)
http-client.ts 21.50 KB 21.50 KB 0.00 KB (0.00%)
logger.ts 10.81 KB 10.81 KB 0.00 KB (0.00%)
metric.ts 8.86 KB 8.86 KB 0.00 KB (0.00%)
optic.ts 6.68 KB 6.68 KB 0.00 KB (0.00%)
pubsub.ts 14.86 KB 14.86 KB 0.00 KB (0.00%)
queue.ts 11.54 KB 11.54 KB 0.00 KB (0.00%)
schedule.ts 10.71 KB 10.71 KB 0.00 KB (0.00%)
schema-class.ts 19.38 KB 19.38 KB 0.00 KB (0.00%)
schema-fromJsonSchemaDocument.ts 29.20 KB 29.20 KB 0.00 KB (0.00%)
schema-representation-roundtrip.ts 25.51 KB 25.51 KB 0.00 KB (0.00%)
schema-string-transformation.ts 13.49 KB 13.49 KB 0.00 KB (0.00%)
schema-string.ts 11.03 KB 11.03 KB 0.00 KB (0.00%)
schema-template-literal.ts 15.30 KB 15.30 KB 0.00 KB (0.00%)
schema-toArbitraryLazy.ts 21.43 KB 21.43 KB 0.00 KB (0.00%)
schema-toCodeDocument.ts 23.87 KB 23.87 KB 0.00 KB (0.00%)
schema-toCodecJson.ts 18.64 KB 18.64 KB 0.00 KB (0.00%)
schema-toEquivalence.ts 18.47 KB 18.47 KB 0.00 KB (0.00%)
schema-toFormatter.ts 18.32 KB 18.32 KB 0.00 KB (0.00%)
schema-toJsonSchemaDocument.ts 22.09 KB 22.09 KB 0.00 KB (0.00%)
schema-toRepresentation.ts 19.01 KB 19.01 KB 0.00 KB (0.00%)
schema.ts 18.62 KB 18.62 KB 0.00 KB (0.00%)
stm.ts 12.59 KB 12.59 KB 0.00 KB (0.00%)
stream.ts 9.67 KB 9.67 KB 0.00 KB (0.00%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.0 enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants