Repository navigation
chore: update effect packages to 4.0.5 - #923
Merged
Merged
Conversation
Co-authored-by: Patrick Roza <42661+patroza@users.noreply.github.com>
7f524e25cf Version Packages (#9099) 3ad9a0c633 Fix premature RPC socket ping timeouts (#9187) f665607ee8 fix(Array): make Array.match expose NonEmptyArray for mutable arrays (#9055) 0df6e068b6 GraphQL: per-request url function for layerHttp with URL-aware resolver batching (#9150) 7422b9b9af test(cluster): allow residency cap checks headroom on Deno (#9185) 5951ac0c0f feat(platform-node): add typed unix socket and TLS options to NodeHttpClient (#9158) bc454a377d Make String snake_case conversions total and skip empty noCase words (#9183) 0e55b2f3b0 fix(platform-deno): ignore closeWrite on a closed connection (#9162) 3b87d1d1ed Reduce clock polling in shard-release teardown test (#9184) acc7860651 Use a caller-provided WatchBackend for FileSystem.watch (#9181) ec831c3795 Accept Redacted values as HTTP URL params (#9160) 1aecc4250d Update GraphQL ai-docs for generated struct interfaces (#9180) cd74ea2119 Fix lost replies for persisted local cluster requests (#9176) 2a8ec8be83 perf(schema): keep successful decoding defaults resolved (#9166) d1ad2c71a0 perf(ai): reuse language model response decoders (#9169) f9f43352d6 perf(ai-openai-compat): filter SSE events without child streams (#9167) a0ad8d3a4f perf(ai-openai-compat): emit stream part chunks directly (#9168) f2b3d8a573 Fix TestClock skipping sleeps registered after multi-hop wakeups (#9172) cb2cf5f19d Expose attempt and retry metadata on `Effect.Transaction` (#8166) f7deebc16f Document the browser CORS failure from `b3` and `traceparent` (#9152) ec9332ba2b fix: remove interrupted TestClock sleeps and avoid queue sorting (#9173) b44c2fbd4d Reduce GraphQL generated schema type-checking overhead (#9171) 995c104f7b Fix Duration losing nanosecond precision for large integer millisecond values (#9161) 793d89efa9 ai: support structured decision instructions and descriptions (#9124) a03afb6147 Add Flag.withOptionalValue for CLI flags with an optional value (#9145) e24911e266 Add pull request finalization skill (#9153) c2859bf017 perf(ai): collect tool approvals once per request (#9143) 738bc873a7 perf(ai-openai-compat): return single text parts directly (#9144) e271997a14 Fix MCP resource and prompt schema service requirements (#9151) 742976ce97 Capture PostgreSQL teardown diagnostics in Deno CI (#9142) 91f4c74fe8 ai-openai: add OpenAiDecisionModel for OpenAI's Decisions API (#9140) 12be65e5e3 Redact sensitive query params in spans, inspect output and errors (#9136) 563397fbb8 Add opt-in gzip compression to OTLP exporters (#9139) 3abc63eae4 Add HttpMiddleware.decompression for compressed request bodies (#9138) 52a7d3c8d3 Add HttpClientRequest body compression (#9137) 8dec89d318 Fix resource template completion service requirements (#9135) f159284375 Fix deferred callback wakes before parent workflow suspension (#9131) c462214483 Test SQLite statement reuse after failed-COMMIT cleanup retry (#9134) b8c201d0f4 Add detached option for discarded workflow executions (#9092) 118c9c4fe5 Keep failure-suspended workflows parked until resumed or interrupted (#9091) f05642f777 Fix HttpRouter prefixes with path params breaking request.url (#9118) 73efe552d9 perf(sql-sqlite-do): borrow the connection for statements (#9130) 65d20dd6e8 Wait for GraphQL watcher installation before generating (#9133) bd2c7a3b8b ai-cloudflare: send decision images to Clef (#9121) 1cd7df8a98 feat(sql-pg): expose TCP keepalive settings (#9120) eff9beeee3 Fix Deno CI crashes by pinning v2.9.7 (#9132) dbf442b914 Fix AsyncResult.all previousSuccess shape for failed inputs (#9110) e3ff963eb5 End Stream.timeout while the next chunk is still pending (#9106) a7ce81f601 Record the active span on OpenTelemetry log records (#9125) 7719bda8a5 Fix OTLP export dropping a whole batch when a span has a 64-bit B3 trace id (#9117) 2c5199fcfd fix(sqlite-node): retry enabling WAL on Deno when the database is locked (#9108) 65b04f87b7 Add Path.resolveWithin for root-contained path resolution (#9127) a841b8b144 Stop interruption from hashing causes and looping on throwing hashes (#9113) 816575e11c Use bigint for 64-bit FileSystem stat metadata (#9112) 5d018e1fb1 fix(ai-openai): preserve ultrafast service tier metadata (#9115) 54c51d9e96 Fix Duration conversions throwing for very large millisecond durations (#9109) 74d19304da Fix atom rebuild loops from late dependency reads (#9105) dba4e52f50 fix(schema): reject duplicate tagged union discriminants (#9103) 91efea7860 Keep the unmatched tail in Match array prefix patterns (#9098) 3b7237aef5 fix(sql-pg): restore inferred empty array binding (#9102) 925cf641c7 Fix dotenv variable expansion scanning expanded text again (#9095) 68caf1d642 fix(ai-openai): end a Responses event stream at data: [DONE] (#9097) 7ca8224ebb Fix Sse encoder dropping data after a lone carriage return (#9096) 5d301cc7aa fix(cluster): use entity type as span prefix instead of type+id (#9094) 51c079b90b fix(ai-openai): accept web search actions without patterns (#9100) 352618a562 Reject unknown keys in Match.when object patterns (#9088) e17ecdbe90 Version Packages (#8993) ab04ad0622 fix(sql-pg): invalidate released pins so they cannot reach the next borrower (#9089) ab90be98ea feat: GraphQL client and generator (#8979) 1bfd8fddeb fix(Schema): merge colliding bounds in JSON Schema export instead of emitting allOf (#9081) 711719d28d Bound import-time stack detection probes (#9083) 6c824e0e34 Stage npm releases and promote latest once every package is visible (#9073) e571748085 Relax timeout for compiler-backed api-diff snapshot tests (#9079) e8751695bf Revert "Expand Crypto with hashing, encryption, signing, and key management" (#9077) 09738f4aa6 Honor Retry-After in HttpClient.retryTransient (#9053) de38e53651 Allow OpenAI find_in_page web search actions without a URL (#9075) 984b4abfb2 Regenerate the OpenAI client from the canonical OpenAI spec (#9067) f41a60f59b Wait for PostgreSQL containers to stop before removal (#9074) 797696a2b7 Merge outer headers into a raw Response with immutable headers in HttpServerResponse.toWeb (#9062) 211ea2efec fix(sqlite-node): support node:sqlite without enableLoadExtension (#9070) 892d14d88b perf(Sse): stop re-copying long lines split across chunks (#9065) fdcb47e643 Fix Sharding storage-loop initialization order (#9069) 077c55770d Preserve HTTP server spans during runtime shutdown (#9066) 83df573a79 Refresh migration guidance for terminal, OpenAI and Workers defaults (#9071) 7547a99f81 Bound sparse bracket-path array indices in SchemaGetter.makeTreeRecord (#9030) 8aee3b9caa perf(ai-openai-compat): reuse prepared tool parameter codecs (#9054) b7c1ac6837 Fix streamed prompt ordering and preserve partial assistant text (#9056) 8ae4d04359 Isolate Sharding reset claim-expiry regression from concurrent tests (#9057) 0d92a92ab2 Expand Crypto with hashing, encryption, signing, and key management (#8749) fc349a13f7 Fix Sink.takeUntil dropping the input after the match (#9049) a59b9711af Read Retry-After HTTP dates as dates in withRateLimiter (#9052) a0a26b789c Fix DateTime.add treating hours and minutes as wall-clock time across DST (#9048) 390bc98756 Fix StructWithRest primitive-encoded base constraint (#9020) cea74c92ac Persist cluster sends before local shard lock acquisition (#9046) 8f1ea52f0c Fix grouped RequestResolver batch key retention (#9041) fccf660d83 Add request-scoped MCP HTTP layer (#9031) e1c6053c5e Release aborted web handler requests and streamed bodies (#9037) 7440cf0884 Document Cloudflare Workers shared-fiber limitations (#9033) 4a999a34e8 Clean up Anthropic documentation imports and omitted binding (#9029) eebdf25f99 Batch SQLite Node Resolver fixture inserts (#9028) 5d88d8761d Update repository dependencies (#9027) 689fec6543 Avoid busy polling in Sharding claim-expiry tests (#9022) 22e7129023 Expose Scalar preferred authentication security scheme configuration (#9019) 78e4c435ed Fix Multipart.toPersisted failing on dot and long multi-byte file names (#9013) 5726c655af fix(platform-node): skip taskkill for exited children (#9015) 8b097ac4ba Stabilize cross-queue deduplication delivery assertion (#9021) 95a3ab78e9 Fix Node HTTP text keeping a UTF-8 BOM that breaks json (#9014) 52c91f0080 Keep MSSQL error listener after connection cleanup (#9018) 844a77b18c Fix assistant replay with legacy OpenAI compat config (#9011) cf5179b488 Wake suspended workflow callers when their workflow completes (#9007) 42aceb966a Replay assistant reasoning alongside tool calls in openai-compat (#9005) cc843ea091 Return invalid and undeclared AI tool calls when tool call validation is deferred (#9008) c93485e365 Support servername in client TLS socket upgrades (#9010) 93146666ec perf(Context): optimize pick for zero or one service (#8998) 251f849155 Fix unhandled errors after child process input interruption (#9004) f8379667c9 Release losing DurableDeferred.raceAll waits when the race settles (#8997) 35ec46efd0 Remove fork approval gate from release queue (#8996) 37e088f2af Use decoded response aliases and canonical finite schemas in code generation (#8990) 118deefe7c Add Host.toFullyQualified, Host.toRelative, and Host.parseHostsFile (#8992) fde67a10e9 Add NetAddress.loopbackAddresses (#8991) 967a7dc596 Version Packages (#8887) 4fcdede9a4 Clarify native Array.fromAsync in Stream examples (#8989) 84f48df586 Omit cumulative min/max from delta histogram points in OtlpMetrics (#8987) 1d3419e76c Fix histogram export dropping or duplicating the overflow bucket (#8986) b4e5af825a fix(effect): handle synchronous re-entrancy in Effect.cached* (#8977) b8d6e7a89b cli: export the terminal display-width measure as CliOutput.displayWidth (#8982) 43bb382f68 fix(ai-openai): default unrecognized models to reasoning and preserve explicit includes (#8980) b630acdb8c Revert "Add an explicit maxDepth option to Context.makeUnsafe (#8969)" 0b17b9e2e4 Support WebSocket handshake headers alongside subprotocols (#8978) f9f7a5a16e feat(rpc): report socket ping timeouts through an onPingTimeout option (#8976) 4b1f4aa8ad Add an explicit maxDepth option to Context.makeUnsafe (#8969) 1db5671d77 fix(ai-anthropic): decode replies a fallback model took over (#8971) 76a03f7599 Fix Duration.times throwing for non-integer multipliers of nanosecond durations (#8972) e052f1b30b Avoid copying the Context rebase map twice (#8968) f7c4317345 Test DateTime.toDate wall-clock conversion for zoned values (#8975) 9dbd07e006 Accept address and name server inputs in the Dns services (#8973) e7d84e449a Add fromInput functions to the net data types (#8970) 66257d2922 Hand cluster shards off one at a time on shutdown (#8941) f54c34a754 Restore lease-based SQL shard lock renewal (#8965) bfc5742e18 Record RPC response-encoding failures on the server span (#8958) aef1d1f2e5 Add cluster RPC interrupt-on-termination annotation (#8963) 210fd06398 Keep shard locks held while their runner shuts down (#8961) cd2ab19600 Route shard handoff interrupts to the draining owner and wait for shard locks (#8940) 73fa2873cb Fix safe integer bounds in JSON Schema export (#8956) ae63afed95 Reclaim row shard locks whose holder is no longer a registered runner (#8942) ec8ccb92a4 Document Schema class field overrides (#8960) aa811e454b Failing test: RPC success encode failures are not logged with the RPC tag (#8943) 93410da528 Add stderr terminal detection to Stdio (#8938) 310228c2be Allow scheduler 0.28 in atom-react peers (#8954) b63a4f9ac7 Fix ai-openai-compat splitting streamed reasoning on empty content deltas (#8952) 7ba976c620 Fix interrupted activity replay in memory workflow engine (#8955) d4f7dc3300 Add TLSA records to DNS services (#8953) a9b5148225 Add DNS resolution to effect/net (#8880) 7ff5048db5 Skip continuation-mark probing when stack traces are disabled (#8937) 63bfad88fc Keep durable race and into continuations running beside a parked workflow sibling (#8926) e00eaae8d9 Fix lazy terminal input acquisition for CLI prompts (#8932) 89d5c88810 Fix NO_COLOR handling in CLI prompts and wizard (#8933) ebe487f888 Support configurable Crypto UUID output formats (#8935) 8e5ab22a42 Fix Esc cancellation for CLI prompts (#8934) b210b6be1f Refresh migration guidance for inferred services and telemetry (#8928) 7803e51e94 Hold the shared SQL connection for the whole statement (#8927) 3b934343a0 Start Effect spans with the active OpenTelemetry parent span itself (#8929) d6d515bafc Honor reported remaining budgets in HttpClient rate limiting (#8917) 0a6f270e21 Allow NodeTerminal fixtures time to start under CI load (#8930) 8598157653 Fix Duration.fromInputUnsafe throwing on infinite nanosecond totals (#8921) a494a64788 Allow HTTP MCP servers to disable subscriptions (#8924) ee3a350768 Fix spurious MCP list-change notifications on first subscription (#8925) 950ea4eeb2 Preserve tool call extra_content in ai-openai-compat (#8916) 7e444029d3 fix(http): ignore B3 headers whose ids are not hex (#8913) 0e487c027a Fix Effect spans losing a getter-based OpenTelemetry parent (#8922) 13ace20e6c Update migration bundle size figures (#8911) c755b69701 Add a deterministic TestCrypto layer (#8487) 788eced019 Keep the test clock advancing through PersistedQueue cleanup completion (#8910) 48ed32f846 Add delay option to PersistedQueue.offer (#8907) be560ff3ab Fix Bun worker graceful shutdown without self.close (#8909) 59e58a6b98 Add PowerShell support to --completions (#8904) 7c5133c342 disable experimentalApiUsage b9e7821be3 Add DatagramSocket (UDP) module (#8409) 182e26dae1 Add FileSystem noFollow open option and positional reads (#8900) 738d81f19e Simplify SchemaError serialization (#8903) 0e2b988eec Fix orphaned workflow activity recovery after a crash (#8899) ca068cef44 Allow cluster SQL storage to run without runtime DDL (#8897) 9753be9ecf Deliver cluster WithTransaction replies after the transaction outcome is known (#8891) f686000760 Add compact SchemaError JSON and inspect output (#8895) ea52c245f6 Fix typed SQL transaction COMMIT error recovery (#8892) d6082a25a3 Send MCP cancellation notifications for interrupted reverse requests (#8890) 977096bcea Persist cluster WithTransaction failure replies after rollback (#8886) 133ceb2b77 Answer cancelled MCP HTTP request POSTs with an empty event stream (#8888) d418ce011a test(encoding): cover Base64 binary and padding contracts (#8889) a46592aed9 Preserve query URLs during HTTP router slash normalization (#8885) cf58cb0362 Fix Zsh completions for flag descriptions containing `]` (#8882) git-subtree-dir: repos/effect git-subtree-split: 7f524e25cfb49a71ac39b0f44278d08d40dda5de
TaggedUnion and ExtendTaggedUnion reject duplicate _tag values, matching Schema.toTaggedUnion. Co-authored-by: Patrick Roza <42661+patroza@users.noreply.github.com>
Effect 4.0.5 exports Schema.Int with Number.MAX_SAFE_INTEGER, so PositiveInt and NonNegativeInt JSON Schema include that maximum. Co-authored-by: Patrick Roza <42661+patroza@users.noreply.github.com>
@effect-app/cli
effect-app
@effect-app/eslint-codegen-model
@effect-app/eslint-shared-config
@effect-app/infra
@effect-app/vue
@effect-app/vue-components
commit: |
@effect/tsgo 0.56.0 only patches oxlint 1.87-1.89, so oxlint moves to 1.89.0 and oxlint-tsgolint to 7.0.2004. Keep the new schema-class-missing-brand and no-generated-empty-object-type rules off so the existing lint baseline holds. Co-authored-by: Patrick Roza <42661+patroza@users.noreply.github.com>
Leave schema-class-missing-brand off. A brand type argument is the wrong nominal marker; a protected "~brand~" field rejects plain objects that were not built with new or .make. Co-authored-by: Patrick Roza <42661+patroza@users.noreply.github.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
effectand the@effect/*packages this repo depends on to npm4.0.5, and syncrepos/effectto tageffect@4.0.5.TaggedUnionandExtendTaggedUnionreject duplicate_tagvalues at compile time, matchingSchema.toTaggedUnion.PositiveIntandNonNegativeIntnow includesSchema.Int's safe-integer maximum (Number.MAX_SAFE_INTEGER).@effect/language-serviceto0.87.5,@effect/tsgoto^0.56.0, andvitestto^5.0.5so it matches the@effect/vitest@4.0.5peer range.@effect/tsgo0.56.0 only patches oxlint 1.87–1.89, sooxlintis1.89.0andoxlint-tsgolintis7.0.2004.effecttsgo/schema-class-missing-brandandtypescript/no-generated-empty-object-typestay off so existing schema classes and intentional empty object types keep the previous lint baseline.opened by patroza in chat thread Discord · Discord · T3 Code
Need help on this PR? Tag
@codesmith-botwith what you need.