Merge commit '36c66dd290d3ce6eb1ccd310d0c658d4a32bb8eb' as 'repos/effect'
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add adaptive consume and feedback operations to the unstable persistent RateLimiterStore API, including in-memory and Redis-backed bounded cooldown, learning, learned pacing, and expiry behavior for 429 Retry-After feedback.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Added `BigDecimal.sumAll` and `BigDecimal.multiplyAll` for feature parity with `Number` and `BigInt`, closes #1880.
|
||||
5
repos/effect/.changeset/add-chunk-schema.md
Normal file
5
repos/effect/.changeset/add-chunk-schema.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Schema: add `Chunk` schema, closes #1585.
|
||||
19
repos/effect/.changeset/add-command-hidden.md
Normal file
19
repos/effect/.changeset/add-command-hidden.md
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `Command.withHidden` to hide subcommands from `--help` output, shell completions, and "did you mean?" suggestions, while keeping them fully invocable by exact name.
|
||||
|
||||
Useful for experimental or internal subcommands that should be accepted but not advertised on the public CLI surface.
|
||||
|
||||
```ts
|
||||
import { Command } from "effect/unstable/cli"
|
||||
|
||||
const experimental = Command.make("experimental").pipe(
|
||||
Command.withHidden
|
||||
)
|
||||
|
||||
const root = Command.make("mycli").pipe(
|
||||
Command.withSubcommands([experimental])
|
||||
)
|
||||
```
|
||||
5
repos/effect/.changeset/add-config-nested.md
Normal file
5
repos/effect/.changeset/add-config-nested.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `Config.nested` combinator to scope a config under a named prefix, closes #1437.
|
||||
15
repos/effect/.changeset/add-flag-hidden.md
Normal file
15
repos/effect/.changeset/add-flag-hidden.md
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `Flag.withHidden` (and `Param.withHidden`) to hide flags from `--help` output and shell completions while keeping them fully parseable on the command line.
|
||||
|
||||
Useful for experimental, internal, or deprecated flags that should be accepted but not advertised, e.g. `--experimental-foo`, debug toggles, or escape hatches that are not yet committed to the public CLI surface.
|
||||
|
||||
```ts
|
||||
import { Flag } from "effect/unstable/cli"
|
||||
|
||||
const experimental = Flag.boolean("experimental-foo").pipe(
|
||||
Flag.withHidden
|
||||
)
|
||||
```
|
||||
5
repos/effect/.changeset/add-from-string-schemas.md
Normal file
5
repos/effect/.changeset/add-from-string-schemas.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `DateFromString`, `BigIntFromString`, `BigDecimalFromString`, `TimeZoneNamedFromString`, `TimeZoneFromString`, and `DateTimeZonedFromString` schemas, closes #1941.
|
||||
5
repos/effect/.changeset/add-headers-remove-many.md
Normal file
5
repos/effect/.changeset/add-headers-remove-many.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
unstable/http Headers: add `removeMany` combinator for removing multiple headers at once
|
||||
5
repos/effect/.changeset/add-indexeddb-kvs-layer.md
Normal file
5
repos/effect/.changeset/add-indexeddb-kvs-layer.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/platform-browser": patch
|
||||
---
|
||||
|
||||
Adds an IndexedDB backed implementation of `KeyValueStore` as `BrowserKeyValueStore.layerIndexedDb`. This backend allows for non-blocking `KeyValueStore` operations, unlike the existing `Storage` api backed implementations.
|
||||
5
repos/effect/.changeset/add-make-msgpack.md
Normal file
5
repos/effect/.changeset/add-make-msgpack.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `RpcSerialization.makeMsgPack` for creating MessagePack serialization with custom msgpackr options. On Cloudflare Workers with `allow_eval_during_startup` (default for `compatibility_date >= 2025-06-01`), pass `{ useRecords: false }` to prevent msgpackr's JIT code generation via `new Function()`, which is blocked during request handling. Also fixes silent error swallowing in the `msgPack` decode path — non-incomplete errors are now rethrown instead of returning `[]`.
|
||||
5
repos/effect/.changeset/add-make-option.md
Normal file
5
repos/effect/.changeset/add-make-option.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `SchemaParser.makeOption` and `Schema.makeOption` for constructing schema values as `Option`.
|
||||
11
repos/effect/.changeset/add-missing-tx-modules.md
Normal file
11
repos/effect/.changeset/add-missing-tx-modules.md
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add transactional STM modules: TxDeferred, TxPriorityQueue, TxPubSub, TxReentrantLock, TxSubscriptionRef.
|
||||
|
||||
Refactor transaction model: remove `Effect.atomic`/`Effect.atomicWith`. All Tx operations now return `Effect<A, E, Transaction>` requiring explicit `Effect.tx(...)` at boundaries.
|
||||
|
||||
Expose `TxPubSub.acquireSubscriber`/`releaseSubscriber` for composable transaction boundaries. Fix `TxSubscriptionRef.changes` race condition ensuring current value is delivered first.
|
||||
|
||||
Remove `TxRandom` module.
|
||||
5
repos/effect/.changeset/add-newtype-module.md
Normal file
5
repos/effect/.changeset/add-newtype-module.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `Newtype` module.
|
||||
5
repos/effect/.changeset/add-scalar-show-operation-id.md
Normal file
5
repos/effect/.changeset/add-scalar-show-operation-id.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `showOperationId` to `HttpApiScalar.ScalarConfig`.
|
||||
5
repos/effect/.changeset/add-schedule-tap.md
Normal file
5
repos/effect/.changeset/add-schedule-tap.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Added `Schedule.tap`, which allows observing full schedule metadata without altering schedule inputs or outputs.
|
||||
5
repos/effect/.changeset/add-schema-annotate-encoded.md
Normal file
5
repos/effect/.changeset/add-schema-annotate-encoded.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Schema: add `annotateEncoded` function for annotating the encoded side of a schema.
|
||||
5
repos/effect/.changeset/add-schema-array-ensure.md
Normal file
5
repos/effect/.changeset/add-schema-array-ensure.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `Schema.ArrayEnsure`.
|
||||
5
repos/effect/.changeset/add-schema-bigdecimal.md
Normal file
5
repos/effect/.changeset/add-schema-bigdecimal.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Schema: add `BigDecimal` schema with comparison checks (`isGreaterThanBigDecimal`, `isGreaterThanOrEqualToBigDecimal`, `isLessThanBigDecimal`, `isLessThanOrEqualToBigDecimal`, `isBetweenBigDecimal`).
|
||||
5
repos/effect/.changeset/add-schema-datetime.md
Normal file
5
repos/effect/.changeset/add-schema-datetime.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Schema: add `DateTimeZoned`, `TimeZoneOffset`, `TimeZoneNamed`, and `TimeZone` schemas.
|
||||
9
repos/effect/.changeset/add-schema-error-module.md
Normal file
9
repos/effect/.changeset/add-schema-error-module.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Expose `SchemaError` as a public module and re-export `Schema.isSchemaError`.
|
||||
|
||||
This gives consumers a stable import path and guard for schema failures without
|
||||
depending on the internal schema implementation, while preserving the existing
|
||||
`Schema.SchemaError` surface.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Schema: add `OptionFromOptionalNullOr` schema, closes #1707.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Schema: add `OptionFromUndefinedOr` and `OptionFromNullishOr` schemas.
|
||||
5
repos/effect/.changeset/add-schema-string-encoding.md
Normal file
5
repos/effect/.changeset/add-schema-string-encoding.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Schema: add `StringFromBase64`, `StringFromBase64Url`, `StringFromHex`, and `StringFromUriComponent` schemas for decoding encoded strings into UTF-8 strings, closes #1995.
|
||||
5
repos/effect/.changeset/add-sql-pglite.md
Normal file
5
repos/effect/.changeset/add-sql-pglite.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/sql-pglite": minor
|
||||
---
|
||||
|
||||
Add `@effect/sql-pglite` package, wrapping `@electric-sql/pglite` with the Effect SQL client (Postgres dialect, Effect-managed transactions via savepoints, listen/notify, dumpDataDir/refreshArrayTypes, and a Migrator).
|
||||
5
repos/effect/.changeset/add-standard-jsdoc-rule.md
Normal file
5
repos/effect/.changeset/add-standard-jsdoc-rule.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/oxc": patch
|
||||
---
|
||||
|
||||
Add an `effect/standard-jsdoc` oxlint rule for staged public API JSDoc standardization.
|
||||
5
repos/effect/.changeset/add-stream-broadcastn.md
Normal file
5
repos/effect/.changeset/add-stream-broadcastn.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add Stream.broadcastN for fixed-size stream broadcasts.
|
||||
5
repos/effect/.changeset/add-unstable-encoding-export.md
Normal file
5
repos/effect/.changeset/add-unstable-encoding-export.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `unstable/encoding` subpath export.
|
||||
17
repos/effect/.changeset/add-values-unprepared.md
Normal file
17
repos/effect/.changeset/add-values-unprepared.md
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
"effect": patch
|
||||
"@effect/sql-clickhouse": patch
|
||||
"@effect/sql-d1": patch
|
||||
"@effect/sql-libsql": patch
|
||||
"@effect/sql-mssql": patch
|
||||
"@effect/sql-mysql2": patch
|
||||
"@effect/sql-pg": patch
|
||||
"@effect/sql-pglite": patch
|
||||
"@effect/sql-sqlite-bun": patch
|
||||
"@effect/sql-sqlite-do": patch
|
||||
"@effect/sql-sqlite-node": patch
|
||||
"@effect/sql-sqlite-react-native": patch
|
||||
"@effect/sql-sqlite-wasm": patch
|
||||
---
|
||||
|
||||
Add `Statement.valuesUnprepared` for returning unprepared SQL statement rows as arrays.
|
||||
5
repos/effect/.changeset/afraid-cobras-like.md
Normal file
5
repos/effect/.changeset/afraid-cobras-like.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/platform-node-shared": patch
|
||||
---
|
||||
|
||||
default to endOnDone: false in NodeStdio
|
||||
6
repos/effect/.changeset/ai-openai-config-field-leak.md
Normal file
6
repos/effect/.changeset/ai-openai-config-field-leak.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@effect/ai-openai": patch
|
||||
"@effect/ai-openai-compat": patch
|
||||
---
|
||||
|
||||
Fix `OpenAiLanguageModel` leaking library-only config fields (`fileIdPrefixes`, `strictJsonSchema`) into request body, causing OpenAI 400 errors.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/ai-openai": patch
|
||||
---
|
||||
|
||||
Fix `OpenAIFile` schema decode failure on responses where `expires_at` and `status_details` are returned as literal `null`. The OpenAI files endpoint returns `null` (not omitted) for these fields when no expiration / status detail applies (e.g. uploads with `purpose: "user_data"`), but the upstream OpenAPI spec marks them only as optional. Codegen patches widen both fields to allow `null`, which now decodes cleanly via `OpenAiClient.createFile`, `retrieveFile`, `listFiles`, and any other endpoint returning the `OpenAIFile` shape.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/ai-anthropic": patch
|
||||
---
|
||||
|
||||
Mark the Claude 4-6 generation as supporting native structured output in `getModelCapabilities`. `claude-opus-4-6` and `claude-sonnet-4-6` support Anthropic's constrained-decoding structured output (verified against the live API), but were classified as `supportsStructuredOutput: false`, so `generateObject` fell back to a forced JSON tool instead of requesting `output_config.format` (`json_schema`). `claude-opus-4-7` / `claude-opus-4-8` are classified the same way for when the generated `Model` enum picks them up.
|
||||
6
repos/effect/.changeset/anthropic-open-model-enum.md
Normal file
6
repos/effect/.changeset/anthropic-open-model-enum.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@effect/ai-anthropic": patch
|
||||
---
|
||||
|
||||
Widen the Anthropic `Model` schema to accept both known model identifiers as well
|
||||
as any string to allow for newer models
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Apply `transformClient` when building an individual HttpApi endpoint client, preserving the supplied client's error and service channels.
|
||||
5
repos/effect/.changeset/asyncresult-exhaustive.md
Normal file
5
repos/effect/.changeset/asyncresult-exhaustive.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add an exhaustive finalizer to the AsyncResult builder.
|
||||
5
repos/effect/.changeset/atom-stream-error-type.md
Normal file
5
repos/effect/.changeset/atom-stream-error-type.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Expose `NoSuchElementError` in the error type of stream-based `Atom.make` overloads.
|
||||
5
repos/effect/.changeset/beige-paths-sort.md
Normal file
5
repos/effect/.changeset/beige-paths-sort.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
move ChildProcess apis into spawner service
|
||||
5
repos/effect/.changeset/better-apples-nail.md
Normal file
5
repos/effect/.changeset/better-apples-nail.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Effect.repeat now uses effect return value when using options
|
||||
5
repos/effect/.changeset/better-rocks-arrive.md
Normal file
5
repos/effect/.changeset/better-rocks-arrive.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/ai-openai": patch
|
||||
---
|
||||
|
||||
add back openai reasoning types
|
||||
5
repos/effect/.changeset/better-shrimps-follow.md
Normal file
5
repos/effect/.changeset/better-shrimps-follow.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/opentelemetry": patch
|
||||
---
|
||||
|
||||
prefix opentelemetry modules to avoid collisions
|
||||
5
repos/effect/.changeset/big-pans-look.md
Normal file
5
repos/effect/.changeset/big-pans-look.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
add Rpc.custom
|
||||
5
repos/effect/.changeset/blue-dingos-greet.md
Normal file
5
repos/effect/.changeset/blue-dingos-greet.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `Effect.filter` support for synchronous `Filter.Filter` overloads and correctly handle non-effect `Result` return values at runtime.
|
||||
5
repos/effect/.changeset/blue-ligers-cheat.md
Normal file
5
repos/effect/.changeset/blue-ligers-cheat.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Update unstable schema variant helpers to use array-based arguments for `FieldOnly`, `FieldExcept`, and `Union`, aligning `VariantSchema` and `Model` with other v4 API shapes.
|
||||
5
repos/effect/.changeset/blue-onions-smile.md
Normal file
5
repos/effect/.changeset/blue-onions-smile.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/ai-openai-compat": patch
|
||||
---
|
||||
|
||||
Preserve streamed OpenAI compat tool call ids and names across fragmented chat completion chunks.
|
||||
5
repos/effect/.changeset/blue-ravens-type.md
Normal file
5
repos/effect/.changeset/blue-ravens-type.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Ensure streamed tool results are emitted before the finish part so chat history includes tool outputs before stream termination.
|
||||
7
repos/effect/.changeset/blue-trams-kiss.md
Normal file
7
repos/effect/.changeset/blue-trams-kiss.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Fix consolePretty ignoring explicit colors option in non-TTY environments.
|
||||
|
||||
When colors is explicitly set to true, prettyLoggerTty was still gating it with processStdoutIsTTY check, making it impossible to enable colors in non-TTY environments like Vite dev server.
|
||||
5
repos/effect/.changeset/bold-chairs-yawn.md
Normal file
5
repos/effect/.changeset/bold-chairs-yawn.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
add HttpApiTest module
|
||||
30
repos/effect/.changeset/bold-planets-shout.md
Normal file
30
repos/effect/.changeset/bold-planets-shout.md
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
add support for merging external events into `Prompt.custom` render loops via an optional `events` dequeue and `receive` handler.
|
||||
|
||||
The prompt races user input against events from the dequeue, allowing background events to trigger re-renders without waiting for a keypress:
|
||||
|
||||
```ts
|
||||
const eventQueue = yield * Queue.make<number>()
|
||||
|
||||
const prompt = Prompt.custom(
|
||||
{ count: 0 },
|
||||
Queue.asDequeue(eventQueue), // <-- provide the event queue as a dequeue to the prompt
|
||||
{
|
||||
render: (state) => Effect.succeed(`Count: ${state.count}`),
|
||||
process: (input, state) =>
|
||||
Effect.succeed(
|
||||
Match.value(input).pipe(
|
||||
// handle user input
|
||||
Match.tag("Input", () => Action.Submit({ value: state.count })),
|
||||
// handle external events from the queue
|
||||
Match.tag("Event", (input) => Action.NextFrame({ state: { count: state.count + input.value } })),
|
||||
Match.exhaustive
|
||||
)
|
||||
),
|
||||
clear: () => Effect.succeed("")
|
||||
}
|
||||
)
|
||||
```
|
||||
5
repos/effect/.changeset/breezy-meals-see.md
Normal file
5
repos/effect/.changeset/breezy-meals-see.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
support tag unions in Effect.catchTag/Reason
|
||||
5
repos/effect/.changeset/bright-bugs-bow.md
Normal file
5
repos/effect/.changeset/bright-bugs-bow.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Run request resolver batch fibers with request services by using `Effect.runForkWith`, so resolver delay effects and `runAll` execution see the request service map.
|
||||
5
repos/effect/.changeset/bright-canyons-clean.md
Normal file
5
repos/effect/.changeset/bright-canyons-clean.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
add support for deferred responses in rpc
|
||||
5
repos/effect/.changeset/bright-dogs-fail.md
Normal file
5
repos/effect/.changeset/bright-dogs-fail.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `Model.BooleanSqlite`, a model field schema that uses `0 | 1` encoding for database variants and plain `boolean` encoding for JSON variants.
|
||||
5
repos/effect/.changeset/bright-flags-stand.md
Normal file
5
repos/effect/.changeset/bright-flags-stand.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Fix CLI parsing so command-local flags can override globals without breaking global flags before subcommands.
|
||||
5
repos/effect/.changeset/bright-laws-teach.md
Normal file
5
repos/effect/.changeset/bright-laws-teach.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `Config.Success` type utility, closes #1783.
|
||||
5
repos/effect/.changeset/bright-lemons-dance.md
Normal file
5
repos/effect/.changeset/bright-lemons-dance.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Allow `Effect.acquireRelease` release finalizers to depend on the surrounding environment.
|
||||
5
repos/effect/.changeset/bright-planes-smash.md
Normal file
5
repos/effect/.changeset/bright-planes-smash.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `responseText` to `AiError.StructuredOutputError` and populate it from `LanguageModel.generateObject` so failed structured output decodes include the full LLM text.
|
||||
5
repos/effect/.changeset/bright-rats-attend.md
Normal file
5
repos/effect/.changeset/bright-rats-attend.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
make fiber keepAlive setInterval evaluation lazy
|
||||
5
repos/effect/.changeset/bright-toes-rush.md
Normal file
5
repos/effect/.changeset/bright-toes-rush.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Persist MCP HTTP session and protocol headers after initialize so follow-up JSON-RPC requests include `MCP-Protocol-Version`.
|
||||
5
repos/effect/.changeset/bumpy-boxes-teach.md
Normal file
5
repos/effect/.changeset/bumpy-boxes-teach.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Rename Atom's `Context` type to `AtomContext`
|
||||
5
repos/effect/.changeset/busy-lions-sneeze.md
Normal file
5
repos/effect/.changeset/busy-lions-sneeze.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/ai-openrouter": patch
|
||||
---
|
||||
|
||||
Fix HTTP Referer header name in the `OpenRouterClient`
|
||||
7
repos/effect/.changeset/busy-maps-attend.md
Normal file
7
repos/effect/.changeset/busy-maps-attend.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"effect": patch
|
||||
"@effect/platform-bun": patch
|
||||
"@effect/platform-node": patch
|
||||
---
|
||||
|
||||
add rows to Terminal
|
||||
5
repos/effect/.changeset/calm-buckets-own.md
Normal file
5
repos/effect/.changeset/calm-buckets-own.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/ai-openai": patch
|
||||
---
|
||||
|
||||
improve openai socket errors
|
||||
7
repos/effect/.changeset/calm-carrots-march.md
Normal file
7
repos/effect/.changeset/calm-carrots-march.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Allow unstable HttpApi middleware to declare multiple error schemas with arrays.
|
||||
|
||||
Middleware errors now follow endpoint error behavior for response status resolution, client decoding, and generated API schemas.
|
||||
5
repos/effect/.changeset/calm-cars-rest.md
Normal file
5
repos/effect/.changeset/calm-cars-rest.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add grouped subcommand support to `Command.withSubcommands`, including help output sections for named groups while keeping ungrouped commands under `SUBCOMMANDS`.
|
||||
5
repos/effect/.changeset/calm-masks-count.md
Normal file
5
repos/effect/.changeset/calm-masks-count.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `Schema.DateFromMillis` and `SchemaTransformation.dateFromMillis` for decoding millisecond timestamps into `Date` values.
|
||||
5
repos/effect/.changeset/calm-panthers-nail.md
Normal file
5
repos/effect/.changeset/calm-panthers-nail.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `disableFatalDefects` to `RpcServer.layerHttp`, `RpcServer.toHttpEffect`, and `RpcServer.toHttpEffectWebsocket` option types to match existing runtime support.
|
||||
5
repos/effect/.changeset/calm-ravens-reflect.md
Normal file
5
repos/effect/.changeset/calm-ravens-reflect.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Preserve `__proto__` group and endpoint identifiers in HTTP APIs, generated clients, and URL builders.
|
||||
5
repos/effect/.changeset/calm-seas-smile.md
Normal file
5
repos/effect/.changeset/calm-seas-smile.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Align workflow tags with RPCs by changing `Workflow.make` to accept the tag as its first argument, exposing workflow tags as `_tag`, and supporting `class MyWorkflow extends Workflow.make(...) {}`.
|
||||
5
repos/effect/.changeset/calm-squids-hug.md
Normal file
5
repos/effect/.changeset/calm-squids-hug.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
add Context.Key type, used a base for Context.Service and Context.Reference
|
||||
5
repos/effect/.changeset/calm-tracers-sample.md
Normal file
5
repos/effect/.changeset/calm-tracers-sample.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/opentelemetry": patch
|
||||
---
|
||||
|
||||
Preserve sampling decisions when adapting generic Effect external spans to OpenTelemetry.
|
||||
5
repos/effect/.changeset/chatty-poets-type.md
Normal file
5
repos/effect/.changeset/chatty-poets-type.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
remove Effect.Yieldable
|
||||
5
repos/effect/.changeset/chilled-mice-wash.md
Normal file
5
repos/effect/.changeset/chilled-mice-wash.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `HttpServerResponse.fromClientResponse` for directly converting client responses into server responses.
|
||||
5
repos/effect/.changeset/chilly-pumas-rule.md
Normal file
5
repos/effect/.changeset/chilly-pumas-rule.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Make `Data.Class`, `Data.TaggedClass`, and `Cause.YieldableError` pipeable.
|
||||
5
repos/effect/.changeset/chubby-buckets-feel.md
Normal file
5
repos/effect/.changeset/chubby-buckets-feel.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
fix issues with metro bundler
|
||||
5
repos/effect/.changeset/chubby-parents-flow.md
Normal file
5
repos/effect/.changeset/chubby-parents-flow.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
allow undefined for VariantSchema.Overridable input
|
||||
5
repos/effect/.changeset/chubby-planets-fall.md
Normal file
5
repos/effect/.changeset/chubby-planets-fall.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/ai-anthropic": patch
|
||||
---
|
||||
|
||||
Remove duplicate `ToolApprovalResponsePartOptions` from Anthropic package
|
||||
5
repos/effect/.changeset/clean-balloons-tan.md
Normal file
5
repos/effect/.changeset/clean-balloons-tan.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Proxy function arity from `Effect.fn` APIs so wrapped functions preserve the original `length` value.
|
||||
5
repos/effect/.changeset/clean-bulldogs-care.md
Normal file
5
repos/effect/.changeset/clean-bulldogs-care.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/sql-pg": patch
|
||||
---
|
||||
|
||||
Use `pg_notify` in `PgClient.notify` so channel and payload are sent through parameters instead of a `NOTIFY` statement string.
|
||||
5
repos/effect/.changeset/clean-dryers-sneeze.md
Normal file
5
repos/effect/.changeset/clean-dryers-sneeze.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `Random.nextBoolean` for generating random boolean values.
|
||||
5
repos/effect/.changeset/clean-geese-work.md
Normal file
5
repos/effect/.changeset/clean-geese-work.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Remove `Inspectable.stringifyCircular` and fix `Formatter.formatJson` so shared object references are preserved while only circular references are omitted.
|
||||
5
repos/effect/.changeset/clean-goats-wave.md
Normal file
5
repos/effect/.changeset/clean-goats-wave.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add `Ctrl-U` line clearing support to editable CLI prompts.
|
||||
23
repos/effect/.changeset/clean-needles-shake.md
Normal file
23
repos/effect/.changeset/clean-needles-shake.md
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Fix module-level side effects that defeated bundler tree-shaking.
|
||||
|
||||
Bare top-level statements cannot be `#__PURE__`-annotated by the build, so
|
||||
bundlers must retain them and everything they reference, even in bundles that
|
||||
never use the code:
|
||||
|
||||
- `Option`: the standalone `Object.defineProperty(SomeProto, "valueOrUndefined", ...)`
|
||||
statement anchored the whole `Option` proto chain into every bundle. It is
|
||||
now folded into the `SomeProto` initializer.
|
||||
- `Headers`: same pattern with `Object.defineProperties(Proto, ...)`, folded
|
||||
into the initializer.
|
||||
- `Logger`: module-level `process.stdout.isTTY` property reads (potential
|
||||
getters, never droppable) moved inside `consolePretty`.
|
||||
- `Utils`: when `internalCall` was unused, its dropped binding left behind a
|
||||
retained initializer tail (`standard`/`forced` probe with computed property
|
||||
reads). The selection is now wrapped in a single pure-annotated call.
|
||||
|
||||
A minimal `Effect.succeed(123).pipe(Effect.runFork)` bundle shrinks by ~1.3%
|
||||
gzipped; bundles that don't use `Option` or `Headers` no longer pay for them.
|
||||
5
repos/effect/.changeset/clean-tires-guess.md
Normal file
5
repos/effect/.changeset/clean-tires-guess.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/sql-pg": patch
|
||||
---
|
||||
|
||||
clean up sql-pg constructors and layers
|
||||
5
repos/effect/.changeset/clear-hairs-pump.md
Normal file
5
repos/effect/.changeset/clear-hairs-pump.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
fix activity retry policy
|
||||
5
repos/effect/.changeset/clear-spies-boil.md
Normal file
5
repos/effect/.changeset/clear-spies-boil.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/platform-browser": patch
|
||||
---
|
||||
|
||||
improve idb support for compound indexes
|
||||
24
repos/effect/.changeset/cli-config-built-ins.md
Normal file
24
repos/effect/.changeset/cli-config-built-ins.md
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Add a scoped `CliConfig` service for customizing the built-in global flags used by CLI command runners.
|
||||
|
||||
For example, provide an explicit list that omits `GlobalFlag.LogLevel` to remove the built-in `--log-level` flag:
|
||||
|
||||
```ts
|
||||
import { Effect } from "effect"
|
||||
import { CliConfig, Command, GlobalFlag } from "effect/unstable/cli"
|
||||
|
||||
const program = Command.run(command, { version: "1.0.0" }).pipe(
|
||||
Effect.provide(
|
||||
CliConfig.layer({
|
||||
builtIns: [
|
||||
GlobalFlag.Help,
|
||||
GlobalFlag.Version,
|
||||
GlobalFlag.Completions
|
||||
]
|
||||
})
|
||||
)
|
||||
)
|
||||
```
|
||||
5
repos/effect/.changeset/cli-help-choices.md
Normal file
5
repos/effect/.changeset/cli-help-choices.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Append concrete choice values to CLI flag help descriptions so generated help shows valid command-line inputs.
|
||||
5
repos/effect/.changeset/cli-wizard-mode.md
Normal file
5
repos/effect/.changeset/cli-wizard-mode.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Reintroduce interactive CLI wizard mode through the `--wizard` flag and `Command.wizard`.
|
||||
35
repos/effect/.changeset/cold-knives-lie.md
Normal file
35
repos/effect/.changeset/cold-knives-lie.md
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Port `Pipeable.Class` from v3.
|
||||
|
||||
```ts
|
||||
class MyClass extends Pipeable.Class() {
|
||||
constructor(public a: number) {
|
||||
super()
|
||||
}
|
||||
methodA() {
|
||||
return this.a
|
||||
}
|
||||
}
|
||||
console.log(new MyClass(2).pipe((x) => x.methodA())) // 2
|
||||
```
|
||||
|
||||
```ts
|
||||
class A {
|
||||
constructor(public a: number) {}
|
||||
methodA() {
|
||||
return this.a
|
||||
}
|
||||
}
|
||||
class B extends Pipeable.Class(A) {
|
||||
constructor(private b: string) {
|
||||
super(b.length)
|
||||
}
|
||||
methodB() {
|
||||
return [this.b, this.methodA()]
|
||||
}
|
||||
}
|
||||
console.log(new B("pipe").pipe((x) => x.methodB())) // ['pipe', 4]
|
||||
```
|
||||
5
repos/effect/.changeset/cold-rooms-show.md
Normal file
5
repos/effect/.changeset/cold-rooms-show.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/platform-browser": patch
|
||||
---
|
||||
|
||||
use Cause.NoSuchElementError for idb .first queries
|
||||
5
repos/effect/.changeset/cold-sloths-wave.md
Normal file
5
repos/effect/.changeset/cold-sloths-wave.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/ai-openai": patch
|
||||
---
|
||||
|
||||
Add support for OpenAI `keepalive` response stream events.
|
||||
5
repos/effect/.changeset/common-mammals-tickle.md
Normal file
5
repos/effect/.changeset/common-mammals-tickle.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@effect/openapi-generator": patch
|
||||
---
|
||||
|
||||
Fix generation order for recursive schemas referenced by earlier recursive definitions, closes #6357.
|
||||
25
repos/effect/.changeset/compact-json-schema-enum.md
Normal file
25
repos/effect/.changeset/compact-json-schema-enum.md
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Schema: collapse same-type literal branches in JSON Schema output into a single `enum` array, closes #1868.
|
||||
|
||||
Before:
|
||||
|
||||
```json
|
||||
{
|
||||
"anyOf": [
|
||||
{ "type": "string", "enum": ["A"] },
|
||||
{ "type": "string", "enum": ["B"] }
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
After:
|
||||
|
||||
```json
|
||||
{
|
||||
"type": "string",
|
||||
"enum": ["A", "B"]
|
||||
}
|
||||
```
|
||||
7
repos/effect/.changeset/config-withdefault-eager.md
Normal file
7
repos/effect/.changeset/config-withdefault-eager.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Revert `Config.withDefault` to v3 behavior, closes #1530.
|
||||
|
||||
Make `Config.withDefault` accept an eager value instead of `LazyArg`, aligning with CLI module conventions.
|
||||
24
repos/effect/.changeset/config.json
Normal file
24
repos/effect/.changeset/config.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"$schema": "https://unpkg.com/@changesets/config@1.6.4/schema.json",
|
||||
"changelog": ["@changesets/changelog-github", { "repo": "Effect-TS/effect" }],
|
||||
"commit": false,
|
||||
"linked": [],
|
||||
"access": "restricted",
|
||||
"baseBranch": "main",
|
||||
"updateInternalDependencies": "patch",
|
||||
"ignore": [
|
||||
"scratchpad",
|
||||
"scripts"
|
||||
],
|
||||
"privatePackages": false,
|
||||
"fixed": [
|
||||
[
|
||||
"effect",
|
||||
"@effect/*"
|
||||
]
|
||||
],
|
||||
"snapshot": {
|
||||
"useCalculatedVersion": false,
|
||||
"prereleaseTemplate": "{tag}-{commit}"
|
||||
}
|
||||
}
|
||||
5
repos/effect/.changeset/consolidate-encoding.md
Normal file
5
repos/effect/.changeset/consolidate-encoding.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Encoding: consolidate `effect/encoding` sub-modules (Base64, Base64Url, Hex, EncodingError) into a top-level `Encoding` module. Functions are now prefixed: `encodeBase64`, `decodeBase64`, `encodeHex`, `decodeHex`, etc. The `effect/encoding` sub-path export is removed.
|
||||
16
repos/effect/.changeset/consolidate-sql-error.md
Normal file
16
repos/effect/.changeset/consolidate-sql-error.md
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
"effect": patch
|
||||
"@effect/sql-clickhouse": patch
|
||||
"@effect/sql-d1": patch
|
||||
"@effect/sql-libsql": patch
|
||||
"@effect/sql-mssql": patch
|
||||
"@effect/sql-mysql2": patch
|
||||
"@effect/sql-pg": patch
|
||||
"@effect/sql-sqlite-bun": patch
|
||||
"@effect/sql-sqlite-do": patch
|
||||
"@effect/sql-sqlite-node": patch
|
||||
"@effect/sql-sqlite-react-native": patch
|
||||
"@effect/sql-sqlite-wasm": patch
|
||||
---
|
||||
|
||||
Consolidate the SqlError changes to the new reason-based shape across effect and the SQL drivers, classifying native failures into structured reasons with Unknown fallback where native codes are unavailable.
|
||||
5
repos/effect/.changeset/crisp-seas-warn.md
Normal file
5
repos/effect/.changeset/crisp-seas-warn.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
ensure transformed Atom's don't extend idle ttl
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Normalize cron month and weekday aliases independently of the host locale.
|
||||
5
repos/effect/.changeset/cron-single-value-step.md
Normal file
5
repos/effect/.changeset/cron-single-value-step.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Allow cron fields like `5/15` to expand from the starting value through the field maximum.
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user