Commit Graph
12205 Commits
Author SHA1 Message Date
Tim c1a9c9d0c3 add option to exclude log spans from OtlpLogger (#5107) 2025-06-26 22:51:11 +12:00
Giulio Canti a84732ff5b handle unexpected keys (#176)
* handle unexpected keys

* docs

* try to reduce bundle (#177)

* remove Option from UnexpectedKey issue
2025-06-26 08:20:06 +02:00
Tim faad30ec87 relax Predicate.compose constraint on second refinement (#5100) 2025-06-26 10:49:49 +12:00
Giulio Canti 577d3d3a5b fix code snippet (#174) 2025-06-25 18:39:25 +02:00
Giulio Canti c87fc277f5 Default JSON Serialization / Deserialization (#173) 2025-06-25 18:12:12 +02:00
Giulio Canti 30f02fdff7 chore: improve json schema generation (#172)
* add isOptional helper

* improve json schema generation

* remove unused function
2025-06-25 16:24:15 +02:00
github-actions[bot] 23495453a7 Version Packages (#5099)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@effect/ai-anthropic@0.11.2 @effect/ai-openai@0.24.2 @effect/ai@0.21.2 @effect/cluster@0.41.2 @effect/platform-bun@0.72.2 @effect/platform-node-shared@0.42.2 @effect/platform-node@0.88.2 @effect/rpc@0.64.1 @effect/sql-clickhouse@0.30.2 @effect/workflow@0.4.1
2025-06-25 15:01:14 +12:00
Tim 112a93a9ba add flatten options to RpcClient constructors (#5098) 2025-06-25 14:55:03 +12:00
Silvestro Ranucci 94bc85d4d8 docs: remove unused import in HttpServerRequest example (#5092) 2025-06-25 10:12:31 +12:00
Giulio Canti b0674038ba add Introduction (#171) 2025-06-24 19:38:33 +02:00
Giulio Canti 5b31719546 Message system (#169)
* refactor formatters

* fix docgen

* remove message field from Structured formatter

* Enhance candidate type retrieval

* use SchemaIssue.AnyOf
2025-06-24 16:32:08 +02:00
Giulio Canti b025ea9c86 Record: properly handle literal keys (#170)
* add new bundle as a baseline

* properly handle literal keys

* add type-level tests
2025-06-24 16:31:32 +02:00
Michael Arnaldi d086c50784 unify provide service and make provide (#168)
* unify provide service and make provide

* compact impl
2025-06-24 12:17:30 +02:00
github-actions[bot] a9d17be31f Version Packages (#5090)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@effect/ai-anthropic@0.11.1 @effect/ai-openai@0.24.1 @effect/ai@0.21.1 @effect/cluster@0.41.1 @effect/platform-bun@0.72.1 @effect/platform-node-shared@0.42.1 @effect/platform-node@0.88.1 @effect/sql-clickhouse@0.30.1
2025-06-24 18:18:54 +12:00
Tim d5fd2c1526 fix unwrapping of DurableDeferred results (#5091) 2025-06-24 17:45:20 +12:00
Tim 9d189d744a propagate fiber refs to workflow activities (#5089) 2025-06-24 17:24:06 +12:00
Tim f667373da3 expose system option in AiChat constructors (#5088) 2025-06-24 17:10:44 +12:00
github-actions[bot] 262c04a42e Version Packages (#5085)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@effect/ai-anthropic@0.11.0 @effect/ai-openai@0.24.0 @effect/ai@0.21.0 @effect/cli@0.66.0 @effect/cluster@0.41.0 @effect/experimental@0.51.0 @effect/opentelemetry@0.53.0 @effect/platform-browser@0.67.0 @effect/platform-bun@0.72.0 @effect/platform-node-shared@0.42.0 @effect/platform-node@0.88.0 @effect/platform@0.87.0 @effect/rpc@0.64.0 @effect/sql-clickhouse@0.30.0 @effect/sql-d1@0.38.0 @effect/sql-drizzle@0.39.0 @effect/sql-kysely@0.36.0 @effect/sql-libsql@0.30.0 @effect/sql-mssql@0.41.0 @effect/sql-mysql2@0.41.0 @effect/sql-pg@0.41.0 @effect/sql-sqlite-bun@0.41.0 @effect/sql-sqlite-do@0.18.0 @effect/sql-sqlite-node@0.41.0 @effect/sql-sqlite-react-native@0.43.0 @effect/sql-sqlite-wasm@0.41.0 @effect/sql@0.40.0 @effect/workflow@0.4.0
2025-06-24 16:30:06 +12:00
Tim 867919c8be allow for namespacing rpcs using a group.method convention (#5086) 2025-06-24 16:27:15 +12:00
Tim b5bac9ac29 add HttpApiClient.makeWith, for supporting passing in HttpClient with errors and requirements (#5087) 2025-06-24 16:25:21 +12:00
Tim f90813f757 correctly propagate fs.watch errors when the stat fails (#5084) 2025-06-24 12:07:47 +12:00
github-actions[bot] 6d1aef52e3 Version Packages (#5083)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@effect/ai-anthropic@0.10.0 @effect/ai-openai@0.23.0 @effect/ai@0.20.0 @effect/cli@0.65.0 @effect/cluster@0.40.0 @effect/experimental@0.50.0 @effect/opentelemetry@0.52.0 @effect/platform-browser@0.66.0 @effect/platform-bun@0.71.0 @effect/platform-node-shared@0.41.0 @effect/platform-node@0.87.0 @effect/platform@0.86.0 @effect/printer-ansi@0.44.9 @effect/printer@0.44.9 @effect/rpc@0.63.0 @effect/sql-clickhouse@0.29.0 @effect/sql-d1@0.37.0 @effect/sql-drizzle@0.38.0 @effect/sql-kysely@0.35.0 @effect/sql-libsql@0.29.0 @effect/sql-mssql@0.40.0 @effect/sql-mysql2@0.40.0 @effect/sql-pg@0.40.0 @effect/sql-sqlite-bun@0.40.0 @effect/sql-sqlite-do@0.17.0 @effect/sql-sqlite-node@0.40.0 @effect/sql-sqlite-react-native@0.42.0 @effect/sql-sqlite-wasm@0.40.0 @effect/sql@0.39.0 @effect/typeclass@0.35.9 @effect/vitest@0.23.9 @effect/workflow@0.3.0 effect@3.16.9
2025-06-24 11:30:47 +12:00
Tim 5137c70346 allow Multipart configuration in HttpApiSchema.Multipart (#5081) 2025-06-24 10:53:31 +12:00
Tim c23d25c3e7 fix Effect.filterOrFail return type inference (#5082) 2025-06-24 10:49:43 +12:00
Sebastian Lorenz bb77c2eab1 increase timeout for jekyll build (#5073) 2025-06-23 13:39:54 +02:00
Giulio Canti ecc0ba8828 move abort from return type to Filter (#167) 2025-06-23 08:30:14 +02:00
github-actions[bot] a8453a9e6b Version Packages (#5071)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@effect/cluster@0.39.5 @effect/platform-bun@0.70.5 @effect/platform-node-shared@0.40.5 @effect/platform-node@0.86.5 @effect/sql-clickhouse@0.28.5
2025-06-23 14:05:14 +12:00
Tim ff90206fc5 use FIFO queue for shard assignment, to reduce churn (#5070) 2025-06-23 11:57:25 +12:00
Giulio Canti 931ccb87d5 remove ast parameter from SchemaGetter / SchemaMiddleware (#166) 2025-06-22 16:18:33 +02:00
Giulio Canti fa3735bad3 simplify Tree formatter messages (#165)
* simplify Tree formatter

* add transformation / middleware context

* simplify Tree formatter messages

* chore

* chore
2025-06-22 15:54:03 +02:00
Giulio Canti 7e9142ff34 fix identifier annotation handling (#164)
* improve message system

* refactor Filter signature

* add typeCodecLambda / encodedCodecLambda lambdas

* fix decodeUnknownResult signature

* handle message annotation in InvalidType

* latest zod

* rename formatters

* i18next examples

* Message as function

* fix None value management

* simplify

* shorten default messages

* fix structured formatter bug

* remove useless field

* add AnyOf issue

* remove annotations from Pointer issue

* refactor formatters

* formatSystemMessage

* docs

* add annotations parameters to all checks

* fix identifier annotation
2025-06-21 16:38:06 +02:00
Sebastian Lorenz f325caa3e0 fix cron tests (#5065) 2025-06-21 12:14:16 +02:00
github-actions[bot] 79f49fd3a5 Version Packages (#5057)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@effect/ai-anthropic@0.9.5 @effect/ai-openai@0.22.4 @effect/ai@0.19.4 @effect/cluster@0.39.4 @effect/platform-bun@0.70.4 @effect/platform-node-shared@0.40.4 @effect/platform-node@0.86.4 @effect/rpc@0.62.4 @effect/sql-clickhouse@0.28.4 @effect/workflow@0.2.4
2025-06-19 17:20:09 +12:00
Tim a8d99b2ec2 add support for mcp 2025-06-18 (#5056) 2025-06-19 17:17:56 +12:00
github-actions[bot] 0ec20120da Version Packages (#5054)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@effect/platform-node-shared@0.40.3 @effect/ai-anthropic@0.9.4 @effect/ai-openai@0.22.3 @effect/ai@0.19.3 @effect/cli@0.64.2 @effect/cluster@0.39.3 @effect/experimental@0.49.2 @effect/opentelemetry@0.51.2 @effect/platform-browser@0.65.2 @effect/platform-bun@0.70.3 @effect/platform-node@0.86.3 @effect/platform@0.85.2 @effect/rpc@0.62.3 @effect/sql-clickhouse@0.28.3 @effect/sql-d1@0.36.2 @effect/sql-drizzle@0.37.2 @effect/sql-kysely@0.34.2 @effect/sql-libsql@0.28.2 @effect/sql-mssql@0.39.2 @effect/sql-mysql2@0.39.2 @effect/sql-pg@0.39.2 @effect/sql-sqlite-bun@0.39.2 @effect/sql-sqlite-do@0.16.2 @effect/sql-sqlite-node@0.39.2 @effect/sql-sqlite-react-native@0.41.2 @effect/sql-sqlite-wasm@0.39.2 @effect/sql@0.38.2 @effect/workflow@0.2.3
2025-06-19 12:49:59 +12:00
Tim 914a191e7c fix retrieval of HttpApiSchema.param annotations (#5053) 2025-06-19 12:39:36 +12:00
Giulio Canti bfcdbadfb2 rename derive (#163)
* Literals.mapMembers

* Struct.mapFields

* Tuple.mapElements

* Union.mapMembers

* add test helper
2025-06-18 07:36:00 +02:00
Giulio Canti aca4cabb28 rename map to derive (#162) 2025-06-17 17:38:52 +02:00
github-actions[bot] 67dc27031d Version Packages (#5052)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@effect/ai-anthropic@0.9.3
2025-06-17 08:06:11 -04:00
Maxwell Brown 0945c0d0a2 Fix the generated Anthropic OpenAPI schemas (#5051) 2025-06-17 08:00:34 -04:00
github-actions[bot] 9500339c32 Version Packages (#5050)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@effect/ai-anthropic@0.9.2 @effect/ai-openai@0.22.2 @effect/ai@0.19.2 @effect/cluster@0.39.2 @effect/platform-bun@0.70.2 @effect/platform-node-shared@0.40.2 @effect/platform-node@0.86.2 @effect/rpc@0.62.2 @effect/sql-clickhouse@0.28.2 @effect/workflow@0.2.2
2025-06-17 18:11:36 +12:00
Giulio Canti 4fcf3be2df Add validation to ensure literals are finite numbers in LiteralType (#161) 2025-06-17 07:47:55 +02:00
Tim ddfd1e43db fix RpcClient payload for tagged requests (#5049) 2025-06-17 17:08:42 +12:00
github-actions[bot] f2981c0520 Version Packages (#5048)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
effect@3.16.8 @effect/ai-anthropic@0.9.1 @effect/ai-openai@0.22.1 @effect/ai@0.19.1 @effect/cli@0.64.1 @effect/cluster@0.39.1 @effect/experimental@0.49.1 @effect/opentelemetry@0.51.1 @effect/platform-browser@0.65.1 @effect/platform-bun@0.70.1 @effect/platform-node-shared@0.40.1 @effect/platform-node@0.86.1 @effect/platform@0.85.1 @effect/printer-ansi@0.44.8 @effect/printer@0.44.8 @effect/rpc@0.62.1 @effect/sql-clickhouse@0.28.1 @effect/sql-d1@0.36.1 @effect/sql-drizzle@0.37.1 @effect/sql-kysely@0.34.1 @effect/sql-libsql@0.28.1 @effect/sql-mssql@0.39.1 @effect/sql-mysql2@0.39.1 @effect/sql-pg@0.39.1 @effect/sql-sqlite-bun@0.39.1 @effect/sql-sqlite-do@0.16.1 @effect/sql-sqlite-node@0.39.1 @effect/sql-sqlite-react-native@0.41.1 @effect/sql-sqlite-wasm@0.39.1 @effect/sql@0.38.1 @effect/typeclass@0.35.8 @effect/vitest@0.23.8 @effect/workflow@0.2.1
2025-06-17 12:26:47 +12:00
Tim 8cb98d53e6 ensure Stream.toReadableStream ignores empty chunks (#5047) 2025-06-17 10:58:06 +12:00
Tim db2dd3c3a8 ignore ReadableStream defect in bun due to controller bug (#5046) 2025-06-17 10:51:57 +12:00
Giulio Canti d26de26a2a Fields / Elements / Members Mapping (#160)
* refactor Struct

* add evolveKeys

* add evolveEntries

* docs

* add struct lambda

* implement map / mapPick

* docs

* improve AST formatting

* add Tuple.map

* add Union.map

* add Literals.map & docs

* fix example

* add tuple pick / omit

* test opaque structs

* add Struct.mapOmit, Tuple.mapPick, Tuple.mapOmit

* add Apply type-level helper

* remove code duplications

* chore

* add renameKeys

* add renameIndices

* simplify EntryEvolved

* add Schema.encodeKeys
2025-06-16 16:38:52 +02:00
github-actions[bot] 6b13a4953f Version Packages (#5043)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@effect/sql-drizzle@0.37.0 @effect/sql-kysely@0.34.0 @effect/ai-anthropic@0.9.0 @effect/ai-openai@0.22.0 @effect/ai@0.19.0 @effect/cli@0.64.0 @effect/cluster@0.39.0 @effect/experimental@0.49.0 @effect/opentelemetry@0.51.0 @effect/platform-browser@0.65.0 @effect/platform-bun@0.70.0 @effect/platform-node-shared@0.40.0 @effect/platform-node@0.86.0 @effect/platform@0.85.0 @effect/rpc@0.62.0 @effect/sql-clickhouse@0.28.0 @effect/sql-d1@0.36.0 @effect/workflow@0.2.0 @effect/sql-libsql@0.28.0 @effect/sql-mssql@0.39.0 @effect/sql-mysql2@0.39.0 @effect/sql-pg@0.39.0 @effect/sql-sqlite-bun@0.39.0 @effect/sql-sqlite-do@0.16.0 @effect/sql-sqlite-node@0.39.0 @effect/sql-sqlite-react-native@0.41.0 @effect/sql-sqlite-wasm@0.39.0 @effect/sql@0.38.0
2025-06-16 11:12:19 +12:00
Tim b7cc5c7b6b simplify and increase rebalance rate for ShardManager (#5044) 2025-06-16 11:04:24 +12:00
Tim 93687ddbb2 HttpApiBuilder handler improvements (#5042) 2025-06-16 10:19:41 +12:00