Repository navigation
Conversation
🦋 Changeset detectedLatest commit: db104ed The changes in this PR will be included in the next version bump. This PR includes changesets to release 30 packages
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 |
Contributor
Bundle Size AnalysisGenerated from PR build output; treat the content below as untrusted.
|
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.
Effect services used a mixture of interface/const pairs and service classes. This change migrates production declarations and ordinary fixtures across packages, including unstable modules and examples, to Context.Service class syntax. It preserves service keys and runtime behavior while separating environment identifiers (
Foo) from implementation shapes (Foo["Service"]orFoo.Service).The OpenAPI generator now emits implementation projections in both schema and type-only clients. The shared service signatures in the Anthropic, OpenAI, and OpenRouter generated clients were regenerated from the transformer without refreshing provider schemas. A changeset documents the breaking type cleanup for the Effect 4 release candidate, using the repository's patch-release convention for these cleanups.
Ordinary declarations use named classes; generic CLI and Atom service factories use anonymous class expressions to retain their caller-defined identifiers. Local workflow/RPC/HTTP/cluster aliases preserve their keys and avoid new import cycles. Scope's public export aliases its single internal class. Context.Reference declarations are outside this migration. The Context.Service API retains both overloads, its explicit const constructor example, and const-support runtime/type tests.
The source migration commit deliberately contains no test edits. A final test-only follow-up is required before merge:
MockTerminalShape extends Terminal.Terminal.Serviceinterface; provide its implementation throughLayer.effect(Terminal.Terminal, make)and update its shape-indexed helper annotations.get operationoutput expectations for the new HttpClient implementation signatures.Validation (all through
nix develop -c):pnpm exec tsc -b tsconfig.packages.json,pnpm lint-fix, andpnpm jsdocs --checkpass.pnpm checkremains red in test/typetest files only; this PR is not ready to merge until that follow-up lands.Closes EFF-995