Tim and Maxwell Brown
3131f8fd12
refactor of @effect/cluster packages ( #4497 )
...
Co-authored-by: Maxwell Brown <maxwellbrown1990@gmail.com >
2025-03-20 10:46:37 +01:00
Vincent François and Tim
ab957c1fee
Make TestClock.setTime accept a DateTime.Input ( #4512 )
...
Co-authored-by: Tim <hello@timsmart.co >
2025-03-20 10:46:37 +01:00
Tim
aba2d1d831
@effect/rpc 3rd revision ( #4362 )
2025-03-20 10:46:37 +01:00
Tim
26dd75f276
add LayerMap module ( #4441 )
2025-03-20 10:46:37 +01:00
Laure Retru-Chavastel
35db9ce228
Add Effect.transposeMapOption ( #4597 )
2025-03-20 10:46:37 +01:00
Vincent François and Tim
1f47e4e125
Add DateTime.nowAsDate ( #4511 )
...
Co-authored-by: Tim <hello@timsmart.co >
2025-03-20 10:46:37 +01:00
Laure Retru-Chavastel
c7fac0cd7e
Add Hashmap.every ( #4513 )
2025-03-20 10:46:37 +01:00
Tim
04dff2d01a
add Tracer Span.addLinks, for dynamically linking spans ( #4465 )
2025-03-20 10:46:37 +01:00
Tim
4191918a27
fix assert in Array.window example
2025-03-20 10:46:37 +01:00
Federico Biccheddu
cf77ea9ab4
feat: add Array.window ( #4477 )
2025-03-20 10:46:37 +01:00
Vincent François
ffaa3f3969
Add Either.transposeOption ( #4466 )
2025-03-20 10:46:37 +01:00
Vincent François and Tim
baaab60b73
Make runtime run sync dual ( #4374 )
...
Co-authored-by: Tim <hello@timsmart.co >
2025-03-20 10:46:37 +01:00
github-actions[bot]
27e56d8353
Version Packages ( #4612 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@effect/platform@0.79.4
@effect/ai-anthropic@0.2.4
@effect/ai-openai@0.15.4
@effect/ai@0.12.4
@effect/cli@0.58.4
@effect/cluster-browser@0.22.4
@effect/cluster-node@0.29.4
@effect/cluster-workflow@0.27.4
@effect/cluster@0.28.4
@effect/experimental@0.43.4
@effect/platform-browser@0.58.4
@effect/platform-bun@0.59.4
@effect/platform-node-shared@0.29.4
@effect/platform-node@0.75.4
@effect/rpc-http@0.52.4
@effect/rpc@0.54.4
@effect/sql-clickhouse@0.17.4
@effect/sql-d1@0.30.4
@effect/sql-drizzle@0.31.4
@effect/sql-kysely@0.28.4
@effect/sql-libsql@0.22.4
@effect/sql-mssql@0.33.4
@effect/sql-mysql2@0.33.4
@effect/sql-pg@0.33.4
@effect/sql-sqlite-bun@0.33.4
@effect/sql-sqlite-do@0.10.4
@effect/sql-sqlite-node@0.33.4
@effect/sql-sqlite-react-native@0.35.4
@effect/sql-sqlite-wasm@0.33.4
@effect/sql@0.32.4
2025-03-20 10:40:09 +01:00
Maxim Khramtsov
5f1fd15308
Url improvements ( #4615 )
2025-03-19 11:18:09 +01:00
Giulio Canti
8bb1460c82
HttpApiEndpoint: add missing head and options constructors, closes #4613 ( #4614 )
2025-03-19 10:54:06 +01:00
Tim
566236361e
update ai Generated schemas ( #4592 )
2025-03-18 10:37:36 +01:00
github-actions[bot]
596e051b0c
Version Packages ( #4608 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@effect/sql-clickhouse@0.17.3
@effect/ai-anthropic@0.2.3
@effect/ai-openai@0.15.3
@effect/ai@0.12.3
@effect/cli@0.58.3
@effect/cluster-browser@0.22.3
@effect/cluster-node@0.29.3
@effect/cluster-workflow@0.27.3
@effect/cluster@0.28.3
@effect/experimental@0.43.3
@effect/opentelemetry@0.44.12
@effect/platform-browser@0.58.3
@effect/platform-bun@0.59.3
@effect/platform-node-shared@0.29.3
@effect/platform-node@0.75.3
@effect/platform@0.79.3
@effect/printer-ansi@0.41.12
@effect/printer@0.41.12
@effect/rpc-http@0.52.3
@effect/rpc@0.54.3
@effect/sql-d1@0.30.3
@effect/sql-drizzle@0.31.3
@effect/sql-kysely@0.28.3
@effect/sql-libsql@0.22.3
@effect/sql-mssql@0.33.3
@effect/sql-mysql2@0.33.3
@effect/sql-pg@0.33.3
@effect/sql-sqlite-bun@0.33.3
@effect/sql-sqlite-do@0.10.3
@effect/sql-sqlite-node@0.33.3
@effect/sql-sqlite-react-native@0.35.3
@effect/sql-sqlite-wasm@0.33.3
@effect/sql@0.32.3
@effect/typeclass@0.32.12
@effect/vitest@0.19.10
effect@3.13.12
2025-03-17 18:15:11 +01:00
Giulio Canti
0c4803fcc6
Preserve specific annotations when using Schema.typeSchema, closes #4609 ( #4610 )
2025-03-17 17:58:49 +01:00
Giulio Canti
6f65ac4eac
Add support for jsonSchema annotations on SymbolFromSelf index si… ( #4607 )
2025-03-16 17:19:48 +01:00
Michael Arnaldi
07688cb530
fix retry and repeat considering schedule with an error ( #67 )
...
* fix retry and repeat considering schedule with an error
* fix
2025-03-16 16:38:41 +01:00
Tim
18714818ae
Queue capacity 0 wip
2025-03-16 12:35:05 +01:00
Tim
4928ba6d00
fix Queue unsafeTake with capacity 0
2025-03-16 12:29:41 +01:00
Michael Arnaldi
ff4dedf9b3
add examples, rename async to callback in stream and channel ( #65 )
...
* silence rollup warning related to fast-check
* remove cjs build
* add examples, update Stream.async naming
2025-03-16 12:08:12 +01:00
Michael Arnaldi
9ecea17ac0
Re-export tracing refs ( #64 )
2025-03-15 22:09:35 +01:00
github-actions[bot]
36cf6f3fd0
Version Packages ( #4588 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@effect/sql-sqlite-bun@0.33.2
effect@3.13.11
@effect/ai-anthropic@0.2.2
@effect/ai-openai@0.15.2
@effect/ai@0.12.2
@effect/cli@0.58.2
@effect/cluster-browser@0.22.2
@effect/cluster-node@0.29.2
@effect/cluster-workflow@0.27.2
@effect/cluster@0.28.2
@effect/experimental@0.43.2
@effect/opentelemetry@0.44.11
@effect/platform-browser@0.58.2
@effect/platform-bun@0.59.2
@effect/platform-node-shared@0.29.2
@effect/platform-node@0.75.2
@effect/platform@0.79.2
@effect/printer-ansi@0.41.11
@effect/printer@0.41.11
@effect/rpc-http@0.52.2
@effect/rpc@0.54.2
@effect/sql-clickhouse@0.17.2
@effect/sql-d1@0.30.2
@effect/sql-drizzle@0.31.2
@effect/sql-kysely@0.28.2
@effect/sql-libsql@0.22.2
@effect/sql-mssql@0.33.2
@effect/sql-mysql2@0.33.2
@effect/sql-pg@0.33.2
@effect/sql-sqlite-do@0.10.2
@effect/sql-sqlite-node@0.33.2
@effect/sql-sqlite-react-native@0.35.2
@effect/sql-sqlite-wasm@0.33.2
@effect/sql@0.32.2
@effect/typeclass@0.32.11
@effect/vitest@0.19.9
2025-03-15 16:46:51 +01:00
Michael Arnaldi
faad354e1f
avoid pulling in the tracer and native span unless needed ( #63 )
2025-03-15 13:18:58 +01:00
Michael Arnaldi
b584b83ecc
Fix tracer context and cache ( #61 )
...
* fix stm bundle
* remove leftover
* add unsafeEnd
* remove trace middleware
* cache span
2025-03-15 12:58:55 +01:00
Giulio Canti
39c42c4bfb
update schema to latest ( #62 )
2025-03-15 09:32:41 +01:00
Giulio Canti
4296293049
Fix issue with generic filters when generating arbitraries, closes #4605 ( #4606 )
2025-03-15 07:26:10 +01:00
Giulio Canti
be12983bc7
Add support for refinements to Schema.omit, closes #4603 ( #4604 )
2025-03-14 16:14:51 +01:00
Michael Arnaldi
ca3b06a0bd
Add executionMode to scheduler, give access to scheduler in callback, rename async to callback ( #60 )
2025-03-14 12:47:21 +01:00
Michael Arnaldi
9e04f5d956
Remove GlobalValue and Structural Region ( #59 )
2025-03-14 11:16:44 +01:00
Michael Arnaldi and Tim
a526493f67
Examples & forEach perf fix ( #58 )
...
* Improve batching example
* perf fixes
* remove setInterval from batch.ts
* improve layer example
* use bench utility in batch example
---------
Co-authored-by: Tim <hello@timsmart.co >
2025-03-14 10:43:22 +01:00
Giulio Canti
fad8cca9bb
Schema: enhance the internal formatUnknown function to handle vario… ( #4601 )
2025-03-13 18:50:08 +01:00
Giulio Canti
2e4277e0c8
Refactor jsdocs (Array, Effect modules + typeclass package) ( #4599 )
2025-03-13 16:00:46 +01:00
Giulio Canti
46f847993c
Update docgen to latest version ( #4598 )
2025-03-13 15:23:47 +01:00
Michael Arnaldi
97223b3dc1
Remove provideServiceScoped ( #56 )
2025-03-13 13:14:45 +01:00
Michael Arnaldi and Giulio Canti
d7d0758837
add schema (step 1) ( #45 )
...
* add schema
* add zod example
* rename ParseResult to SchemaResult
---------
Co-authored-by: Giulio Canti <giulio.canti@gmail.com >
2025-03-13 13:14:34 +01:00
Michael Arnaldi
64c60cbc38
Revert to explicit Scope ( #55 )
2025-03-13 13:02:25 +01:00
Nico André
389dca2c59
Update README examples using @effect/rpc-http/HttpRpcRouter ( #4594 )
2025-03-13 10:45:37 +13:00
Giulio Canti
de88127a5a
Schema: export Field type ( #4593 )
2025-03-12 11:08:07 +01:00
Maxwell Brown
082b0c1b9f
Improve clarity of TimeoutException error message ( #4591 )
2025-03-11 17:22:15 -04:00
Giulio Canti
1b41820deb
Schema: export IndexSignature.Type type ( #4590 )
2025-03-11 22:06:39 +01:00
Giulio Canti
9c241abe47
Schema: simplify Struct and Record return types ( #4587 )
2025-03-11 17:38:16 +01:00
Giulio Bracci
edd9ba7629
fix: unnecessary as type cohercion in Either.fromNullable ( #4586 )
2025-03-11 16:41:19 +01:00
github-actions[bot]
cfbf1b59b0
Version Packages ( #4584 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@effect/sql-sqlite-do@0.10.1
@effect/sql-d1@0.30.1
@effect/rpc-http@0.52.1
@effect/printer@0.41.10
@effect/printer-ansi@0.41.10
@effect/vitest@0.19.8
@effect/typeclass@0.32.10
@effect/platform-node-shared@0.29.1
@effect/sql@0.32.1
@effect/sql-sqlite-wasm@0.33.1
@effect/sql-sqlite-react-native@0.35.1
@effect/sql-sqlite-node@0.33.1
@effect/sql-sqlite-bun@0.33.1
@effect/sql-pg@0.33.1
@effect/sql-mysql2@0.33.1
@effect/sql-mssql@0.33.1
@effect/sql-libsql@0.22.1
@effect/sql-kysely@0.28.1
@effect/rpc@0.54.1
@effect/sql-drizzle@0.31.1
@effect/sql-clickhouse@0.17.1
@effect/ai-openai@0.15.1
@effect/platform@0.79.1
@effect/ai@0.12.1
@effect/cli@0.58.1
@effect/cluster-browser@0.22.1
@effect/cluster-node@0.29.1
@effect/cluster-workflow@0.27.1
@effect/ai-anthropic@0.2.1
@effect/cluster@0.28.1
effect@3.13.10
@effect/experimental@0.43.1
@effect/opentelemetry@0.44.10
@effect/platform-browser@0.58.1
@effect/platform-bun@0.59.1
@effect/platform-node@0.75.1
2025-03-11 10:19:34 +01:00
Giulio Canti
e5b16fd5c4
Skip flaky test for mutually suspended schemas ( #4585 )
2025-03-11 09:51:25 +01:00
Michael Arnaldi
948ae599d6
Fix withFiber type, remove withFiberUnknown ( #54 )
2025-03-11 09:17:25 +01:00
Giulio Canti
527c964522
Allow toString Method to Be Overridden in Schema Classes, closes #4577 ( #4578 )
2025-03-11 09:07:17 +01:00
Michael Arnaldi and Tim
3a03c16f84
Experiment making STM a plain Effect ( #50 )
...
* Experiment making STM a plain Effect
* improve naming and structure
* commit only on clean exit
* improve
* make nested tx compose
* move retry to defects
* improve naming, handle interruption on awaitPendingTxJournal
* unify import
* use async return instead of onInterrupt
* schedule individual pending
* avoid intermediate array
* improve example
* add concurrency to example
* separate journaled and transaction
* add docs, improve naming, switch to interrupt for retry
* unify atomic and transaction
* fix return
* add bundle test
* use forkScoped in bundle test
* avoid unnecessary boxing
* improve perf
* fix jsdoc
* make tag more unique
* transaction play (#51 )
---------
Co-authored-by: Tim <hello@timsmart.co >
2025-03-11 08:26:25 +01:00