Tim
730e65cca4
smaller subscribe and fiberInterruptAll ( #48 )
...
* smaller subscribe and fiberInterruptAll
* wip
2025-02-06 20:17:42 +13:00
Giulio Canti
2b37d8efff
remove unnecessary type assertion in Effect.forEach definition ( #4407 )
2025-02-05 15:54:38 +01:00
Giulio Canti
82518c13ad
internal: replace eitherOrUndefined API usage with isEither in `P… ( #4406 )
2025-02-05 15:33:28 +01:00
Giulio Canti
33fa667c26
Duration: fix format output when the input is zero ( #4403 )
2025-02-05 14:38:45 +01:00
Giulio Canti
066ee0da9e
expose internal Effect.either ( #46 )
2025-02-05 14:32:38 +01:00
Jon Powers and Tim
57d1623d78
Add LoggerProvider support to @effect/opentelemetry ( #4371 )
...
Co-authored-by: Tim <hello@timsmart.co >
2025-02-05 13:44:14 +13:00
Chris Wilkinson
4dbd170538
Make Array.makeBy dual ( #4397 )
2025-02-04 18:56:40 +01:00
Giulio Canti
fa8a02941e
Schema: add additional tests for effectful transformations ( #4398 )
2025-02-04 18:52:08 +01:00
Giulio Canti
81dd6a5d01
mark Micro test as flaky (with retry option) ( #4396 )
2025-02-04 14:53:20 +01:00
Giulio Canti
e18685d815
update schema benchmarks ( #4395 )
2025-02-04 14:27:36 +01:00
github-actions[bot] and github-actions[bot]
238d638b30
Version Packages ( #4393 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@effect/ai-openai@0.11.3
@effect/rpc@0.50.3
@effect/cli@0.54.3
@effect/cluster-browser@0.18.3
@effect/cluster-node@0.25.3
@effect/cluster-workflow@0.23.3
@effect/cluster@0.24.3
@effect/experimental@0.39.3
@effect/opentelemetry@0.42.9
@effect/platform-browser@0.54.3
@effect/platform-bun@0.55.3
@effect/platform-node-shared@0.25.3
@effect/platform-node@0.71.3
@effect/platform@0.75.3
@effect/printer-ansi@0.40.9
@effect/printer@0.40.9
@effect/rpc-http@0.48.3
@effect/ai@0.8.3
@effect/sql-clickhouse@0.13.3
@effect/sql-drizzle@0.27.3
@effect/sql-d1@0.26.3
effect@3.12.9
@effect/vitest@0.17.5
@effect/typeclass@0.31.9
@effect/sql@0.28.3
@effect/sql-sqlite-wasm@0.29.3
@effect/sql-sqlite-react-native@0.31.3
@effect/sql-sqlite-node@0.29.3
@effect/sql-sqlite-do@0.6.3
@effect/sql-sqlite-bun@0.29.3
@effect/sql-pg@0.29.3
@effect/sql-mysql2@0.29.3
@effect/sql-mssql@0.29.3
@effect/sql-libsql@0.18.3
@effect/sql-kysely@0.24.3
2025-02-04 06:58:00 +01:00
Giulio Canti
1b4a4e904e
Fix internal import in Schema.ts, closes #4391 ( #4392 )
2025-02-04 06:44:58 +01:00
github-actions[bot]
096d254bfe
Version Packages ( #4322 )
@effect/ai@0.8.2
@effect/ai-openai@0.11.2
@effect/cli@0.54.2
@effect/cluster-browser@0.18.2
@effect/cluster-node@0.25.2
@effect/cluster-workflow@0.23.2
@effect/cluster@0.24.2
@effect/experimental@0.39.2
@effect/opentelemetry@0.42.8
@effect/sql-pg@0.29.2
@effect/platform-browser@0.54.2
@effect/platform-bun@0.55.2
@effect/platform-node-shared@0.25.2
@effect/platform-node@0.71.2
@effect/platform@0.75.2
@effect/printer-ansi@0.40.8
@effect/printer@0.40.8
@effect/rpc-http@0.48.2
@effect/rpc@0.50.2
@effect/sql-clickhouse@0.13.2
@effect/sql-d1@0.26.2
@effect/sql-drizzle@0.27.2
@effect/sql-kysely@0.24.2
@effect/sql-libsql@0.18.2
@effect/sql-mssql@0.29.2
@effect/sql-mysql2@0.29.2
@effect/sql-sqlite-bun@0.29.2
@effect/sql-sqlite-do@0.6.2
@effect/sql-sqlite-node@0.29.2
@effect/sql-sqlite-react-native@0.31.2
@effect/sql-sqlite-wasm@0.29.2
@effect/sql@0.28.2
@effect/typeclass@0.31.8
@effect/vitest@0.17.4
effect@3.12.8
2025-02-03 22:24:24 -05:00
Maxwell Brown
f0894708e9
Add GenAI telemetry annotations to AI chat completions ( #4389 )
2025-02-03 20:34:12 -05:00
Maxim Khramtsov
f269122508
A more precise signature has been applied for Effect.schedule ( #4387 )
2025-02-04 08:57:28 +13:00
Maxwell Brown
fcf3b7cc07
Rename correlationId to toolCallId for AI structured outputs ( #4388 )
2025-02-02 09:36:22 -05:00
Maxwell Brown
f5e3b1bcdf
Support non-identified schemas in Completions.structured and AiChat.structured ( #4378 )
2025-02-02 07:53:54 -05:00
Maxwell Brown and Michael Arnaldi
a0c85e6601
Add Embeddings service to the AI integration packages ( #4368 )
...
Co-authored-by: Michael Arnaldi <michael.arnaldi@effectful.co >
2025-02-02 07:52:19 -05:00
Giulio Canti
5a9d78542d
[internal] improve assertions ( #4386 )
2025-02-01 12:49:49 +01:00
Giulio Canti
0275faa38f
Schema: improve handleForbidden implementation with SyncScheduler ( #4385 )
2025-02-01 11:04:11 +01:00
Giulio Canti
5426b2db32
test: add assertions for Option and Cause using node:assert, vitest, … ( #4384 )
2025-02-01 07:55:39 +01:00
Ethan Niser
c9175aef41
Platform: add sync (fsync) ( #4345 )
2025-02-01 18:11:09 +13:00
Vincent François
e374d94778
fix effect vitest layer ( #4382 )
2025-02-01 17:01:58 +13:00
Takeshi
fd92e694ca
Add missing listen example for Bun ( #4383 )
2025-02-01 17:00:31 +13:00
Giulio Canti
dedadf1659
tests: use assertIncludes instead of assertTrue where applicable ( #4381 )
2025-01-31 19:48:31 +01:00
Sebastian Lorenz
c45b5592b5
fix imports ( #4380 )
2025-01-31 19:42:11 +01:00
Sebastian Lorenz
8c23f5ad60
rename to vitest.setup.ts ( #4379 )
2025-01-31 19:04:21 +01:00
Giulio Canti and Sebastian Lorenz
ae8518c980
refactor platform tests ( #4377 )
...
Co-authored-by: Sebastian Lorenz <fubhy@fubhy.com >
2025-01-31 18:50:59 +01:00
Giulio Canti
d1a5b43aca
Tests: remove deprecated adapter, closes #3072 ( #4372 )
2025-01-31 11:46:23 +01:00
Giulio Canti
aa26d9b446
Simplify internal/cause.ts by using the internal Option.mergeWith ( #4369 )
2025-01-31 06:36:06 +01:00
Giulio Canti
72f09dc58b
Refactor spanSymbol usage to ensure consistent internal access ( #4367 )
2025-01-30 19:40:04 +01:00
Giulio Canti
c180a67ea6
internal: add a few 4.0 todos ( #4366 )
2025-01-30 19:30:16 +01:00
Giulio Canti
207491b208
internal: add SchemaTest utils ( #4365 )
2025-01-30 19:14:11 +01:00
Sebastian Lorenz and Giulio Canti
766113c0ea
Fix handling of hrtime in Duration.decode ( #4341 )
...
Co-authored-by: Giulio Canti <giulio.canti@gmail.com >
2025-01-30 16:55:39 +01:00
Sebastian Lorenz
fe0e4e8b3d
remove regex index reset in Duration.decode ( #4348 )
2025-01-30 13:05:56 +01:00
Giulio Canti
6f1c3d7b45
Enhance test reliability by using node:assert ( #4350 )
2025-01-30 12:56:50 +01:00
Michael Arnaldi
8bdb19b5e8
Fix forkIn when scope is empty ( #44 )
2025-01-30 12:22:10 +01:00
Michael Arnaldi
769e5b953b
Extract functions from scope ( #43 )
...
* Extract functions from scope
* Apply middleware strategy to scope close
* Add check that default scope is never created
* extract close
* make close type safe
2025-01-29 21:33:25 +13:00
Maxwell Brown
bb05fb8345
Ensure nested configs can be loaded from env file ( #4360 )
2025-01-29 17:25:58 +13:00
Giulio Canti
7437058771
Refactor zod comparison and add URLs section, closes #4346 ( #4358 )
2025-01-28 11:11:49 +01:00
Maxwell Brown
7b03057507
Expose Schedule.isSchedule ( #4344 )
2025-01-28 10:19:12 +01:00
Tim
62934fc61a
optimize streaming response for NodeHttpServer ( #4354 )
2025-01-28 15:00:46 +13:00
Tim
8f6006a610
fix HttpServerRequest.arrayBuffer for bun & web handlers ( #4353 )
2025-01-28 13:48:09 +13:00
Tim
9172efba98
optimize Stream.toReadableStream ( #4352 )
2025-01-28 13:45:46 +13:00
Tim
430c846cba
fix Layer.scope types to correctly use the Scope tag identifier ( #4351 )
2025-01-28 12:03:11 +13:00
Michael Arnaldi
cc3a2c3254
Make Scope Implicit ( #42 )
2025-01-28 10:35:59 +13:00
Michael Arnaldi
d1ec91dd93
Make Reference<X> a valid Tag<never, X> ( #41 )
2025-01-28 09:15:40 +13:00
Maxwell Brown
3f60cae09b
Upgrade dependencies ( #40 )
...
* upgrade dependencies
* fix types
2025-01-26 20:07:20 -05:00
Giulio Canti
502223adf1
Cause: add jsdocs and tests ( #4340 )
2025-01-25 11:21:29 +01:00
Giulio Canti
59b3cfbbd5
Cookies: unsafeMakeCookie and unsafeSetAll now throw a more infor… ( #4334 )
2025-01-25 09:06:04 +01:00