Commit Graph
12205 Commits
Author SHA1 Message Date
Eva 17b515844a Fixed type-error in @effect/cli README.md (#4209) 2025-01-06 14:32:00 -05:00
Maxwell Brown 2ccec21c01 Add remaining methods to TestClock (#20)
* add remaining methods to TestClock

* add additional assertion
2025-01-05 08:53:29 -05:00
Giulio Canti 90fc632f46 fix BigDecimal.unsafeFromNumber jsdoc (#4214) 2025-01-05 14:20:25 +01:00
Maxim KhramtsovandGiulio Canti b63c780108 Refine Effect.validateAll return type to use NonEmptyArray for errors (#4212)
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
2025-01-05 13:30:02 +01:00
Tim bc7dac0663 fix circular dep 2025-01-05 21:12:18 +13:00
Tim 8a1e46ec57 add missing layer file 2025-01-05 20:59:58 +13:00
Tim 8d8ecf0609 Effect.provide + test layer helper 2025-01-05 20:53:52 +13:00
Tim e1bfd619ef add logs to spans as events 2025-01-05 13:24:21 +13:00
github-actions[bot]andgithub-actions[bot] 60620418eb Version Packages (#4191)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@effect/cli@0.51.1 effect@3.12.1 @effect/ai@0.5.1 @effect/ai-openai@0.8.1 @effect/cluster-browser@0.15.1 @effect/cluster-node@0.22.1 @effect/cluster-workflow@0.20.1 @effect/cluster@0.21.1 @effect/experimental@0.36.1 @effect/opentelemetry@0.42.1 @effect/platform-browser@0.51.1 @effect/platform-bun@0.52.1 @effect/platform-node-shared@0.22.1 @effect/platform-node@0.68.1 @effect/platform@0.72.1 @effect/printer-ansi@0.40.1 @effect/printer@0.40.1 @effect/rpc-http@0.45.1 @effect/rpc@0.47.1 @effect/sql-clickhouse@0.10.1 @effect/sql-d1@0.23.1 @effect/sql-drizzle@0.24.1 @effect/sql-kysely@0.21.1 @effect/sql-libsql@0.15.1 @effect/sql-mssql@0.26.1 @effect/sql-mysql2@0.26.1 @effect/sql-pg@0.26.1 @effect/sql-sqlite-bun@0.26.1 @effect/sql-sqlite-do@0.3.1 @effect/sql-sqlite-node@0.26.1 @effect/sql-sqlite-react-native@0.28.1 @effect/sql-sqlite-wasm@0.26.1 @effect/sql@0.25.1 @effect/typeclass@0.31.1 @effect/vitest@0.16.1
2025-01-05 08:45:41 +13:00
Giulio Canti 5351dee0bb Refactor platform README (HttpApi docs) and fix examples code (#4211) 2025-01-04 16:34:02 +01:00
Tim 51f9d6173d stream paginate apis 2025-01-04 21:02:19 +13:00
Tim adf138b8f6 revert scratchpad/channel.ts 2025-01-04 20:35:39 +13:00
Tim 4a3c01d299 fix forkIn interruption 2025-01-04 20:33:48 +13:00
Tim e5e40eb02f speed up Effect tests 2025-01-04 20:00:57 +13:00
Tim 0b9f79cdcb simplify TestClock 2025-01-04 19:57:54 +13:00
Tim 2297f8cdbe fix TestClock remaining 2025-01-04 17:47:21 +13:00
Michael Arnaldi 02c5f5c4c9 Use explicit prototype for Fiber (#16) 2025-01-04 16:09:34 +13:00
Tim 61dbbf2832 add runSemaphore 2025-01-04 16:05:06 +13:00
Maxwell Brown 72d33c1980 Add logging (#15) 2025-01-04 15:58:05 +13:00
Maxwell Brown f10c89e171 Add basic workflow for running tests (#19)
* add basic testing workflow

* give token read permissions
2025-01-03 14:49:04 -05:00
Tim 15f2c8af5a layer wip 2025-01-03 23:09:19 +13:00
Tim db40a8bbc6 trim fromBuildMemo 2025-01-03 22:56:30 +13:00
Tim 98abc6f028 add layer (#17)
* add layer

* wip

* wip
2025-01-03 22:25:57 +13:00
Maxwell Brown cc36818bbd Initial work on TestClock (#14)
* initial work on test clock

* simplify getting live clock

* fix doc string

* remove unnecessary assignment

* use Effect module instead of core
2025-01-03 08:38:33 +13:00
Giulio Canti fda8ef777a Logger: eliminate duplicate code in stringLogger and logFmtLogger imp… (#4199) 2025-01-02 12:10:07 +01:00
Giulio Canti e61f38c5d2 Effect jsdocs: minor adjustments to interruption APIs (#4208) 2025-01-01 16:51:47 +01:00
Tim 6a0ca8d134 Revert "move keepAlive to fiber yields"
This reverts commit da0f24a6b8.
2025-01-01 22:33:01 +13:00
Tim da0f24a6b8 move keepAlive to fiber yields 2025-01-01 11:17:19 +13:00
Tim 83a0b495f4 simplify never 2025-01-01 11:03:51 +13:00
Michael ArnaldiandTim 31834c5a90 Keep process alive when fibers are running (#13)
* Keep process alive when fibers are running

* No longer needing to add a handle in `Effect.never`

* wip

---------

Co-authored-by: Tim <hello@timsmart.co>
2025-01-01 10:41:35 +13:00
Tim a455ff044d remove CompletedRequestMap 2025-01-01 10:25:49 +13:00
Tim 7505bf9efe improve type safety by completing entries instead 2025-01-01 10:21:43 +13:00
Giulio Canti d5008a99b9 update internal namespace import convention from _<name> to <name>_ (#4207) 2024-12-31 16:29:10 +01:00
Giulio Canti d4a0ee8b21 update docgen to latest (#4206) 2024-12-31 15:48:28 +01:00
Giulio Canti cf81b00528 chore: simplify OptionFromNonEmptyTrimmedString implementation (#4205) 2024-12-31 15:31:12 +01:00
Tim 9aaf184cb0 handle duplicate requests 2024-12-31 09:09:31 +13:00
Giulio Canti 914e396442 Effect module: more jsdocs (#4204) 2024-12-30 18:37:30 +01:00
Maxwell Brown c3c103b0f2 fix dual check in Stream.takeUntilEffect (#12) 2024-12-30 09:40:03 -05:00
Tim e71f58b118 wip 2024-12-30 21:37:33 +13:00
Tim dd21a8fb5f optimize request completion 2024-12-30 21:26:42 +13:00
Daniel Rodríguez Rivero 62cfcd8dcf fix(docs): sql insert resolver (#4203) 2024-12-30 14:19:13 +13:00
Tim ba6c713998 use flatten for concat 2024-12-30 13:49:46 +13:00
Maxwell BrownandTim 803542efb7 Add failing test for take (#11)
* add failing test for take

* fix takeUntil done signal

* fix test

* handle take < 1

* use .concat for take short-circuits test

---------

Co-authored-by: Tim <hello@timsmart.co>
2024-12-30 13:24:31 +13:00
Tim 937fd3ad43 add concat apis 2024-12-30 12:50:51 +13:00
Michael Arnaldi 0988083d45 Remove internal EffectError make sure errors are raised with Effect.fail in Effect.try (#4202) 2024-12-29 11:25:35 +01:00
Tim e6ffdc6cce wip 2024-12-29 22:19:05 +13:00
Tim 63c1adfe61 dedupe span links 2024-12-29 21:03:42 +13:00
Tim ff1d237d06 remove _tag from SpanLink 2024-12-29 20:54:39 +13:00
Tim 39137c9feb add tracer middleware in withTracerScoped 2024-12-29 20:51:23 +13:00
Tim 45e8d86c69 expose tracer apis 2024-12-29 20:49:56 +13:00